conan1150 commented on issue #1250:
URL: https://github.com/apache/cordova-ios/issues/1250#issuecomment-1237642418

   my application is hosted remotely.
   loading.js  by inject later.
   
   `  loadScriptsiOS() {
   
       if (typeof device !== 'undefined') {
         return;
       }
   
       const dynamicScripts = [
         'assets/js/cordova-ios/cordova.js?V0005'
       ];
       for (let i = 0; i < dynamicScripts.length; i++) {
         const node = document.createElement('script');
         node.src = dynamicScripts[i];
         node.type = 'text/javascript';
         node.async = false;
         node.charset = 'utf-8';
         document.getElementsByTagName('head')[0].appendChild(node);
       }
   
   
       document.addEventListener("deviceready", this.onDeviceReady, false);
     }`
   
   then I can force hide splashscreen by 
   navigator.splashscreen.hide();
   
   but I see empty screen because webview was hidden at first.
   
   I have interim solution by  webview.hidden = false when ViewController is 
initiate.
   
   thank you for your response.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to