Github user pke commented on the issue:

    https://github.com/apache/cordova-plugin-wkwebview-engine/pull/9
  
    In my case the problem was that the wkwebview does not work well with async 
loaded script files.
    I had
    
    ```html5
    <script src="cordova.js" async/>
    <script src="bundle.js" async/>
    ```
    
    As soon as I removed the async attribute (after one week of trying other 
things) everything worked, including the splashscreen. I think the splashscreen 
uses the message queue (event loop) to postpone some of its actions (when 
fading out) and this collides with the `async` attribute and creates a 
race-condition. It seems like a bug in wkwebview to not handle `async` script 
loading properly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to