Questions tagged as 'ionic2'

1
answer

Array in Ionic json file

I have the following JSON document "descritores": [{ "descritor": "texto..", "resultado": [{ "MediaTotal": "81,16" }, { "MediaTotal": "81,16" } ]...
asked by 13.10.2017 / 17:17
2
answers

How to declare IF on Ionic

I have the following code, it checks the value of _meditaTotal if it is greater than 70 the variable icon receives 'green' if it is less than 70 and greater than 50 variable icon receives 'yellow' and if it is less than 50 variable icone gets 'r...
asked by 21.10.2017 / 21:57
1
answer

Uncaught ReferenceError: vira1 is not defined

I am creating a function but when it is called says that it has not been defined yet, what would be the reason? import { Component } from '@angular/core'; import { NavController, NavParams } from 'ionic-angular'; @Component({ select...
asked by 15.10.2017 / 09:11
1
answer

White screen Ionic v2

I'm making an application using ionic v2 and it's working fine, my problem is that when I generate for production -> ionic cordoa build android --prod. On some phones, it starts to give White Screen. Has anyone experienced something similar o...
asked by 29.09.2017 / 18:57
1
answer

Consume REST IONIC3

Hello, I am new to the web and Ionic3 and I have a problem, I followed a tutorial to consume a rest API, I was able to bring the list with the users, however I am trying to bring a specific user and show it on screen if I I change the URL to the...
asked by 14.09.2017 / 21:54
1
answer

Problems with IONIC 2 in various aspects

The big question is: What happened to IONIC after the updates. A few months ago I started a project with IONIC 2 for a client. Due to some of my mishaps and the client's part too, the project made a stop. However, we are now back to active an...
asked by 14.07.2017 / 05:00
1
answer

"Maximum call stack size exceeded" error when instantiating object

I have the following classes in an Ionic 2 app export class JobIteractionsModel { public _idJob: number; get idJob() { return this._idJob } set idJob(idJob: number) { this._idJob = idJob } public _dataHoraInicio: Date; ge...
asked by 05.07.2017 / 12:08
1
answer

Save token that comes in the response of Api

I'm trying to save the token that my server sends on every request. Although apparently "Authorization" is present in the response, I can not print the value. The code is: Whatisreturnedfromtheserver: WhatIcanprinttotheconsole: OntheserverI'...
asked by 25.04.2017 / 22:51
1
answer

Error trying to run the app with ionic serve

When trying to run the app with ionic it serves this giving the following error: > ionic-hello-world@ ionic:serve D:\www\mobile\app > ionic-app-scripts serve "--v2" "undefined" "--address" "0.0.0.0" "--port" "810 0" "--livereload-port" "...
asked by 10.06.2017 / 17:25
1
answer

Failed to run ionic server

Good afternoon, I'm trying to run the ionic serves right after creating the project without even tinkering with anything and always comes the same fault. I do not know what to try anymore. When I run the "ionic serve" command it brings me...
asked by 28.03.2017 / 20:25