APN notification is not working but response from api is success

In your post, please share:

  • Whether you are bare or managed workflow
  • Your eas-cli 3.1.1
  • What you have tried so far

I am implemented APN (apple push notification) it is getting success. but in the app i am not able to receive notification. I am getting result from apple

Blockquote
[1] => Pushok\Response Object
(
[apnsId:Pushok\Response:private] => XXXXXXXXXXXXXXX
[deviceToken:Pushok\Response:private] => XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[statusCode:Pushok\Response:private] => 200
[errorReason:Pushok\Response:private] =>
[error410Timestamp:Pushok\Response:private] =>
)
but in the app, I am not able to receive any notifications in the app. The app is built in expo react native. I am using an expo-notification package and using the getDevicePushTokenAsync() function.