cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Maestroni (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-3064) The preferences are read only the very first time the application runs
Date Fri, 19 Apr 2013 13:19:16 GMT

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

Davide Maestroni commented on CB-3064:
--------------------------------------

I went through the code with the debugger and verified that none of the above parameter is
set. You can just try to change the values and you'll see that everything is back to the default
configuration after one re-start of the application.
I personally implemented a workaround for the issue so I don't really mind about the priority.
Nevertheless I believe many people out there will start to complain soon, when they realize
their applications are not behaving the same after the first re-start. I'm just trying to
help making Cordova more stable and reliable.
                
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message