You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I need to be able handle and cleanup tokens that have expired or are not working for whatever reason. I just migrated from sendToDevice to send and I was surprise that only a string response/error is returned when send is called.
Describe the solution you'd like
A response object that contains status, error code and message
similar to the return type of the now deprecated sendToDevice method
Is your feature request related to a problem? Please describe.
I need to be able handle and cleanup tokens that have expired or are not working for whatever reason. I just migrated from sendToDevice to send and I was surprise that only a string response/error is returned when send is called.
Describe the solution you'd like
A response object that contains status, error code and message
similar to the return type of the now deprecated sendToDevice method
export interface FirebaseError {
}
Describe alternatives you've considered
There is no exhaustive list of all the error so there is no way for me to know when to remove expired token from my DB or keep them
Additional context
it is a bit wierd that other methods get a proper error object but send just gets a string error
The text was updated successfully, but these errors were encountered: