A alon Active Member Licensed User Longtime User Nov 19, 2019 #1 Hi, I am having a situation which in some devices (in example xiaomi) even when the app is closed I still see the app in the notification area, Although this is not a push notification, and I can't close it. The only way to close it is when I am turning off the app notifications. Does anyone familiar with that problem. Thanks Attachments WhatsApp Image 2019-11-19 at 10.05.27.jpeg 49.6 KB · Views: 85 WhatsApp Image 2019-11-19 at 10.06.26.jpeg 57.4 KB · Views: 87
Hi, I am having a situation which in some devices (in example xiaomi) even when the app is closed I still see the app in the notification area, Although this is not a push notification, and I can't close it. The only way to close it is when I am turning off the app notifications. Does anyone familiar with that problem. Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 19, 2019 #2 Automatic Foreground Mode Upvote 0
A alon Active Member Licensed User Longtime User Nov 19, 2019 #3 Erel said: Automatic Foreground Mode Click to expand... I have added to the starter Service.StopAutomaticForeground but still the notification icon popup after a few minutes am I missing something? Thanks B4X: Sub Service_Start (StartingIntent As Intent) Sleep(0) Service.StopAutomaticForeground 'remove if not using B4A v8+. End Sub Upvote 0
Erel said: Automatic Foreground Mode Click to expand... I have added to the starter Service.StopAutomaticForeground but still the notification icon popup after a few minutes am I missing something? Thanks B4X: Sub Service_Start (StartingIntent As Intent) Sleep(0) Service.StopAutomaticForeground 'remove if not using B4A v8+. End Sub
DonManfred Expert Licensed User Longtime User Nov 19, 2019 #4 do you have any other service which is maybe running in foreground mode? Upvote 0
A alon Active Member Licensed User Longtime User Nov 19, 2019 #5 DonManfred said: do you have any other service which is maybe running in foreground mode? Click to expand... sorry my mistake, I have missed one of them. I will check again. Thanks Upvote 0
DonManfred said: do you have any other service which is maybe running in foreground mode? Click to expand... sorry my mistake, I have missed one of them. I will check again. Thanks