Results 1 to 2 of 2

Thread: CORS issue in mobile packager for Android 4.1 and above

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    Coimbatore
    Posts
    103
    Answers
    4
    Vote Rating
    -1
      0  

    Default CORS issue in mobile packager for Android 4.1 and above

    Hi,

    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.


    Thanks

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    What are you sending for the CORS headers?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •