You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/04 17:40:34 UTC

[jira] [Commented] (CB-3064) The preferences are read only the very first time the application runs

    [ https://issues.apache.org/jira/browse/CB-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14052517#comment-14052517 ] 

ASF subversion and git services commented on CB-3064:
-----------------------------------------------------

Commit 4d18a8e55fe638bb0e50a126f7dcb9b88da92198 in cordova-android's branch refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=4d18a8e ]

Delete "CB-3064: The errorUrl is..." Log message left over from debugging presumably


> The preferences are read only the very first time the application runs 
> -----------------------------------------------------------------------
>
>                 Key: CB-3064
>                 URL: https://issues.apache.org/jira/browse/CB-3064
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.5.0, 2.6.0
>         Environment: All Android versions and devices
>            Reporter: Davide Maestroni
>            Assignee: Joe Bowser
>         Attachments: CB3064.apk, CB3064.zip, CB3064_logs.txt
>
>
> The preferences in the config.xml file are not read again if application exits and then restarts.
> A simple test is to set the background color to GREEN (-16711936 or [0xff00ff00]) and use an html page with transparent background. 
> The first time it is run, the application correctly displays a green background but then, after exiting by pressing the back or home button, and re-running it, the background stays black.
> Forcing the application thread to stop from the Android settings menu seems to cause the preferences file to be read again.



--
This message was sent by Atlassian JIRA
(v6.2#6252)