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

Native Development

Posts: 16
Registered: ‎03-22-2013
My Device: 8520,9900,9930,9330,9790,9780
My Carrier: BlackBerry

Syncing error after setting application permission in bar.descriptor

Hello ,


I am developing an app which sends notifications. I am getting error when I set "Post notifications" checkbox true in bar.descriptor(application) file. If I uncheck it then the app atleast launches on device but does not give notification.


I have tried an sample app from here : http://developer.blackberry.com/native/sampleapps/

It is workinfg perfectly(It has "Post notifications" check box true in its bar.descriptor file) but when I use same code in my app it is giving following error and app fails to launch :


Deployment Failed: Info: Sending request: Install and Launch
Info: Action: Install and Launch
Info: Debug native: on
Info: File size: 224130
Info: Installing com.example.Test_app.testDev_le_Test_app245105e5...
Info: Processing 224130 bytes



Please help.

Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Syncing error after setting application permission in bar.descriptor

You may be misinterpreting an intermittent issue.

Many of us have issues from time to time with deploying apps, through no fault of our own. There are still bugs somewhere in the subsystems involved (whether it's wifi, the system updater, or other pieces doesn't appear to be known).

I suggest you retry that deploy command 5-10 times and make sure it gives identical results each time before concluding that the post notifications permission is involved here.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!