Quantcast
Viewing all articles
Browse latest Browse all 8068

Push notifications subscribe success but subscribe devices in control panel show 0 !!

I'm using flash code to send requests to apc rest service. Till now I've managed to sucessfuly login and request file url. When it comes to push notification I send the following request

if(hasLoggedIn && deviceToken!="")
    var pushNotifData:Object = new Object();
    pushNotifData.channel = "news";
    pushNotifData.device_token = deviceToken;
    pushNotifData.type = type;
    sdk.sendRequest("push_notification/subscribe_token.json", URLRequestMethod.POST, pushNotifData, false, pushNotifSubscribeReply);
}
and I get a responce
code="200" 
status="ok" 
method_name="SubscribeNotificationByToken"
This tells me that I sucessfully subscribe on acs push notifications, but for some reason, when I go in Appcelerator Cloud --> Push Notifications tab I see the following You currently have 0 iOS clients, 0 Android clients subscribed to push notifications.

Why is that?

Info: 
Mobile application made on flash (actionscript 3):
Platforms: ios and android
Testing device apple ipad 4.
Working on IntelliJ on osX Mavericks.

Viewing all articles
Browse latest Browse all 8068

Trending Articles