Questions tagged as 'ionic2'

1
answer

* ngFor with angular2

I would like to create a loop of repetition, but in this loop I already have the amount of times it will execute. Below is an example of the expected result using javascript. for(i = 0; i < 5; i++) { console.log( i + 'estrelas!'); }...
asked by 27.04.2016 / 18:54
1
answer

How do I get the result of a JSON where the result is HTML and in Ionic's View render HTML?

I have a JSON where the contents of some fields are HTML, I would like to display the HTML in the view of Ionic already rendered. This is JSON: [{"data":"2018-09-05","categoria":"1","desafio":" \r\n Burp 20x1<\/li>\r\n Teste 30x4<\...
asked by 05.09.2018 / 19:05
1
answer

How to get specific return data from a JSON with Ionic 3

I think it's simple, but going from Ionic 1 to 3, changed so many things. I need to get all the returns from my Json from this routine (I actually need the user ID and register in localstorage): submit(){ var email = this.data.email;...
asked by 20.07.2018 / 16:20
1
answer

Ionic 3 error compiling for Android: Error: Failed to transpile program

When I give the command: ionic cordova build android --debug It gives the following error, but in ionic serve normal wheel ... what am I doing wrong? Error: Failed to transpile program at new BuildError (C:\wellfitapp\node_modu...
asked by 02.04.2018 / 23:41
1
answer

How to read the result of a JSON Array using Ionic 3?

I'm doing a GET to login, however I need to get the user ID for the session too: submit(){ var link = 'http://localhost:1337/usuario?email='+ this.usuario.email + '&senha='+ this.usuario.senha; var data = JSON.stringify({ email: t...
asked by 29.03.2018 / 18:47
1
answer

ionic 3 - AdMob is experiencing an error while placing it in APP

When I put AdMob in my ionic application it looks like the picture below: What would be the mistake to not be showing ads? Code I use: displayBanner() { if (this.platform.is('cordova')) { const bannerConfig: AdMobFreeBannerConfig = {...
asked by 24.02.2018 / 14:18
1
answer

Shopping List ionic [closed]

Good night, guys. I'm making an application by ionic that consists of a cash register. The customer selects the item that will buy and at the end the total value of the purchase appears, but I have no idea where it starts. Anyone have any ide...
asked by 26.11.2017 / 00:00
1
answer

Login security and authentication in Ionic 3 using access token generated by PHP

I'm developing an application where the user can login by providing their email and password. After that, I make a request to my server PHP that checks in the database if the data exists and are correct (if yes, returns a status = true...
asked by 27.11.2017 / 20:31
1
answer

How to check the console of an ionic application running on your smartphone

How can I open the console of an application running on a device? I would like to review the logs that I put in the application.     
asked by 22.11.2017 / 12:38
1
answer

Post app ionic browser

An ionic 2 app has been developed here in the company I work for, but one of the clients it is using would like to use it on the desktop (via browser). How and what files do I need to use to publish this app on the internet?     
asked by 14.11.2017 / 10:33