Closed maggiemaria closed 7 years ago
Same problem here, but different Android version (4.4.4).
Do you have this problem only on Android 4.4.4?
PushNotification.getInstance().registerForPushNotification(GOOGLE_PROJECT_ID);
Remember that the GOOGLE_PROJECT_ID you need to send is in fact the project number in GCM.
Anyway, that doesn't solve the problem on Android 5 and above
With other versions (or devices) registerForPushNotification
is working.
Maybe in my case it's not about the version.
Same here, Android 4 and 5 not working :/ There have been some changes to this branch 18 hours ago, but is the Android issue fixed?
The GCM ane described here seems to work: https://www.as3gamegears.com/air-native-extension/android-gcm/
I tested it on Android 4.x and the notifications work great, but no vibration or sound :(
Also, is it possible to wake locked Android screen with Adobe Air apps?
Push notifications work perfectly on all devices except those having Android 5.0 or 5.1 OS. The application doesn't receive any response from GCM. Neither PERMISSION_GIVEN_WITH_TOKEN_EVENT nor PERMISSION_REFUSED_EVENT are never raised. Could you please help me? Thanks in advance!
This is my code: