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

InAppBrowser's WebView not storing cookies reliable to local device storage

    XMLWordPrintableJSON

Details

    Description

      we are simply embedding our website http://crewmeister.com/app using `cordova.InAppBrowser.open()` looking at the sqlite storage on the device I was able to reproduce that our server-side rails cookies are not stored reliably in the cookie storage (the sqlite file under /data/data/com.crewmeister.app/app_webview/Cookie on the device)
      I saw that the cookie was updated seemingly just sometimes by accident, I was guessing that webkit's `CookieManager.flush()` might need to be called at least upon closing the app (so cookies survive across sessions).
      I have read multiple complaints from other people online too but am not able to fix it. Any hints or even fixes would be greatly appreciated.
      I guess somewhere in here the fix needs to take place https://github.com/apache/cordova-plugin-inappbrowser/blob/master/src%2Fandroid%2FInAppBrowser.java ...
      Thanks, Wolfram

      Attachments

        Activity

          People

            Unassigned Unassigned
            wolframkriesing Wolfram Kriesing
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: