we are planning to move to the new Token-Based Connection to APNs to send notifications. Apple Document.
This supports sending notifications to multi apps under the same team id and irrespective of environment stage/prod.
But weirdly when try to send notif to device token of production app it's working. whereas when I tried to send notif to stage app device token it failed with error 400 BadDeviceToken.
From the documentation, it mentions the following:
Are you refreshing your development token regularly? If yes, then try deleting the app from the device and reinstalling it from Xcode as mentioned in this LINK.
Hope this helps fix your issue.
Regards,
AJ