Skip to content
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

Android Push Notification with Deep Link Issue #275

Open
alireza-dhp opened this issue Oct 25, 2024 · 4 comments · Fixed by #276
Open

Android Push Notification with Deep Link Issue #275

alireza-dhp opened this issue Oct 25, 2024 · 4 comments · Fixed by #276
Assignees
Labels
bug Something isn't working high priority

Comments

@alireza-dhp
Copy link
Member

alireza-dhp commented Oct 25, 2024

Issue Summary:
Tapping on a push notification message to open an observation via a deep link does not work correctly on Android devices when the application is closed (not running in the foreground or background). Instead of opening the specific observation, the app opens the observation details page.
Since the observation in our study is only accessible via the "Action" notification (it is a hidden observation), participants are missing the opportunity to fill out the observation.

This issue does not occur on iOS devices.

Steps to Reproduce:

  • Sign in to a study with a deep link intervention.
  • Close the app (ensure it is not running in the foreground or background).
  • Wait till you receive a push notification.
  • Tap on the push notification message from the device (not in the app) with a deep link to the observation.
  • Observe that the observation details page opens instead of the observation main page.

Expected Behavior:
Tapping on the push notification message should directly open the observation, even when the app is closed.

Test Environment:
Google Pixel 3 XL
Android version: Latest (v4.0.17)
iOS: Not affected

related issue? #197 (comment)

@alireza-dhp alireza-dhp added bug Something isn't working high priority labels Oct 25, 2024
@janoliver20
Copy link
Contributor

@alireza-dhp Hi Alireza, which Android OS Version are you using?

@janoliver20 janoliver20 linked a pull request Oct 31, 2024 that will close this issue
@janoliver20 janoliver20 self-assigned this Oct 31, 2024
@janoliver20
Copy link
Contributor

Issue is fixed, deeplinks are now working even if the App is freshly opened

@alireza-dhp alireza-dhp mentioned this issue Nov 4, 2024
@alireza-dhp
Copy link
Member Author

Thank you for addressing the issue.
However, it still occurs when the app is first opened from an action notification right after the study resumes.
It's not urgent, but I'll keep the issue open for the next round of bug fixes.

@alireza-dhp
Copy link
Member Author

alireza-dhp commented Dec 10, 2024

Here are screenshots from a participant who experienced the issue even after the bug was fixed.
As a result, the participant was unable to respond to this observation.

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants