Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49228

Android Signed build getting XMLHttpRequest failed :{}

$
0
0

@r1cebank wrote:

Hi Everyone, I am developing this application that utilize Parse for user login, everything works fine at first on iOS and when I tried to run the application on android it gives me this error when i tried to login to my account:

XMLHttpRequest failed :{}

I looked up on other posts on forum and added these in my config.xml

<access origin="*"/>
  <allow-navigation href="*"/>
  <allow-intent href="*"/>

This resolved the issue on my device Xperia Z5. Later I gave the signed build to other testers to test on

Nexus 5, Samsung Galaxy S4 (x2), Galaxy S5

The Nexus 5 and Samsung Galaxy S4 worked fine, but the other S4 and the S5 is getting the

XMLHttpRequest failed :{}

again. I am not sure what is the core issue now, is there anything else i am missing here? I am using these plugins:

"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard",
"ionic-plugin-deploy",
{
"locator": "https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git",
"id": "cordova-plugin-inappbrowser"
},
"phonegap-plugin-push"
]

Thanks for all your help

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49228

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>