OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
606 stars 204 forks source link

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

Open lyfer-bob opened 3 months ago

lyfer-bob commented 3 months ago

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 ...>

`

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
Mohamed-Abdelsalamm commented 2 months ago

Hello Did you get the solution?

chuanpham commented 4 weeks ago

I did encounter the same problem!