Git Product home page Git Product logo

Comments (4)

boyofgreen avatar boyofgreen commented on June 30, 2024

I'd like to look at this one and see if we can improve this scenario.

from manifoldcordova.

3rand avatar 3rand commented on June 30, 2024

Any hints on how to make the offlineWebView support plugin calls? It seems that as of now its a simple webview that shows and hides.
It would solve so many nice scenarios if both webviews were cordova-enabled. This way you could have extended functionality in the offline page, for instance communicating with a plugin to serve local content e.g. a mp3 file already downloaded while online previously.

from manifoldcordova.

DaveVoyles avatar DaveVoyles commented on June 30, 2024

So you are suggesting something like store the data locally using indexedDB or local cache until the user gets online again, at that point give them the ability to connect to their remote content again?

from manifoldcordova.

3rand avatar 3rand commented on June 30, 2024

I'm suggesting something something fairly less specific:
Say you have 2 html-apps 1 online and 1 'offline' in the app bundle.
If you switch to the offline app because connectivity loss, or even on request from the user, that app loads in a plain webview. Im suggesting to have that webview be a cordovawebview so the offline app could replicate calls to plugins just like the online app does.

Perhaps there's something wrong with my approach, but i see this as a way to serve not just a html page on the offline view but a whole app, then having it seamlessly switch to the online page where you left off.

Thanks for your feedback

from manifoldcordova.

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.