Questions tagged as 'ionic'

1
answer

Repositories.cfg could not be loaded

I'm trying to compile an android application using the following command, ionic build android for Ionic 1.x, but I get the following error: File C:\Users\User\.android\repositories.cfg could not be loaded. The information of my team...
asked by 13.04.2017 / 19:54
2
answers

Error to access facebook with ionic 3

Someone can help me with this problem I am trying to connect to your Facebook of the user with Ionic 3 . I have this error    Facebook error: SERVER_ERROR: [code] 1675030 [message]: Error when   make the query. [extra]: null   ...
asked by 12.10.2018 / 00:37
2
answers

Print field of an array in Angular

I have a function in Angular that brings an array with user data, among which one field is user.type_identity_id, and I have another function where I bring the types of identities, how can I compare and according to the user.type_identity_id pri...
asked by 10.04.2018 / 16:55
3
answers

how to include external libraries in Ionic

Normally when you are making a web the libraries are included as follows: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.2.0/aos.css" <script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.2.0/aos.js">&l...
asked by 04.04.2018 / 18:10
1
answer

Clear the cache depending on the view with $ ionicHistory.clearCache ()

is there a way to eliminate the cache of the view you want ?, for example in javascript I want to delete the cache of the next view I want, to actulize the information of all products, but in another view returns to the view products and at that...
asked by 09.12.2016 / 22:25
1
answer

Call Functions of a class from a different class?

I recently implemented a javascript Liberia to my ionic project (winwheel.js) I have the following function on my Home.ts Exactly in this line of code 'callbackFinished' : this.alertPrize I call the function alertPrize() E...
asked by 11.06.2018 / 14:28
1
answer

The property 'json' does not exist in the type 'Object'

I have the following problem    [ts] The 'json' property does not exist in the 'Object' type. any This is the code: postData(credentials,type){ return new Promise((resolve, reject) =>{ let headers = new HttpHeaders(); this....
asked by 30.12.2017 / 06:39
1
answer

How to invert the order of a ngFor

I bring the information of a json that I generate with firebase, and I print it with a ngFor , but it always prints the arrangement from the first to the last one, I would like to do it the opposite. This is how I get the data...
asked by 03.04.2018 / 19:28
1
answer

Parameter step undefined in Ionic 2 when there are Tabs

Esoy using the tabs in Ionic 2 but I can not pass parameters between them. Currently, what I'm trying to do is to import the class that contains the tabs into one of the tabs and try to access a method of that class that returns the values....
asked by 29.03.2017 / 15:02
3
answers

show loading image

display a loading image or a loading message while loading all products brought from the controller .controller('productosCtrl', function($scope, $http, $q, $location, $ionicLoading, Productos) { Productos.productos().then(function(argumen...
asked by 20.10.2016 / 05:22