You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/07/12 15:55:22 UTC

[GitHub] [cordova-android] massimilianocom commented on issue #1354: XHR Request fail with CORS Access-Control-Allow-Origin on Cordova android 10

massimilianocom commented on issue #1354:
URL: https://github.com/apache/cordova-android/issues/1354#issuecomment-1181942072

   hello after so much banging on this problem finally one that makes me understand everything.
   This:
   <preference name = "AndroidInsecureFileModeEnabled" value = "true" />
   
   How do I understand it makes you emulate the device like it's a version 9?
   
   Go to the config.xml file and at what point?
   
   Why did I do this:
   
   ```
   <platform name = "android">
            <preference name = "AndroidInsecureFileModeEnabled" value = "true" />
            <icon src = "res / android / icon.png" />
            <allow-intent href = "market: *" />
            <resource-file src = "resources / android / xml / network_security_config.xml" target = "app / src / main / res / xml / network_security_config.xml" />
            <access origin = "*" />
        </platform>
   ```
   
   Mac continues not to work in me status has always been 0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org