-
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
Messaging Activity not launching from Notifications #31
Comments
try to update your chat21-cloud-function code. https://github.com/chat21/chat21-cloud-functions |
Hi @andrealeo83 , Will give it a try and update you. |
Facing the same issue. Tried updating cloud function, still it did not help. What exactly to fix in Cloud Functions? |
Cloud Functions now send different Click_action for each devices (ios, android, ionic):
|
Any Solution, Facing same problem. i have setup Ionic web and android app sdk. When i try to chat from ionic web to android. i am getting notification in android but when i try to open it nothing happening. Here is logs i receive when i tap to notification : 2019-07-28 15:54:48.075 1818-1818/com.testing.app E/FirebaseMessaging: Notification pending intent canceled Looking forward for solution, Thanks.. |
I solved this issue by upgrading firebase messaging : implementation 'com.google.firebase:firebase-messaging:17.3.4' I got another issue When i click on notification : E/FirebaseMessaging: Notification pending intent canceled |
Got Solution, On Cloud Functions Dont Pass : click_action in notification
it will take main activity from app. |
@andrealeo83 @Sakpal Do we need to enable anything in our code for sending and receiving push notifications? We have implemented chat21-SDK successfully we are able to get the message on another end as well but notifications are not working on android and ios devices. I see there is js under the functions/push-notification.js seems it should work but it is not. am I doing something wrong or missing any configuration? please help! thanks in advance! |
When app is in killed state and user receives a chat, a notification is shown. When tapped on that notification, nothing happens...
Tried it on Android 7.0 and 8.1
One observation is that if the app is in foreground and you get a message notification, kill the app and now tap on the notification. It works.
The text was updated successfully, but these errors were encountered: