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 2021/05/24 16:11:15 UTC

[GitHub] [cordova-ios] northkode opened a new issue #1114: App:// Scheme blocks all dynamic url loading patterns for cdn modules that use src="//whatever"

northkode opened a new issue #1114:
URL: https://github.com/apache/cordova-ios/issues/1114


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   dynamic urls should still be able to load with https, but because of the cordova ios scheme of app://
   JS and css scripts cant load when they are using the dynamic src of src="//somedomain.com/jstoload.js"
   
   
   ### What does actually happen?
   the js tries to load from "app://somedomain.com/jstoload.js"
   
   
   ## Information
   Can we remove this some how or have the wkwebview detect these calls and change there host protocal?
   
   
   ### Command or Code
   Anything cordova ios 6.0.0+ because of the new app:// scheme
   
   
   
   ### Environment, Platform, Device
   IOS
   
   
   ### Version information
   All Versions
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [X ] I searched for existing GitHub issues
   - [X ] I updated all Cordova tooling to most recent version
   - [X ] I included all the necessary information above
   


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


[GitHub] [cordova-ios] jcesarmobile closed issue #1114: App:// Scheme blocks all dynamic url loading patterns for cdn modules that use src="//whatever"

Posted by GitBox <gi...@apache.org>.
jcesarmobile closed issue #1114:
URL: https://github.com/apache/cordova-ios/issues/1114


   


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


[GitHub] [cordova-ios] jcesarmobile commented on issue #1114: App:// Scheme blocks all dynamic url loading patterns for cdn modules that use src="//whatever"

Posted by GitBox <gi...@apache.org>.
jcesarmobile commented on issue #1114:
URL: https://github.com/apache/cordova-ios/issues/1114#issuecomment-847893327


   this isn't a cordova issue, they shouldn't be using `src="//whatever"`, it's a bad practise, pretty sure it doesn't work when loading from file:// neither.
   Also, there is nothing we can do, it's the webview itself what adds the scheme used to load the app when none is provided.
   


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