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

Native Development

Reply
Developer
fredoust
Posts: 75
Registered: ‎09-12-2012
My Device: Looking for a BB10 testing device

Pushcollector Push Service could not connect to the Push Agent

Hi all,

I would like to enable my app for push service, so I look around the example pushcollector.

The problem is when I fill the configuration I get the error :

 

Push Service could not connect to the Push Agent

 

From the documentation this seems to append if the application doesn't have sufficient permissions, but this is the example and the push permition is checked.

 

   

    // Check to see if the PushService has a connection to the Push Agent.
    // This can occur if the application doesn't have sufficient permissions
    // to use Push.
    if (m_pushService->hasConnection()){
        m_pushService->createSession();
    } else {
        emit noPushServiceConnection();
    }

 

Someone get any ideas ?

 

Thanks.

 

---------
Mobile developer freelance - QtQuick - Cascades - WP7 - Android
My works : http://fdelgado.fr