Questions tagged as 'ionic'

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
0
answers

Build on the locked Ionic

I have a problem using the command: ionic cordova build android --prod --release It always worked but today it gets stuck at the prompt as below: C:\Users\ALUIZT\Documents\workspace-ionic\myApp>ionic cordova build android --prod --rele...
asked by 03.11.2018 / 21:53
1
answer

Black screen when simulating application on xcode Iphone 7 PLUS

I'm trying to simulate my application generated with Ionic on xcode to get the printsscreens needed to submit for review. When I select the iPhone 5/6 it opens normally, but when I select the iPhone 6 Plus (which are the ones with a 5.5 inch scr...
asked by 05.11.2018 / 12:54
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
0
answers

Error: Source path does not exist: res / android / splash / drawable-port-xxxhdpi-screen.png Ionic

I'm trying to build my android application, but it's saying that the file drawable-port-xxxhdpi-screen.png does not exist, but it exists. I have already checked the folder and xml, I do not know what it can be, only this last file happens this p...
asked by 30.10.2018 / 13:58
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
1
answer

How to call a function inside an addEventListener?

I would like to know if it is possible to call a function within a given event using addEventListener (). I have this function, which adds a reward to the database: //Função que adiciona uma recompensa ao banco de dados addReward(){...
asked by 07.11.2018 / 19:41
0
answers

How to integrate bootstrap 4 in ionic 4?

So I'm trying to learn Ionic being that it uses the Angular 2+ and I came across a problem, when I install bootstrap 4 using "npm install bootstrap" and when importing into Angular.json the thing is different and when I try to set it does not com...
asked by 29.10.2018 / 19:57