cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse <purplecabb...@gmail.com>
Subject Re: [GitHub] cordova-android pull request: API for saving/restoring plugin and ...
Date Wed, 28 Oct 2015 21:49:23 GMT
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 <git@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 infrastructure@apache.org or file a JIRA ticket
> with INFRA.
> ---
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message