Hi guys,
Anyone notice that the Android device is not getting any push-notification ID on the new corona builds ?
Went thru the guides again to ensure there are no changes (https://docs.coronalabs.com/guide/events/appNotification/index.html)
I even tested on the default code, and it does not get anything.
It works on builds 2016.2961 & 2016.2883
does not work on builds 2017.3068 & 2017.3064
I have not tested on Apple yet, but will do so soon.
Update : Tested 2017.3068 on Apple, and notification id is received. So, it works on Apple but not on Android.
local function notificationListener( event ) if ( event.type == "remote" ) then --handle the push notification print( '--- notification remote' ) elseif ( event.type == "remoteRegistration" ) then --code to register your device with the service print( '--- notification remoteRegistration' ) end end Runtime:addEventListener( "notification", notificationListener )