Hi everyone.
i create 2 button for notification.
when send first notification ,my notification work good and have 2 button.
but when send second notification or three my notification make another button
i create 2 button for notification.
when send first notification ,my notification work good and have 2 button.
but when send second notification or three my notification make another button
B4X:
Sub Makenotification
nb6lib.AutoCancel(False)
nb6lib.SmallIcon(smiley)
nb6lib.BigPictureStyle(BigPushIcon,baneer, BigContentTitel, BigSummaryText)
nb6lib.AddButtonAction(Null,s1,Me,"tag_click_positive")
nb6lib.AddButtonAction(Null,s2,Me,"tag_click_negative")
nb6lib.DeleteAction(Me,"tag_Delete_push")
notification1=nb6lib.Build(SmalContentTitle, SmalContentText, "FirebaseMessaging1_notification",Me ) 'It will be Main (or any other activity) instead of Me if called from a service.
notification1.Notify(1)
End Sub