Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
appsbychris
Posts: 33
Registered: ‎01-17-2013
My Device: BB10 Dev Alpha Sim

Odd error with phonegap file API.

[ Edited ]

Ok, so i am having a really weird problem.

 

First I have 1 app, using the save code to save files to the filesystem, and it works just fine.

 

For app #2, i keep getting error #6: NO_MODIFICATION_ALLOWED_ERR

 

The only change is the folder name. (Even trying to use the same folder name as app 1 fails as well)

 

I went so far to take app #1, copy all its contents to a new folder, copy in App #2 source code, and try to launch, and i get the same error.

 

They both have the exact same config.xml (other then the app name), both are calling for the file system after cordova sends deviceready.

 

I debuged through the code as it was running, And everything goes the same until it attemps to create the directory.

 

What causes this error #6?

It's driving my crazy because everything is exactly the same between the config files...

 

This is for BB10 btw, and i am using the simulator

Contributor
appsbychris
Posts: 33
Registered: ‎01-17-2013
My Device: BB10 Dev Alpha Sim

Re: Odd error with phonegap file API.

OK, so i just changed my qnx to sign the bar, and all works as should....weird.
App #1 worked fine unsigned