-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidArgumentError
should not cause deactivation of token
#223
Comments
@xtrinch Let me now, what do you think about it - I will file PR for it. |
I think perhaps you're right that this does not qualify for token deactivation |
I also noticed that the token is deleted on the Firebase server as well. Not sure whether the module is pruning it (calling some delete APIs on Firebase) or it happens because of the |
Noticed that once deleted from Django-server, when I ask for |
If firebase also deletes them, then I think it is the correct behavior. |
I tested and noticed this with iOS only, not sure it is the same for other platforms. |
This module doesn't delete any tokens. If firebase deletes them, then it's OK if this module does too |
Need to confirm this behaviour, I am using flutter clients - which are wrapper around native libraries. Also not sure if this happens with Android tokens as well. Keeping this issue open, until this is verified. |
^^ from firebase docs
I think this should NOT cause deletion of token. In my case I had a bug in sending message - some arg (TTL) was not proper. This caused tokens to be removed permanently.
Following could be the solution
fcm_error_list
[my preferred solution]DEACTIVE_ON_INVALID_ARGUMENT_ERROR
(or something), to enable/disbale this behaviourThe text was updated successfully, but these errors were encountered: