expo-server-sdk-node icon indicating copy to clipboard operation
expo-server-sdk-node copied to clipboard

add ProviderError to ExpoPushSuccessReceipt

Open 25khattab opened this issue 3 years ago • 3 comments

25khattab avatar Feb 02 '23 22:02 25khattab

add provider error type to detect MismatchSenderId with typescript here is the response I got so I had to make this pull request

{
  status: 'error',
  message: "There was an unknown error with the FCM server. See this error's details for more information.",
  details: {
    error: 'ProviderError',
    fault: 'fcm',
    fcm: { error: 'MismatchSenderId' }
  }
}

25khattab avatar Feb 02 '23 22:02 25khattab

Can you merge it?

milan2sky avatar Dec 05 '23 09:12 milan2sky

I don't know why they didn't yet TBH

25khattab avatar Dec 05 '23 09:12 25khattab