Try it with:
n.Initialize2(n.IMPORTANCE_HIGH)
Thanks for your reply but it doesn't work.
The only effect now is that as soon as I click the button the notification automatically opens at the top of the screen and closes itself after 5 seconds.
Still no vibration on both an Oppo running Android 13 and a Xiaomi on Android 14.
I don't really need a notification, all I need is a method to make the phone vibrate under certain circumstances, like when my app receives some kind of data.
I have tried the PhoneVibrate option, it works on Android 13 but not on Android 14.
Anyone can lead me to a reliable way to make the phone vibrate on both Android 13 and 14 ?
Steve