A Adamdam Active Member Licensed User Longtime User Jan 2, 2019 #1 Dear All, Good days. I need to clear firebase notification. The notification already occurred correctly, and make notification in pull-down menu, also add hint number "1" on the app. icon. How can I clear them when opening (resuming) the app. Thanks in advance.
Dear All, Good days. I need to clear firebase notification. The notification already occurred correctly, and make notification in pull-down menu, also add hint number "1" on the app. icon. How can I clear them when opening (resuming) the app. Thanks in advance.
DonManfred Expert Licensed User Longtime User Jan 2, 2019 #2 1. Use autocancel in the notification builder B4X: n.AutoCancel(True) or 2. use dismiss on the notification object with the ID 815 (which should be the id when generating the notification) B4X: Dim nn As Notification nn.Cancel(815) Upvote 0
1. Use autocancel in the notification builder B4X: n.AutoCancel(True) or 2. use dismiss on the notification object with the ID 815 (which should be the id when generating the notification) B4X: Dim nn As Notification nn.Cancel(815)
A Adamdam Active Member Licensed User Longtime User Jan 2, 2019 #3 Many thanks Eng. DonManfred. The first option worked well. best regards Upvote 0