Questions tagged as 'ionic'

4
answers

Factory returns blank result

Good Night. I have a factory with the function all that takes through $ http, an external json, only it is returning blank. Json's address is link angular.module('kibeliciaApp.services', []) .factory('Categorias', function($http) { var cat...
asked by 30.03.2016 / 14:14
1
answer

Error creating platform with Cordova in Ubuntu (ANDROID_HOME is not set and "android")

First of all, I confess that I'm a Linux beginner and I currently use the updated Luna Elementary OS. So it's been really hard for me to sort this out. I was able to install the entire NPM stack (Ionic, Cordova, Angular.js) and quiet Java. Bu...
asked by 07.02.2015 / 05:21
2
answers

How to sum numeric values of an array?

I would like to know how I can get the sum of numeric values inside an array. My case is this, I am building a sales screen, currently I have an array with the products that the user selects to sell, I am displaying them on the screen normally....
asked by 17.09.2018 / 20:34
2
answers

Error opening Ionic App

I created a blank project on Ionic, and by running it with the "ionic server" command, it displays the error below. Nothing has been tweaked in the original design. Typescript Error Subsequent variable declarations must have the same type. Va...
asked by 28.08.2018 / 04:01
1
answer

Group objects by a given key-switch

I have three objects: 0{ conta: "teste", data: "01/01/2018" }, 1{ conta: "teste", data: "01/03/2018" } 2{ conta: "teste2", data: "02/02/2019" } I need to group the objects that have the account with the same name, resulting in:...
asked by 10.08.2018 / 02:26
1
answer

Hide information from an ionic / angular collapse

I have a collapse that works fine, however I need to hide / show the trigger according to the index of that product. What I currently have: Html: <p data-toggle="collapse" attr.data-target="#{{pergunta.id_pergunta}}" (click)="hideInform...
asked by 02.08.2018 / 15:12
2
answers

getVersionNumber () returns me undefined in Ionic

I need to check the application version for validations, the problem is that the promisse getVersionNumber () is returning me undefined. I tried something like: ngOnInit(): void { let versaoApp; this.appVersion.getVersionNumber().th...
asked by 15.08.2018 / 15:20
1
answer

How to detect internet connection on ionic?

I'm using Ionic 3 together with the ionic network plugin, I can detect when it's connected to an internet network by the plugin but I can not check if this connected network is internet or not, does anyone know how I can do this?     
asked by 25.07.2018 / 23:56
2
answers

How to update a field in ionic automatically?

I'm having trouble generating the coordinates in ionic using geolocation . It only works if you press and hold the button that calls the function until the coordinates appear. So I wanted to know how I can get a part of the code to automat...
asked by 22.08.2018 / 16:27
2
answers

Doubt about consuming backend with Spring [closed]

Good morning, I want to start a Spring project with ionic, my goal is to publish the ionic app in the Google store and consume the backend with Springboot, I know you have to consume this backend by Heroku. But I would like to know if uplo...
asked by 14.05.2018 / 14:48