Questions tagged as 'ionic'

1
answer

Put an IF inside the HTML text with ionic / firebase

So I have a problem with my code, I would like to do an if within my html code from ionic, something like: <ion-item class="camposSelect" *ngFor="let person of profiles" > <ion-label color="primary">Dia: </ion-label>...
asked by 05.12.2018 / 22:54
1
answer

For not waiting to complete request, it continues the count

I'm developing an ionic application and I'm having a problem when looping. In this loop there is a call from a method of a provider, which makes a request put . My problem is that for does not expect the server to return it to conti...
asked by 08.06.2018 / 16:37
1
answer

Error installing OneSignal plugin on iOS platform using IONIC FRAMEWORK

I'm developing an app using the ionic framework, but when I add the OneSignal plugin on the iOS platform I'm having some errors:    "Failed to install 'onesignal-cordova-plugin': undefined (node: 3302)   UnhandledPromiseRejectionWarning: Unha...
asked by 18.09.2018 / 16:33
1
answer

App stop working after push notification with firebase on ionic 3

I'm trying to make a push notification using cloudSettings with firebase, however when I send a message the app stops working and the following message appears: app.module.ts:constcloudSettings:CloudSettings={'core':{'app_id':'...
asked by 05.09.2017 / 23:25
1
answer

Group data with NgFor and GroupBy

Before in Angular 1 when I wanted to do a grouping of data it was like this: ng-repeat="(key, value) in me | groupBy: 'role_id'" In my object me had a list of users with a different role_id field. Hence I wanted to do this: # Admi...
asked by 14.06.2017 / 21:29
1
answer

Select with AngularJS

In an IONIC / CORDOVA app using anglarjs I encountered the following problem: The angle mounts the select leaving an empty option at startup. example: JSFIDDKE When selecting one of the options in the list, this empty option disappears....
asked by 23.11.2016 / 04:17
1
answer

ionic record audio not back to view

I made an app, to record audio, it opens the native recorder, but does not return the audio to view. .controller('MyCtrl', function ($scope, $cordovaCapture) { $scope.captureAudio = function () { var captureSuccess = function (mediaFiles)...
asked by 14.09.2016 / 20:12
2
answers

Cordova Geolocation

I'm having a very strange problem, I have an app running a year and after a few months with no updates when making a new release I realized that the geolocation was not working correctly. When I use the getCurrentPosition function there is no er...
asked by 20.05.2016 / 14:38
1
answer

Error IONIC dependencies not found

Hello, I'm having an error in IONIC when using commands to compile for android. Appears this error every time I try one of these commands on ionic run android --target meuDispositivo ionic build android The following messa...
asked by 13.10.2016 / 16:38
2
answers

How not to repeat random numbers?

I'm creating a rotating banner, and for this I use the random javascript that draws a position in the array and displays, this already works well, the problem is that sometimes it draws the same number at random and repeats what is being display...
asked by 16.12.2015 / 16:11