Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9008

IndexedDB does not persist in WKWebView after closing app

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • 4.0.0
    • cordova-ios
    • None
    • iOS 8.3, iPhone

    Description

      I realize y'all are actively developing WKWebView support. This may be a bug in WKWebView itself, or maybe in Cordova; I'm not sure. Hence this bug report.

      Video demonstration

      Steps to repro:

      1. Install my database filler app
      2. Follow the instructions to run the WKWebView branch
      3. Open up the XCode project in platforms/ios
      4. Run on a real device
      5. Open up the app, add some data, count it to make sure items were added.
      6. Double-press the home button to dismiss the app
      7. Reopen it, count items

      *Expected*: items that were saved in IndexedDB before are still there.

      *Actual*: 0 items are found.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            nolanlawson Nolan Lawson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment