18 Feb 2013 2:38 AM #1
Unanswered: CORS issue in mobile packager for Android 4.1 and above
I have a problem when calling ajax request from different domain in sencha mobile packager for native packaging .I have received the below error in mobile packager for android native packaging.
"Origin null is not allowed by Access-Control-Allow-Origin".
But it works very well in android 4.0.3 and below versions for calling ajax request in different domain or same domain on mobile packager for android native packaging.
Please give some suggestions on this.
20 Feb 2013 8:02 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
What are you sending for the CORS headers?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.