facebook

ios5.1 and localstorage

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #324248 Reply

    SonamGyato
    Member

    It seems like in ios 5.1, if you restart the phone.

    localStorage gets deleted – what gives!!!

    how to store persistent data.

    #324249

    support-michael
    Keymaster

    @everest

    We are evaluating options. Seems apple screwed html5 web developers with their handling of localstorage and webdb in ios5.1. They have taken the position that local storage is effectively another kind of cache, not permanent storage. Thus if it is a cache then it can be regenerated which is bogus.

    #324251

    SonamGyato
    Member

    please advise ASAP on a solution.

    I just need to store a string (serial#).

    Native is not an option for me because i want to host
    the app on my server – not the app market.

    #324259

    Norf
    Member

    Hi,

    same problem here.

    Need this feature too ASAP!!

    Our App is also running on a private Server and there are options to write in the App.
    But every new start all is lost..

    Can you tell us when you fix that small problem??

    Regards Norbert

    #324278

    SonamGyato
    Member

    small problem – but i bet the solution will be difficult.

    wayne – any hope of a solution.

    i understand from a previous response that native apps
    cannot be hosted on non-apple servers.

    can phonegap app – anything with persistent storage –
    not requiring apple server. that’s what i need.

    #324289

    support-michael
    Keymaster

    All,

    We have been blindsided by apple’s decision to make local storage volatile. We do not have a simple web-based work-around at the moment. We are searching for an acceptable solution but this may take some time as nothing simple is available yet.

    #324297

    SonamGyato
    Member

    is there something available to a webapp to uniquely
    identify the device.

    serial#, IMEI #, phone#, anything.

    Also, any info on when this localStorage gets cleared –
    the conditions.

    #324387

    SonamGyato
    Member

    Getting back to this topic.

    Can I write a phonegap app (w/ access to the file system) and
    still be a non-native app – i.e. i want to host app on my own server.

    Essentially I need access to the file system – but I know that
    web-apps have limited access to the file-system.

    #324403

    support-michael
    Keymaster

    @everest

    >is there something available to a webapp to uniquely identify the device. serial#, IMEI #, phone#, anything.

    not that I know of other than cookie info

    >Also, any info on when this localStorage gets cleared – the conditions.

    Hopefully very soon. A potential solution was posted this week on the Cordova project bug for early adopters to build and begin testing. We are monitoring the experience of others and will pick it up as soon as its viability is proven.

    #324405

    support-michael
    Keymaster

    @everest

    >Can I write a phonegap app (w/ access to the file system) and still be a non-native app – i.e. i want to host app on my own server.

    No, the file system api is private to mobile webapps. Thus the invention of the phonegap/cordova sdk.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: ios5.1 and localstorage

You must be logged in to post in the forum log in