MORE-Platform / more-app-multiplatform

The mobile application for the MORE platform.
https://more-health.at
Other
6 stars 1 forks source link

Android Push Notification with Deep Link Issue #275

Open alireza-dhp opened 3 weeks ago

alireza-dhp commented 3 weeks ago

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:

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? https://github.com/MORE-Platform/more-app-multiplatform/issues/197#issuecomment-1759766411

janoliver20 commented 2 weeks ago

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

janoliver20 commented 2 weeks ago

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

alireza-dhp commented 1 week ago

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.