F fishwolf Well-Known Member Licensed User Longtime User Aug 25, 2015 #1 Is it possible set a counter on desktop icon for each push notification reveived (like facebook)? How to? Thanks
Is it possible set a counter on desktop icon for each push notification reveived (like facebook)? How to? Thanks
JanPRO Well-Known Member Licensed User Longtime User Aug 25, 2015 #2 Yes, B4X: App.ApplicationIconBadgeNumber = 10 Upvote 0
F fishwolf Well-Known Member Licensed User Longtime User Aug 26, 2015 #3 how to set the counter to + 1 when arrive a new push notification? i have see that the notification i manage from system and i have the application control only when tap on notification. Upvote 0
how to set the counter to + 1 when arrive a new push notification? i have see that the notification i manage from system and i have the application control only when tap on notification.
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2015 #4 There is no simple way to increment the current value. You should instead track the number in the server and set it. You can set it with the badge field: https://developer.apple.com/library...html#//apple_ref/doc/uid/TP40008194-CH100-SW1 Upvote 0
There is no simple way to increment the current value. You should instead track the number in the server and set it. You can set it with the badge field: https://developer.apple.com/library...html#//apple_ref/doc/uid/TP40008194-CH100-SW1