Please provide the following:
- SDK Version:39
Thank you for your great works. I want to ask about the duplicate push notifications issue: [notifications] Duplicate push notifications sent occasionally · Issue #8250 · expo/expo · GitHub .
I think this issue is still under investigation and we should send notifications to an Expo app directly through APNs and FCM, not through Expo’s Push API, to avoid duplicate push notifications.
Unfortunately, we have not noticed it before and we have been using Expo’s Push API even though we want to avoid the issue. To fix it, we want to try to modify our codes into the form using APNs and FCM directly, but at the same time we don’t want to lose a lot of the Expo push token data we have stored so far.
I’m wondering if somehow we can reuse the token data when we send notifications with APNs and FCM directly. Is there any APIs to reproduce the correspondent tokens for APNs and FCM from the Expo push tokens?