Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9299618D82 for ; Fri, 5 Feb 2016 22:10:41 +0000 (UTC) Received: (qmail 5733 invoked by uid 500); 5 Feb 2016 22:10:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 5680 invoked by uid 500); 5 Feb 2016 22:10:40 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 5245 invoked by uid 99); 5 Feb 2016 22:10:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2016 22:10:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A4F652C14F0 for ; Fri, 5 Feb 2016 22:10:40 +0000 (UTC) Date: Fri, 5 Feb 2016 22:10:40 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10395) InAppBrowser's WebView not storing cookies reliable to local device storage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15135127#comment-15135127 ] ASF GitHub Bot commented on CB-10395: ------------------------------------- Github user wolframkriesing commented on the pull request: https://github.com/apache/cordova-plugin-inappbrowser/pull/147#issuecomment-180591346 I think importing the `CookieSyncManager ` is missing > InAppBrowser's WebView not storing cookies reliable to local device storage > --------------------------------------------------------------------------- > > Key: CB-10395 > URL: https://issues.apache.org/jira/browse/CB-10395 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin InAppBrowser > Affects Versions: 1.1.0 > Environment: Android-22 > Reporter: Wolfram Kriesing > Assignee: Sergey Grebnov > Labels: Android, Triaged > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org