Questions tagged as 'ionic'

0
answers

What would be the equivalent of file_get_contents ($ url) in JavaScript or TypeScript?

I am developing an application with ionic 2 and I want to extract some data from an external page in another domain, and the way I have solved it is with PHP in the following way: miPhp.php      //$url = 'http://www.flalottery....
asked by 29.10.2017 / 03:44
1
answer

how to login and logout on Ionic with firebase

I have seen many ways to do this process but I do not see one as well explained, the truth is I'm just starting so I need as an easy guide or at least I can understand how it is done. the idea is that if the user enters correctly, an x page is d...
asked by 23.10.2017 / 02:20
1
answer

geolocation in ionic 3 always returns the same latitude and longitude

It turns out that the geolocation of ionic3 in my cell phone after a while starts to return the same latitude and longitude. That is to say, during 30 minutes, the geolocation calculates the latitude and longitude correctly but after a time it s...
asked by 02.11.2017 / 17:01
1
answer

Open a page from a provider

Please, help me, it happens that I would like to open the Tabs page, given that it is my homepage and this.nav.push (TabsPage); it does not work for me any solution to launch the page from the provider? import { Injectable, ViewChild } from...
asked by 02.11.2017 / 19:16
1
answer

Error with ngModel in ionic

Good morning. I'm doing an ionic registration form and using the ngModel propriety gives me the following error Uncaught (in promise): Error: If ngModel is used within a form tag, either the name attribute must be set or the form control...
asked by 17.10.2017 / 18:54
1
answer

Ionic 2 pagemodule lazyloading

Good morning everyone, I have generated a new project (blank) of ionic after updating everything. I add a page (HomePage) with the cli generator, and I put it as a start page in app.components.ts but when doing ionic serve I get an error:...
asked by 02.10.2017 / 11:42
1
answer

Know if a variable is json in ionic?

I'm making an application which connects to the server and receives a series of data in json format, in the case that there is no available data returns a text, what I want to know is how to redirect the text to a variable and the data to anothe...
asked by 19.09.2017 / 21:15
0
answers

change java version 9 to 8 on mac

I'm biting a project on ionic 1 and since I have installed java 9 it will not let me export to android and I get this error Error: Requirements check failed for JDK 1.8 or greater . I do not know much about mac, could you tell me how to ch...
asked by 25.09.2017 / 18:05
0
answers

Ionic serve does not run

cli packages: (/root/.nvm/versions/node/v6.11.2/lib/node_modules) @ionic/cli-utils : 1.9.2 ionic (Ionic CLI) : 3.9.2 local packages: @ionic/app-scripts : 2.1.4 Ionic Framework : ionic-angular 3.6.1 System: Node : v6.11.2 npm : 3...
asked by 12.09.2017 / 18:05
0
answers

Error compiling app on ionic 3

I want to compile my project but I get this error    - can not generate drawable-hdpiv4 \ common_google_signin_btn_icon_dark_normal_background.9.png Try reinstalling ionic and cordova "npm install -g ionic cordova" but the same error keep...
asked by 26.09.2017 / 18:09