ExpoToken token still valid after app uninstalled (Apple Devices)

Hi there,

I was testing the push notification tokens for DeviceNotRegistered Error. I uninstall the app from the device after the token gets generated and successfully receiving notifications on that device.

After that,
when I invoke Expo API to push notifications along with the token which I am expecting to be Invalidated, I am still getting status : “ok” instead of getting “DeviceNotRegistered” error.

Facing this issue only in Apple devices and working as expected for Androids.
I have tested it with the Expo app as well as standalone iOS build.

When do tokens get invalidated after uninstall? Thanks!

hi! we’re aware of this, but it also seems like there may not be much we can do on our end about it just yet. :confused:

Hey Charliecruzan,

Thanks for the response.
After going through few open issues and threads regarding the same, seems like it’s not really specific to Expo but its more on the APNs’s end. But are we good if we keep pushing the notifications to these tokens?

seems like it’s not really specific to Expo but its more on the APNs’s end

I agree with you there. And it doesn’t look like there’s any negative outcomes for your app if you continue pushing to those tokens

1 Like