Code Monkey home page Code Monkey logo

Comments (4)

Textras avatar Textras commented on July 17, 2024

Also wondering the same as we moved from Telerik WKWebView to this one. Wondering if it requires Ionic also, or can it be used independently?

from cordova-plugin-wkwebview-engine.

abroekhuis avatar abroekhuis commented on July 17, 2024

Well, for us it turned out to be a performance issue. Apparently iOS has added more/increased restrictions to the webview. We have a quite CPU intensive app, also when in the background (BLE handling), and this caused the issue. We moved the handling to a webworker, which seems to have "fixed" the issue for us.

from cordova-plugin-wkwebview-engine.

sivanov avatar sivanov commented on July 17, 2024

We moved the handling to a webworker, which seems to have "fixed" the issue for us.
Hi, can you explain how you implement webworkers in the WKWebview?
We have same WSOD in my hybrid app with new versions on iOS 11.

from cordova-plugin-wkwebview-engine.

abroekhuis avatar abroekhuis commented on July 17, 2024

It has been a while for me since I worked on that specific project, but since we have a webworker that does not need any interaction with plugins etc, it is just a simple webworker with no specific needs for Ionic/Cordova. So I guess any webworker guide will do.
So in short, create a JS file with the code to execute in the worker, create the worker and use the onChange and postMessage methods to use it.

from cordova-plugin-wkwebview-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.