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 2020/07/22 00:22:47 UTC

[GitHub] [cordova-ios] iwan-uschka commented on issue #883: No local file access

iwan-uschka commented on issue #883:
URL: https://github.com/apache/cordova-ios/issues/883#issuecomment-662172204


   Hi there, i just tried to update to `cordova-ios@6.1.0` but ran into `CORS` issues. I added 
   
   ```
   <preference name="scheme" value="app" />
   <preference name="hostname" value="localhost" />
   ```
   
   to my config.xml.
   
   I switched from https://github.com/apache/cordova-plugin-file-transfer to [https://github.com/dpa99c/cordova-plugin-file-transfer](https://github.com/dpa99c/cordova-plugin-file-transfer/commit/446b175154491f67bc04a657041a26bc5db92b30) to avoid build errors in Xcode (https://github.com/apache/cordova-plugin-file-transfer/issues/258).
   
   I updated cordova-plugin-inappbrowser to version 4.0.0 and cordova-plugin-splashscreen to version 6.0.0.
   
   So i do not face any app boot screen of death issues or any problems opening URLs in an external browser, the local web app loads without any problems but i can't make any API or simple GET-calls (AJAX)=> CORS.
   
   I've read about cookie issues at https://github.com/apache/cordova-ios/issues/944 or locale storage issues at 
   https://github.com/apache/cordova-ios/issues/883#issuecomment-637559770.
   
   I just tested successfully loading remote images and iframes (Youtube embed player).
   
   I have to admit it's been a long time since i had to deal with cordova at this level so i have to ask: should we wait a little more til and all the issues will be fixed in the near future?
   
   Running this setup we're not able to publish new apps into the Apple App Store but we have to use this setup, right? Or do these errors mentioned above not exist for `cordova-ios@5.1`?
   
   It's too late right now 😴 for testing https://github.com/globules-io/cordova-plugin-ios-xhr but if anyone can confirm that this plugin solves XHR issues (calling API from within a correctly loaded ionic web app [different schemes]) it would be really appreciated.
   
   ThX!!


----------------------------------------------------------------
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.

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