I have an application that saves the readers bookmark placed in localStorage. When I close the application on iOS 5.1, the bookmark is gone, but is it still there on 5.0.1?
Unfortunately, in iOS5.1, localstorage is considered temporary data that can be deleted at any time ... But Kerri Shotts wrote code to support NATIVE saving localStorage using phoneGap: http://pastebin.com/5881768B
(he will copy the localstorage file to a protected folder and restore it if necessary)
And the phonegap team is working on this: https://issues.apache.org/jira/browse/CB-330
This is a common misconception that closing applications in the multitasking panel actually closes the application. This is not so - the panel simply maintains a list of recent applications.
See this post for a more in-depth discussion.
Source: https://habr.com/ru/post/1401124/More articles:Rails form_for collection_select ignores the remote ajax call that select_tag accepts - ajaxListen to any cursor changes in android - androidTrying to compare two objects and extract a third object containing their differences - javaSubmit ArrayList from BroadCastReceiver to action - androidjQuery Mobile - enable scrolling - jquery-mobileHow to save the application for more than 10 minutes. in the background? - objective-cHow to determine the completion status of incoming and outgoing calls? iphone - iphoneOne-to-many ordered / ordered flag for CoreData - iosHow to kill a process / query in DB2 - sqlCTCallCenter in Swift - iosAll Articles