01-08-2013 08:46 AM
I have several JSON files in the app/native/assets/data folder which contain data for my application. In the app sources they are in the assets/data folder. I read that runtime only access to the root folder data will be allowed. However in both simulator and DevAlpha device i am able to write to the assets/data folder. Will this be different for production devices or has this changed?
Solved! Go to Solution.
01-08-2013 08:52 AM
You can read about the various folders that are available and the restrictions on them: http://developer.blackberry.com/native/documentati
The fact that you can write to the folder now is because your app is built with a "development mode" flag true. Once you export as a release build and sign it, that flag is cleared and your app is installed with the app/ folder read-only, as described in the page above.