codedge-llc / pigeon

iOS and Android push notifications for Elixir
https://hex.pm/packages/pigeon
MIT License
606 stars 133 forks source link

fix(fcm): look at the errorCode instead of status when parsing FCM errors #245

Closed mdlkxzmcp closed 5 months ago

mdlkxzmcp commented 9 months ago

This makes it so that an unregistered error, which has the status "NOT_FOUND", is appropriately handled.

Related to https://github.com/codedge-llc/pigeon/pull/221