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

[Bug]: App is not opening if the notification is tapped #2253

Open
1 task done
pranav-orufy opened this issue Feb 3, 2025 · 3 comments
Open
1 task done

[Bug]: App is not opening if the notification is tapped #2253

pranav-orufy opened this issue Feb 3, 2025 · 3 comments
Labels

Comments

@pranav-orufy
Copy link

pranav-orufy commented Feb 3, 2025

What happened?

Currently i am facing issue with notification, where if the notification is displayed if the app is in foreground then on closing application and tapping on notification not opens the application.

Steps to reproduce?

Do it using INotificationServiceExtension
Add this in manifest file
<meta-data android:name="com.onesignal.NotificationServiceExtension" android:value=".YourClassName" />


1. Open the application then notification from dashboard.
2. When the notification is displayed, fully close the application.
3. After this tap on the application.
4. Now application won't open and notification will come again.

What did you expect to happen?

I expect it to open the application if the notification is tapped

OneSignal Android SDK version

5.1.27

Android version

13

Specific Android models

* Samsung S20 FE
* Samsung F05
* Xiaomi Redmi A2

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct
@pranav-orufy
Copy link
Author

pranav-orufy commented Feb 3, 2025

@guillaumeboussion
Copy link

We're running the exact same issue. I did connect ADB and ran adb logcat | grep com.myDomain.myApp. You'll see logs below (hope this can help)

Running on a Samsung A55 with Android 14

logs-ttt-notification.txt

@jinliu9508
Copy link
Contributor

Thank you for reporting this. We will look into the issue and get back to you as soon as possible.

@jinliu9508 jinliu9508 added the Bug label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants