I got the DevicePushToken and sending APN push notification in the backend with Node, but I just couldn’t get it work on managed workflow. I followed exactly in docs which poorly documented and I also tried exactly like this.
APN returns: {"reason":"DeviceTokenNotForTopic"}
-Added APN in Apple Dev Portal and downloaded .p8 file
-Uploaded it to with expo credentials
-Used .p8 successfully when sending APN request
-Send request using ‘development’ https://api.development.push.apple.com
-Checked entitlement and its 'aps-environment': 'development'
-Yes, Bundle ID matches and exactly same in expo and apple dev portal