F fransvlaarhoven Active Member Licensed User Longtime User May 22, 2017 #1 Hello, when an app opens, the remote notifications are not automatically cleared but stay. How can I clear all remote notifications when the app opens?
Hello, when an app opens, the remote notifications are not automatically cleared but stay. How can I clear all remote notifications when the app opens?
tufanv Expert Licensed User Longtime User May 22, 2017 #2 fransvlaarhoven said: Hello, when an app opens, the remote notifications are not automatically cleared but stay. How can I clear all remote notifications when the app opens? Click to expand... Do you mean the numbers on the icon of the app or do you mean the message that pops up after opening the app with msgbox ? or anything else ? Upvote 0
fransvlaarhoven said: Hello, when an app opens, the remote notifications are not automatically cleared but stay. How can I clear all remote notifications when the app opens? Click to expand... Do you mean the numbers on the icon of the app or do you mean the message that pops up after opening the app with msgbox ? or anything else ?
F fransvlaarhoven Active Member Licensed User Longtime User May 22, 2017 #3 I want to clear the notification(s), message(s) that are showed when the phone receives push-notification when the app is not active. when the app opens, I read the notifications with "Application_RemoteNotification" but I also want to remove them without the user has to push the notification Upvote 0
I want to clear the notification(s), message(s) that are showed when the phone receives push-notification when the app is not active. when the app opens, I read the notifications with "Application_RemoteNotification" but I also want to remove them without the user has to push the notification
tufanv Expert Licensed User Longtime User May 22, 2017 #4 sorry I could not understand what you mean. When the notification arrives , the notification is shown for some second and dissappear when the app is not active. You want to clear the notification in the notification list when you pull down the notification list from ios home screen ? Upvote 0
sorry I could not understand what you mean. When the notification arrives , the notification is shown for some second and dissappear when the app is not active. You want to clear the notification in the notification list when you pull down the notification list from ios home screen ?
F fransvlaarhoven Active Member Licensed User Longtime User May 22, 2017 #5 No, that is not the problem. I want to clear the notification(s) when the user starts the app by pushing the icon of the app. In other words, when the app starts, I want to clear all notifications in the notification list Upvote 0
No, that is not the problem. I want to clear the notification(s) when the user starts the app by pushing the icon of the app. In other words, when the app starts, I want to clear all notifications in the notification list
tufanv Expert Licensed User Longtime User May 22, 2017 #6 fransvlaarhoven said: No, that is not the problem. I want to clear the notification(s) when the user starts the app by pushing the icon of the app. In other words, when the app starts, I want to clear all notifications in the notification list Click to expand... I don't think it is possible to remove any notification from notification list of ios by the app. @Erel would correct me if i am wrong. Upvote 0
fransvlaarhoven said: No, that is not the problem. I want to clear the notification(s) when the user starts the app by pushing the icon of the app. In other words, when the app starts, I want to clear all notifications in the notification list Click to expand... I don't think it is possible to remove any notification from notification list of ios by the app. @Erel would correct me if i am wrong.
F fransvlaarhoven Active Member Licensed User Longtime User May 22, 2017 #7 I hope you are wrong and Erel has a solution Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 22, 2017 #8 Based on this answer: https://stackoverflow.com/questions...remote-notifications-from-notification-centre you should reset the badge number and it will clear the notifications. Code: App.ApplicationIconBadgeNumber = 0 It is is already 0 then set it to 1 and then to 0. Upvote 0
Based on this answer: https://stackoverflow.com/questions...remote-notifications-from-notification-centre you should reset the badge number and it will clear the notifications. Code: App.ApplicationIconBadgeNumber = 0 It is is already 0 then set it to 1 and then to 0.
F fransvlaarhoven Active Member Licensed User Longtime User May 22, 2017 #9 Erel said: Based on this answer: https://stackoverflow.com/questions...remote-notifications-from-notification-centre you should reset the badge number and it will clear the notifications. Code: App.ApplicationIconBadgeNumber = 0 It is is already 0 then set it to 1 and then to 0. Click to expand... Just tested it and it works Thanks Upvote 0
Erel said: Based on this answer: https://stackoverflow.com/questions...remote-notifications-from-notification-centre you should reset the badge number and it will clear the notifications. Code: App.ApplicationIconBadgeNumber = 0 It is is already 0 then set it to 1 and then to 0. Click to expand... Just tested it and it works Thanks
tufanv Expert Licensed User Longtime User May 22, 2017 #10 as you can see , I was right about Erel hehe Thanks Erel, a new thing learnt . Upvote 0
F fransvlaarhoven Active Member Licensed User Longtime User May 22, 2017 #11 tufanv said: as you can see , I was right about Erel hehe Thanks Erel, a new thing learnt . Click to expand... I know, the support we receive is worth paying 10 times the licence cost of this product, not to mention all other benefits of using the B4X-familly Upvote 0
tufanv said: as you can see , I was right about Erel hehe Thanks Erel, a new thing learnt . Click to expand... I know, the support we receive is worth paying 10 times the licence cost of this product, not to mention all other benefits of using the B4X-familly