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]: The Clicked event is called when the App is in foreground or background, but not when it is closed. #118

Open
1 task done
DaveBrask opened this issue Aug 25, 2024 · 1 comment

Comments

@DaveBrask
Copy link

What happened?

The Clicked event is called when the App is in foreground or background, but not when it is closed.
The app launches, but the user is not navigated to the intended screen because the click event listener isn't triggered.

My problem is the same as:
OneSignal/react-native-onesignal#1549
except it is for C#.Net Maui Android and iOS.

Platform: Android and iOS

We either need an opened event for this case, or call Clicked for this case.

Steps to reproduce?

Close the app.
Send a push notification to the device.
Click on the received notification.

What did you expect to happen?

Upon clicking the notification, the app should launch and navigate the user to the appropriate screen as per the event Clicked listener.

Relevant log output

The app launches, but the user is not navigated to the intended screen because the click event listener isn't triggered.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@tele-bird
Copy link

tele-bird commented Aug 30, 2024

I was having this exact same issue on Android using the .NET SDK. What fixed it eventually for me was removing this entry from my Android manifest. It was filtering my action.
<data android:host="my.app"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants