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

[question]: Can't Disable Launch URL Notification when opened (Flutter) #863

Closed
1 task done
lyfer-bob opened this issue Mar 22, 2024 · 3 comments
Closed
1 task done

Comments

@lyfer-bob
Copy link

lyfer-bob commented Mar 22, 2024

How can we help?

Unable to disable the launch url in notification when opened.

What can I do to completely remove the launch Url?

ENV.
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.2, on Microsoft Windows [Version 10.0.19045.2728], locale th-TH)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)

onesignal_flutter : Release 5.1.2
Emulator : Android 13

and add the code in AndroidManifest.xml

<meta-data android:name="com.onesignal.suppressLaunchURLs" android:value="true"/>

https://documentation.onesignal.com/docs/links

or

<application ...> <meta-data android:name="com.onesignal.NotificationOpened.DEFAULT" android:value="DISABLE" /> </application>

https://documentation.onesignal.com/docs/android-customizations

But It's not working. How can i do that.

Thanks.

Code of Conduct

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

Hello
Did you get the solution?

@chuanpham
Copy link

I did encounter the same problem!

@jennantilla
Copy link
Contributor

Hello there--apologies that this question was missed! Please see our documentation on suppressing Android Launch URLs.

If you have any additional questions or concerns please let us know!

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

4 participants