B4A Tutorial Automatic Foreground Mode - Erel    Jun 12, 2018   (18 reactions) The service will not be immediately destroyed.
2. Call StopService(Me).
If you don't stop the automatic foreground mode then a notification icon will be left after the task completed.
For example if you are receiving push notifications:
Sub Service_Start (StartingIntent As Intent)
fm.HandleIn Other B4A v8.0 has been released! - Erel    Mar 20, 2018   (59 reactions) I'm very happy to release B4A v8.0. This update includes many important improvements and makes it simpler to target the latest versions of Android.
https://www.b4x.-png.65413/
(image source: android.com)
As explained in this tutorial, all apps will soon need to target sdk version 26 (Android 8). T Other B4A v8.00 BETA has been released! - Erel    Mar 12, 2018   (62 reactions) I'm very happy to release B4A v8.00 BETA. This update includes many important improvements and makes it simpler to target the latest versions of Android.
65413
(image source: android.com)
As explained in this tutorial, all apps will soon need to target sdk version 26 (Android 8). This is a new pol B4A Question Automatic Foreground v.s Persistent - Erel (first post)    Apr 03, 2018   (1 reaction) 1. Initialize the notification object each time.
2. You must call SetInfo or SetInfo2.
3. Both options are good. There is no real difference between them.
If you are not setting the automatic foreground mode to ALWAYS then you should make sure to call StopAutomaticForeground to avoid having two ic B4A Question Notification Icon stays at notification panel - Erel (first post)    May 15, 2019 Important to read: Automatic Foreground Mode
Based on your description it is a foreground service, assuming that you haven't created an on going notification.
If you never call Service.StartForeground then this is the automatic foreground mode notification. Make sure that all your services call Se B4A Question Notifications seem to work differently in Oreo - Erel (first post)    Aug 02, 2018 The notification with the same title and body is the default automatic foreground notification. It has nothing to do with any other notification.
You can set a different notification to be the automatic foreground notification by setting Service. (in Service_Create). Or you can stop automatic foreg B4A Question Disable notifications programmatically - Erel (first post)    Jul 29, 2019 The above discussion is completely wrong. This is the automatic foreground notification. https://www.b4x.com/search?query= B4A Question FirebaseMessaging spawns notification for a second - Erel (first post)    Nov 11, 2021 This is the "automatic foreground mode" notification. It needs to be appear until the service can be killed. B4A Question Double notification - Erel (first post)    Aug 27, 2023 Looks like the automatic foreground notification. This is a thing of the past. 1. You should switch to a receiver: https://www.b4x.-push-messages-firebase-cloud-messaging-fcm.67716/#content 2. Next year it will no longer be possible to send notifications like this. You will need to create a B4J ser B4A Question How detect which service show notification - Erel (first post)    Nov 05, 2018   (1 reaction) Services only enter automatic foreground mode when they are started from a receiver while the app is in the background. You can disable foreground mode in all your services with this line in Service_Create of each of the services: Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_NEVE Page: 1   2   3   4   5   6   7   Powered by ColBERT |