get ios device token that registered to APN

  1. SDK Version: 35
  2. Platforms(Android/iOS/web/all): iOS

Hi,
I’m working on a project where I have to set up my own push notification service + provider, without using Expo’s push notification service. Is there any way to generate the device id that registered to APN? So that I can make requests directly to APN servers, as in https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns

The closest thing I could find is getExponentPushTokenAsync(), but apparently, it only returns a device token that generated by expo and only works with expo push notification service, so that doesn’t match my needs.

Thanks in advance.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.