remoteRegistration problem iOS 6

My app is no longer triggering the remote registration  event for push notifications on iOS 6.1.6 device. I am also testing with ios7 device and it works fine on that.

Has anyone come across this issue before? I really need to get a solution for this asap. It worked fine before but for some reason is doesn’t now.

I have only one device to use when testing iOS 6 so I can’t say for certain that its a problem with that. My app is already in the store so if this is an issue with all ios 6 devices I need to fix it immediately.

Also this app was built using Corona Build 1260

Thanks

Gooner87

No, though I haven’t faced such issues with my apps yet so I can’t say surely but I guess this mght be issue with your device

I am hoping it is, but I really need to find out for sure. Hopefully someone else can shed some light on this. I have read through numerous topics with people having problems receiving the remoteRegistration event for lots of different reasons like the Corona build they used.

But I still have not seen one solution for this issue. WHy is it so hard to find out what is going wrong?

Are you trying to call an old trigger method or if you are using updated one have you checked the competency of the method with ios 6.1.6 ?

old trigger? this is my remoteRegistration eventListener in main.lua

 if event.type == "remoteRegistration" then print("Device token................") print(deviceID) print("Device token................") appleRegistrationId = event.token registerDevice(appleRegistrationId) --native.showAlert( "Push notification", "This device has registered for push notifications", {"OK"}) --storyboard.regID = googleRegistrationId ids:store("appleId",appleRegistrationId) ids:save() storyboard.appleID = event.token local badge = native.getProperty( "applicationIconBadgeNumber" ) if badge \> 0 then --badge = badge - 1 badge = 0 native.setProperty( "applicationIconBadgeNumber", badge ) end

I have always used this

No, though I haven’t faced such issues with my apps yet so I can’t say surely but I guess this mght be issue with your device

I am hoping it is, but I really need to find out for sure. Hopefully someone else can shed some light on this. I have read through numerous topics with people having problems receiving the remoteRegistration event for lots of different reasons like the Corona build they used.

But I still have not seen one solution for this issue. WHy is it so hard to find out what is going wrong?

Are you trying to call an old trigger method or if you are using updated one have you checked the competency of the method with ios 6.1.6 ?

old trigger? this is my remoteRegistration eventListener in main.lua

 if event.type == "remoteRegistration" then print("Device token................") print(deviceID) print("Device token................") appleRegistrationId = event.token registerDevice(appleRegistrationId) --native.showAlert( "Push notification", "This device has registered for push notifications", {"OK"}) --storyboard.regID = googleRegistrationId ids:store("appleId",appleRegistrationId) ids:save() storyboard.appleID = event.token local badge = native.getProperty( "applicationIconBadgeNumber" ) if badge \> 0 then --badge = badge - 1 badge = 0 native.setProperty( "applicationIconBadgeNumber", badge ) end

I have always used this