Questions tagged as 'ionic2'

1
answer

Error in Ionic 2: "No component factory found for"

I'm trying to show a new page in an app of ionic (the app was not created by me, I've only been asked to modify it ), when I execute this.navCtrl.push(aportacionesPage) it returns the following error:    No component factory foun...
asked by 31.01.2018 / 09:06
0
answers

How to disable a button or a href if localstorage is empty in ionic

Good evening, I need to disable a button or more specifically a href in html when the localstorage is empty or at least the first variable is equal to undefined, thanks in advance!     
asked by 23.01.2018 / 02:32
1
answer

Error starting application on ionic 3

when the application starts, the following error appears ionic the connection to the server was unsuccessful. (file /// android_asset / www / index.html) I have in the config.xlm <preference name="loadUrlTimeoutValue" value="70000>...
asked by 25.01.2018 / 20:51
2
answers

How do I make a PHP database connection to ionic 3?

I made a connection to the database with a PHP API with the slim framework and even though I feel that it is wrong because it sends me CORS error, all the possible solutions were made.     
asked by 24.01.2018 / 19:06
1
answer

how to put the default date on the ion-datetime ionic date

I have a lot of problems with that ion-datetime date format. I just want to pass the date field that is in '2017-01-01 04:39:00' format to ion-datetime but I get format error. I have been looking for several hours how to solve this and nothing a...
asked by 30.11.2017 / 21:21
1
answer

How do I publish my web application with ionic 2 on my godaddy payment server?

Perform a project using the frame of ionic 2 and I want to upload the files of the web application to my service of hosting in GoDaddy but I do not know exactly what files I must publish for my web application to work in my...
asked by 18.11.2017 / 17:16
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

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

The keyboard disappears and reappears when I change the focus

I have a list and when I delete an item, using the click or tap event, I set the focus on the next item to the deleted item, looking for id and with the focus () function. Then the keyboard disappears and reappears. How can I make this not happe...
asked by 03.10.2017 / 19:15