jav/expo-server-sdk-java

Additional Ticket Errors

Opened this issue · 4 comments

I am having an issue with my outdated branch and was looking in master to see if it would be fixed but it seems like it would fail for a different reason

Currently TicketError only allows for DeviceNotRegistered. There exists at least one more case
My current error:
There was an unknown error with the FCM server. See this error's details for more information.: Details [error=ProviderError, sentAt=null, additionalProperties={fault=fcm}]

I do not think using enums is appropriate for error codes in this case as unknown errors will call json parse exceptions

jav commented

Hi, is there any news on this? We are also facing the same issue.

jav commented

I would love to accept a PR on this topic.
However, I won't have the time before summer to implement and test such a change myself.