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

Adobe AIR Development

Reply
Highlighted
New Contributor
Posts: 5
Registered: ‎01-02-2013
My Device: blackberry dev alpha b
My Carrier: none
Accepted Solution

Error on push notification "Could not find any settings record for the application"

Hi im getting error "Could not find any settings record for the application", with status code 0. I hope someone can help me.

 

private function addNotificationToHub():void
{
NotificationManager.notificationManager.addEventListener(ErrorEvent.ERROR, onNotificationError);
NotificationManager.notificationManager.notifyNotification(notification);
}

private function onNotificationError(event:ErrorEvent):void
{
trace(event.errorID);
}

 Thankyou,

Javier

New Contributor
Posts: 5
Registered: ‎01-02-2013
My Device: blackberry dev alpha b
My Carrier: none

Re: Error on push notification "Could not find any settings record for the application"

I got it working, to notify notification with NotificationManager.notificationManager.notifyNotification() method, permission we need post nofication  <permission>post_notification</permission> permission on bar-descriptor.xml.

 

I didnt find this error in google or here maybe because almost all people followed the tutorial about post notification.

 

It was also working for me before but the descriptorfile was changed for some reason and i didnt note it.