-
Notifications
You must be signed in to change notification settings - Fork 10
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
Notifications are not taking users to an activity - instead, they are seeing a blank screen #59
Comments
@elenamrv |
@sarithapillai8 is it possible to make it so that a notification will always take you to the desired activity? 5 minutes is a very short window. |
@avaidyam @elenamrv |
@sarithapillai8 @elenamrv So this sounds more like a quick fix for @Linoy339 to update the |
@avaidyam . Is it to make expiry as null or to update it in a manner which @sarithapillai8 said ? |
@Linoy339 Let's make it 6 hours for now (i.e. |
Yes. We will make it 6 hours then for time being |
@avaidyam . Its done. Please check BIDMCDigitalPsychiatry/LAMP-server#35 |
@Linoy339 Great - just merged it. All of these changes are now in the staging environment so could you do another round of stability testing to make sure nothing crashes/fails before we push to production? |
@avaidyam . We will do a round of testing and let you know |
@avaidyam. We have tested. Its found that no apns-collapse-id in app-gateway ios notification part. This is required for autoremoval of notification after expiry period(as @jijopulikkottil said). Also, deviceType need to be passed inorder to identify whether its phone or watch. For phone, the apns-push-type should be "alert" and "background" for the watch. All these changes has been pushed and initiated a pull request in app- gateway. Please check BIDMCDigitalPsychiatry/LAMP-app-gateway#4 Also, we had to do some minor change(notificationId generation and removal of headers) in notification sending part in LAMP-server. This is also given as a pull request. |
@Linoy339 I think these changes should only be made in |
@avaidyam . But, apns-collapse-id and apns-push-type need to be passed from app-gateway like this : Can you please check ? |
@Linoy339 This is the correct implementation for adding support for those parameters. Please adjust your code accordingly. |
Okay. Is the new changes in app-gateway changes deployed in server. Can I call test it locally ? |
@Linoy339 Yes - the changes should be live. |
@avaidyam .Can you please put buffer variable above the HEADERS variable. Its making some error, it seems. Buffer got initialized after preparing HEADERS in which buffer variable is used. https://github.com/BIDMCDigitalPsychiatry/LAMP-app-gateway/blob/master/app.js#L73 |
Done and updated! |
Thank you. |
Please check |
We have reports from different that users that when they click on a notification, they are not taken to the intended activity or survey. Instead, they see a blank screen OR are shown an "error." Please see the below for a video of the issue:
Video.mov.zip
I think this was a previous issue, but the problem seems to persist.
The text was updated successfully, but these errors were encountered: