freshplanet / ANE-Push-Notification

Air Native Extension (iOS and Android) for Push Notification
Apache License 2.0
205 stars 104 forks source link

GCM never register #13

Closed elitcenk closed 11 years ago

elitcenk commented 11 years ago

I am new to Flex. I want to simple application with using GCM. I register Google API and I get a project id. I try to use ANE but not register. And my second question is how can I change Android Manifest file?

My simple code is : PushNotification.getInstance().registerForPushNotification(GOOGLE_PROJECT_ID); PushNotification.getInstance().addEventListener(PushNotificationEvent.PERMISSION_GIVEN_WITH_TOKEN_EVENT,onPermissionGivenToken); PushNotification.getInstance().addEventListener(PushNotificationEvent.PERMISSION_REFUSED_EVENT,onPermissionRefused);