Open AnishaChhatwani opened 4 years ago
Task Update: Today I have fixed some UI issues after upgrade expo SDK also fixed this issue Notification remains even after viewing the message. but there is another issue which I am facing when the app is close and if we get a notification and click on the notification it is not redirecting to chat screen due to NotificationResponseReceivedListener is not called. This is not our code bug it is expo SDK38.0.0 bug. https://github.com/expo/expo/issues/6943 this is already opened a ticket and I have commented. Now waiting for a response.
I got some answers from the expo community from still I am facing same problem. I have commented again. https://github.com/expo/expo/issues/9866
@sojharo @arveenkumar55 @AnishaChhatwani
This is not rocket science - There are millions of apps that are getting notification. What is the solution?
What is the implication if notification is not working on the application?
Why we are not discussing this in the status meeting
I have create a document with screenshot https://docs.google.com/document/d/1qmDuVBiWeinHfU5ASuXg2_LyLszmNyvHjrR4lxCV5vs/edit?usp=sharing will discuss in meeting.
I did manual testing today and found out that. I am not getting any push notifications @arveenkumar55 please look into this issue.
@Faizan20 please test now locally
I have tested locally I am recieving push notifications now.
@arveenkumar55 What is the status of this task? Is the code on staging or production? The last status if from 20 days ago?
@sojharo Please review
I will review this with @arveenkumar55 today.
There are three scenarios in which a user can get push Notifications on Mobile.
For Android:
When an App is in the foreground(open) and when the user clicks on the notification it is redirecting to the chat screen (expected)
When an App is in the background and when the user clicks on the notification it is redirecting to the chat screen (expected)
When an App is in the close and when the user clicks on the notification it is redirecting to the Livechat Session screen (Not expected)
For IOS:
When an App is in the foreground(open) and when the user clicks on the notification it is redirecting to the Livechat Session screen (Not expected).
When an App is in the background and when the user clicks on the notification it is redirecting to the Livechat Session screen (Not expected).
When an App is in the close and when the user clicks on the notification it is redirecting to the Livechat Session screen (Not expected)
In Every case when a user clicks on a notification it should redirect to the chat screen, not the Livechat Session screen. It is because of NotificationResponseReceivedListener is not called. This is not our code bug it is expo SDK38.0.0 bug. https://github.com/expo/expo/issues/9866
This code is in Production.
@sojharo @arveenkumar55 I am confused and lost. What is the next here if any?
The work is complete from our side but we are getting errors from the expo. In Every case when a user clicks on a notification it should redirect to the chat screen, not the Livechat Session screen. It is because of NotificationResponseReceivedListener is not called. This is not our code bug it is the expo SDK38.0.0 bug. expo/expo#9866
Assigning this to @AnishaChhatwani
Please see if the issue got resolved or not. Else try to find a workaround for this.
This task is to write logic to show notifications on mobile whenever a subscriber messages