This sounds really good! The only reservation I have is making a new non-standard way of saving state in js.
Instead of providing navigator.app.saveState() I think we should be content to simply raise the event, and allow the app developer to choose how they wish to store it. The obvious choice would be simply dumping some data in localStorage. @purplecabbage risingj.com On Wed, Oct 28, 2015 at 1:52 PM, riknoll <g...@git.apache.org> wrote: > Github user riknoll commented on the pull request: > > > https://github.com/apache/cordova-android/pull/236#issuecomment-151986714 > > Here's an example index.js and index.html: > https://gist.github.com/riknoll/94a40dc147040191fd3e > > For anyone hoping to test it out, make sure you check "Don't keep > activities" in your phone's developer options. > > > --- > 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 > >