-
Notifications
You must be signed in to change notification settings - Fork 3
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
Push notifications do not work unless the chat is opened for the first time. #65
Comments
Hi @captain-KasH, This this the expected behavior for our SDK. Regards, |
Hi @waelba, There is active chat and user reinstall/login with diff device. Notification should work without opening Dimelo screen, because chat is already active. Is this covered under the SDK? |
Hi @captain-KasH, The fact that a notification is sent is dependent on whether the user has authorized the notification on the application, if you just re-installed the application and never opened it you can't accept the notification permission which makes it impossible for you to receive a notification even though a chat session is ongoing |
Hi @captain-KasH, we're going to investigate how to better handle this case. I'm re-opening the issue and I'll let you know if/when there's a fix coming |
I’m facing an issue with push notifications. Notifications are not received when the app is opened for the first time. The Dimelo SDK initialization and token initialization are already completed, but the chat needs to be opened before receiving notifications, basically need to trigger dimelo.openRcActivity(currentActivity).
In this case, users with an ongoing chat who uninstall and reinstall the app never receive push notifications without accessing the chat module first.
React Native: v0.75.4
Dimelo SDK: 3.2.8
The text was updated successfully, but these errors were encountered: