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/10/26 18:19:05 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-716736137


   I want to confirm that i was able to make my app work again using `cordova-plugin-wkwebview-file-xhr@3.0.0` (thanks @breautek for mentioning) and `cordova-ios@6.1.0`. I removed
   
   ```
   <preference name="scheme" value="app" />
   <preference name="hostname" value="localhost" />
   ```
   
   from my `config.xml`. Just mentioning because i tried it this way before.
   
   Result:
   - ✅ No CORS issues.
   - ✅ Authentication works which means cookies are set correctly when making AJAX requests.
   - ✅ No local storage issues thanks to `cordova-plugin-nativestorage-2.3.2` (see https://github.com/apache/cordova-ios/issues/883#issuecomment-637559770).
   - ✅ No issues when uploading files thanks to https://github.com/dpa99c/cordova-plugin-file-transfer (see https://github.com/apache/cordova-ios/issues/883#issuecomment-662172204).
   - ✅ Apple doesn't complain about any deprecated code.
   - ❌ Not able to load HTML assets (image for instance via `<img src="..." >`) which are accessible with a valid session cookie only. If somebody knows what to do here i really appreciate any hint or help here (or [here](https://github.com/oracle/cordova-plugin-wkwebview-file-xhr/issues/66#issuecomment-716714010))
   
   Tested on:
   - ✅ iOS 12.4.8
   - ⏳ iOS 14.0.1 (wasn't able to test yet)
   
   For the sake of completeness: I also updated to `cordova-plugin-inappbrowser@4.0.0` and `cordova-plugin-splashscreen@6.0.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.

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