Questions tagged as 'ionic3'

1
answer

Function does not arrive at the endpoint - Ionic 3 + API NodeJS

In an app in Ionic 3 I have this function validateCupom () which when called sends a GET to, in case it has return 200 (OK), then calls the other function setConfig (). Belowisthefunctionthatneedstobecalledifthefirstonesucceeds. Attheend,the...
asked by 18.11.2018 / 08:57
0
answers

Problems using digital login - Ionic

I'm developing an app, and wanted to do the fingerprint login form. But nothing is working. Code: in the constructor: this.fingerprintOptions = { clientId: 'userId', clientSecret: 'senha', disableBackup: true } No login.ts async...
asked by 16.11.2018 / 20:29
0
answers

Loop taking only the first IONIC record 3

I need to compare the offline records individually, with the records of my webservice, if it exists it does Update, otherwise it does Insert. But my SQL query only gets on the first record, and it is falling on my IF and Else simultaneously. Her...
asked by 27.11.2018 / 14:26
0
answers

Problems generating apk - Ionic + Firebase

Well, I'm developing an app with ionic 3 and Firebase (RealTime bank). Everything was happening normally. When I installed firebase-admin, it "broke" several errors. How should I proceed ? Here are the errors below: Error: Failed to transpi...
asked by 12.11.2018 / 19:19
1
answer

I can not add OverlayView

I need to add a OverlayView to a map in a Ionic3 project. The Google tutorial was used as the basis: Add Custom OverlayView The code used is a TypeScript adaptation that I found by searching. Code: declare var...
asked by 11.11.2018 / 17:32
2
answers

How to prevent an addEventListener from running multiple times in a function?

I will explain my situation. I have a function that displays a particular ad to the user in the application. After viewing this ad, I call an addEventListener, which passes a CLOSE event. After this CLOSE event is triggered, the user is rewarded...
asked by 12.11.2018 / 11:48
2
answers

Change text color on ionic

I'm making an application with the black background, so the letters need to be white. Is there any global variable to change the whole text at once, instead of changing each page at a time?     
asked by 03.11.2018 / 18:16
1
answer

Ionic 3, carousel of cards with image and title

I've been initiating ionic in a short time, creating an application, which in my idea I need to add a Card with an image and a title. An example of this would be Google's Playstore. But I have no idea how to do this. one of the probl...
asked by 31.10.2018 / 19:48
1
answer

Ionic 3 problems to run project [Uncaught (in promise): cordova_not_available]

The project was not created by me. I can not run the project. When you try to run the project with the command ionic server it returns the message Uncaught(in promise): cordova_not_available . I tried to remove the nome_mod...
asked by 30.10.2018 / 00:27
0
answers

Summation problems using vector

Well, I'm facing problems with a vector. The idea would be to go through the vector and add its values in a var. The problem: Enter 1000, it traverses and assigns 1000 to var. But when I re-type the value 500, it returns 2500. Here is the code:...
asked by 30.10.2018 / 14:11