You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/03/31 17:22:19 UTC

[GitHub] [cordova-plugin-file] gabriele-sacchi opened a new issue #385: Download Apple hosted on-demand tagged resources from Cordova Webview

gabriele-sacchi opened a new issue #385: Download Apple hosted on-demand tagged resources from Cordova Webview
URL: https://github.com/apache/cordova-plugin-file/issues/385
 
 
   Hi,
   I'm digging around Apple documentation about [on-demand resources](https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/On_Demand_Resources_Guide/IntrotoHostingODR.html#//apple_ref/doc/uid/TP40015083-CH17-SW1) but I can't find this information..
   
   Is it possible to fetch via Javascriipt, from a WKWebView, an asset (eg. image, Javascript bundle) hosted on Apple servers as on-demand tagged resource?
   
   My intent, in order to not affect the App final bundle size, is to publish some (big) HTML+JS games on their servers so that they can review it (so that it's not "injected code" that is against their guidelines) and then fetch them via Javascript XHR requests or using calls from the native layer of the App through a Cordova/PhoneGap/Ionic bridge.
   
   This is what we need to achieve due to business constraints. Is it feasible?
   
   -----
   
   In my specific case, I would use the Cordova plugin [cordova-plugin-file](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-file/) to fetch/download the bundle with the additional HTML page to display.
   
   Here is this question raised on SO: https://stackoverflow.com/questions/60955952/download-apple-hosted-on-demand-tagged-resources-via-javascript
   I will reward with a 100 bounty whoever can help me achieve that.
   Many thanks!

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


With regards,
Apache Git Services

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


[GitHub] [cordova-plugin-file] gabriele-sacchi commented on issue #385: Download Apple hosted on-demand tagged resources from Cordova Webview

Posted by GitBox <gi...@apache.org>.
gabriele-sacchi commented on issue #385: Download Apple hosted on-demand tagged resources from Cordova Webview
URL: https://github.com/apache/cordova-plugin-file/issues/385#issuecomment-610792666
 
 
   I had to write a custom cordova plugin to fetch ODR resources before being able to load them from the file system.
   

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


With regards,
Apache Git Services

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


[GitHub] [cordova-plugin-file] gabriele-sacchi closed issue #385: Download Apple hosted on-demand tagged resources from Cordova Webview

Posted by GitBox <gi...@apache.org>.
gabriele-sacchi closed issue #385: Download Apple hosted on-demand tagged resources from Cordova Webview
URL: https://github.com/apache/cordova-plugin-file/issues/385
 
 
   

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


With regards,
Apache Git Services

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