I developed a Web App using ionic which works perfectly in the browser.
Now, I tried to deploy it on Android using the basic command:
ionic cordova run android --prod --releaseand
but when I try to log using Google I get this screen:
What could be the reason for this error if it works perfectly in the browser but not on the emulator? Can it be because it misses the port in the address?
Related
I have created a app for getting results from OMDB to show ratings. It is working fine in browser when I am using ionic serve and also when I am using ionic cordova emulate browser (For android device). But the issue is when I am converting it to the android app (Via ionic capacitor add android, ionic capacitor copy android) and checking in my android device then it is not working there.
My device has installed latest version of android version with latest MIUI version.
TIA.
I have tried to find the solution but there is no solution found to me for this.
I am using HTTP call for mobile device and HTTPClient call for web browser. I am doing it in my localhost.
I expect that if it is working with cordova emulate browser then it must be working with android device
9 times out of ten this is because you haven't used https for the API feed.
http is disabled on android since a while back, unless you set up special security rules.
The rest of the time it's a CORS issue.
I'm trying to run the Ionic 3 app in APK version on an Android 8.0.0 device. I keep getting the error when I run the APK on the device:
net::ERR_CONNECTION_REFUSED (http://localhost:8080/)
. I've already tried updating Cordova Ionic WebView, I've changed the confi.xml settings, I've tried using Android 6.0.0., and for each time I rebuilt the app APK and tried running it again on the device, but nothing has worked so far.
I've been running the APK on device downloading it from Whatsapp as I normal document, then I authorize the device to install the APK and the app apparently is working, but the error returns. What should I do? I really need to get it working. Any help?
I run ionic cordova run android --device. The application starts on my device, but when I go to Google Chrome, my device is not showing. Remote Devices does no show anything. Is there a change in Chrome or a check that can be done?
Chrome Version 74.0.3729.157 (Official Build) (64-bit)
Ionic 3
I tried ionic cordova android with the name of my specific device but it also did not work.
Try using following "adb devices" command in cmd or git bash of you project path everytime you connect your device where in it will show number of devices connected.And then you can run your project using "ionic cordova run android" and then you can debug in chrome by using "chrome://inspect/#devices"
I have camera function in ionic application and I am using phonegap build to publish app for ios and android.
My problem is - when I upload code from windows and build app for android and ios on phonegap, camera only works in android but not in ios. And when I upload code from mac and build app for android and ios on phonegap, camera only works in ios but not in android. On camera function, no error thrown.
When I debugged app on android using adb plugin, on app start it shows message "deviceready has not fired after 5 seconds" in console.
Any suggestion or help will be appreciated.
Thanks in advance!
i want to use phonegap desktop app for debugging.Want to use phonegap 2.7 eclipse project to run through phonegap desktop app
For testing phonegap, I used the chrome extension Ripple Emulator, and used phonegap serve command from the terminal. I then went to localhost:3000 and enabled the Ripple Emulator for that page.
Check it out here:
https://chrome.google.com/webstore/detail/ripple-emulator-beta/geelfhphabnejjhdalkjhgipohgpdnoc?hl=en