Android Question Legacy notifications: Still work under SDK 26 & 27 and Android 7.0

KMatle

Expert
Licensed User
Longtime User
Relating to this thread, notifications will not work without channels from SDK 26+:

https://www.b4x.com/android/forum/threads/android-jar-targetsdkversion-minsdkversion.87610/#content

On my Huawei Mate 10 with Android 7.0 and a test app with SDK 26 and 27 the legacy notifications still work. As I've understood, they should not work anymore:


B4X:
Dim n As Notification
    n.Initialize
    n.Icon = "icon"
    n.OnGoingEvent=False
    n.Light=True
    n.SetInfo2("FCM","Message sent: " & MyData.get("time"),"This is the tag", "Main")
    n.Vibrate=False
    n.Notify(1)

Is this a Huawei special?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…