Questions tagged as 'ionic2'

1
answer

Ionic 2 - Any type variables

I'm having trouble migrating from ionic beta.11 to RC0. Every time I put a constructor expecting the type "any" I get the following error.    ngc error: Error: Error at   /Project/.tmp/app/app.module.ngfactory.ts:456:134: Property 'any' does...
asked by 04.10.2016 / 20:15
1
answer

Problem with typescript + ionic2

Good evening, I have the following problem. I have my project in ionic and in it I created a folder just for the models. app>model (o objetos do meu sistema) > minha-model-a.ts > minha-model-b.ts > minha-model-...
asked by 12.08.2016 / 00:45
0
answers

Failed to receive native Push notifications from Ionic 2

I'm developing an application using Ionic 2 / Angular 2 / Typescript. This application uses the native push notifications plugin of Ionic 2 and Google Cloud Message (GCM) in conjunction with Amazon SNS. The on notification event is often n...
asked by 14.07.2016 / 16:34
1
answer

error in http post

I would like to have the save method in the class itself, and I'm not getting it, I'm a beginner in the typeScript language. import { Injectable } from '@angular/core'; import { Http } from '@angular/http'; @Injectable()...
asked by 10.08.2016 / 17:04
2
answers

How to change page in Ionic V2

Good morning guys, I have a doubt, as a beginner, that I created two pages on Ionic v2 but I do not know how I can navigate between them. Looking at the ionic documentation I saw this navController I adapted the code it gave but it did not work....
asked by 25.05.2017 / 21:52
1
answer

Error requesting via POST

I am sending information to a page on my server via GET through my application, until it is working normally. However, now I need to send an image in base64 format, I believe that sending via POST works fine, but when I try...
asked by 26.11.2017 / 13:32
1
answer

Firebase Cloud Messaging with $ cordovaPush, how to work for iPhone too?

I am emulating my application by Intel XDK for IOS. I use it, by working with Windows and it emulates and gives the error messages very well. The first error is that when the user logs in, he takes the senderID from Cloud Messaging and regist...
asked by 14.08.2017 / 16:30
1
answer

Image can not be loaded into the application

The image appears normal when running in the "ionic serve" but when I squeeze in a device ionic run android --device it can not be loaded, strange that I put an alt in the img tag and can only display the alt, nothing appears. My tag look...
asked by 13.10.2017 / 22:21
2
answers

How to get the cell phone number on the ionic using a cord or phonegap

I'm developing an app and need to get the phone number. I researched a lot on the internet and could not find much. One of the examples I found was this: cordova-plugin-sim but I could not get it to return the number. Here is an example of my...
asked by 13.09.2016 / 16:14
2
answers

Error and MySQL: [ngRepeat: dupes] Duplicates in a repeater are

I am developing an example with IONIC but it is giving the error: ionic.bundle.js:19387 Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: usuario in usuarios, Duplicat...
asked by 03.05.2016 / 00:38