-
Notifications
You must be signed in to change notification settings - Fork 94
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
Why Chat21 SDK creating multiple tokens for Messages? #54
Comments
Are your referring to authentication token or other? |
Actually, I am already generating the Firebase Token using below method. But the problem is Chat21 SDK also registering new token and my previous token expired and I am not getting normal push notification. Is there any way we can restrict token generation from the Chat21 SDK? |
Or else we can get the new token in MyFirebaseInstanceIdService? |
If you authenticate the user outside Chat21 I think you should don't use the Chat21 authentication. You must get the Firebase current user with: Create an IChatUser e start the Chat21SDK with: See here an example: https://github.com/chat21/chat21-android-demo/blob/development_v2/app/src/main/java/chat21/android/demo/AppContext.java |
I am not getting any notification when another user or member send me any message via Chat21 SDK. Thanks in advance 💯 |
I am not getting any notification when another user or member send me any message via Chat21 SDK. |
Can anyone please tell me to do this for any specific reason?
The text was updated successfully, but these errors were encountered: