GithubHelp home page GithubHelp logo

Comments (7)

cvanem avatar cvanem commented on July 2, 2024 1

@janpio FYI, this looks to be supported with the newer WKWebView. Using this plugin resolved my issue and drastically improved user input performance with my React based web app.
https://github.com/dpa99c/cordova-plugin-inappbrowser-wkwebview#readme

from cordova-plugin-inappbrowser.

cvanem avatar cvanem commented on July 2, 2024

I should also add that this is for a hybrid app, which loads external web content into the inappbrowser. I would like to avoid storing any hard assets in the application package. The preferred functionality would download and install the service worker on the first successful web request. After that the service worker would handle caching. Any guidance on where to start? Am I correct that this functionality is not currently available?

from cordova-plugin-inappbrowser.

cvanem avatar cvanem commented on July 2, 2024

I believe the issue may be related to the initial open for the inappbrowser. Is there a way to tell this to load from the previously cached content instead of a network url?

I created a Stack Overflow question here:
https://stackoverflow.com/questions/52346733/service-worker-integration-with-cordova-inappbrowser-and-external-web-applicatio

from cordova-plugin-inappbrowser.

jcesarmobile avatar jcesarmobile commented on July 2, 2024

Service workers are not supported on iOS, not sure about Android.

Anyway, this is not a bug in the plugin, in any case it's a bug in the webviews, so you should report it to Apple/Google.

from cordova-plugin-inappbrowser.

cvanem avatar cvanem commented on July 2, 2024

https://medium.com/@firt/progressive-web-apps-on-ios-are-here-d00430dee3a7

Service worker support was added in iOS 11.3.

from cordova-plugin-inappbrowser.

janpio avatar janpio commented on July 2, 2024

... to Safari. Was it also added to the webview(s) other apps can use?

from cordova-plugin-inappbrowser.

cvanem avatar cvanem commented on July 2, 2024

Ok thanks for clearing that up for me. I was confused.

from cordova-plugin-inappbrowser.

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.