OneSignal-Flutter-SDK icon indicating copy to clipboard operation
OneSignal-Flutter-SDK copied to clipboard

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

Open lyfer-bob opened this issue 1 year ago • 2 comments
trafficstars

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

  • [X] I agree to follow this project's Code of Conduct

lyfer-bob avatar Mar 22 '24 12:03 lyfer-bob

Hello Did you get the solution?

Mohamed-Abdelsalamm avatar Apr 14 '24 02:04 Mohamed-Abdelsalamm

I did encounter the same problem!

chuanpham avatar Jun 03 '24 08:06 chuanpham