If I use the following in my manifest:
Then the following notification works without problems:
When I change to android:targetSdkVersion="26", then the notification is no longer displayed. I have also tried the NotificationBuilder with the same effect.
What do I miss here?
B4X:
...
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="25"/>
...
AddPermission(android.permission.VIBRATE)
Then the following notification works without problems:
B4X:
Dim n As Notification
n.Initialize
n.Icon = "icon"
n.SetInfo("This is the title", "and this is the body.", "") 'Change Main to "" if this code is in the main module.
n.Notify(1)
When I change to android:targetSdkVersion="26", then the notification is no longer displayed. I have also tried the NotificationBuilder with the same effect.
What do I miss here?