Hello Mauro first congratulations for keeping this repository, for me it worked perfectly, I have only one doubt it is possible to remove the notification bar ?, know this has been discussed here, but I saw that Chris has found a solution then it is possible, my problem is many users are bothering with the constant notice that you can not remove and click it has a shortcut to uninstall and had several uninstalls after :-( include this plugin would be perfect to find a solution, hugs ...
I see your point. You're not first (and hopefully you're last :-) who is asking this. It's probably true, that users are not used to see it.
But there're two views on this.
First ethical, people should be aware that the app is constantly doing background tracking and notification does exactly that - inform them.
And second is technical. When you remove notification, there is higher chance app will be killed by the system as background task without notification has far lower priority. If you really decided to remove notification check next branch. There is code how to do it, but you have been warned. :-)
Hello @mauron85, thanks for the quick response, I understand the reasons, I believe that a simple solution is to just allow plugin let developer decide whether to contain notifications or not through the former settings: notification: true / false so it would be ideal, would like to enable this functionality?
it will be option in next version, but don't expect it any time soon. i don't have much time these days.
Tanks....
Well, but if I go to system background process, I see a lot of background tasks, and none of them have a notification in drawer ...
Facebook, Messenger, WhatsApp, imo, Instagram, Motorola Update ..
How do they work, without the notification?
@Stiveknx These applications use the background but not are the specific in using your so constant location may have some differences with respect to privacy, but to be more accurate the new "Nearby Friends" facebook uses geolocation in the background and does not require notification and it is Also worth remembering que the original script cris this issue has Been resolved, I believe que soon mauro will find the solution.
Hi @Stiveknx. Not 100% sure, but I would guess those apps are not using background geolocation. Make no sense for Messenger and others to track you in the background. They probably have hooks to update location when app is resumed from sleep instead.
Hi @mauron85 I just got started with the plugin. On the first few runs it seems that GPS icon is also displayed when the app is running in background. Is there a way to hide GPS icon indicator too?
Hi @mauron85 I started use your plugin and it is amazing. If I want to remove the notification text by myself, what I need to do? Can I help you with this?
@guicouto I believe that the GPS icon in the status bar is native android own and can not be removed, I believe there is no need to remove it until tb coz it shows that the GPS is active as well as Wifi connection, Bluetooth etc .. what we are discussing here and the need to remove the constant notification that can not be removed by the user and can cause discomfort and uninstalls of our apps, I believe that the solution leaving the pro user option to enable or disable notifications through the settings would be a ideal solution.
Implemented in 2.0.0. Option startForeground false
@mauron85 For scenario in which location should also be tracked in foreground without notification, what do you suggest?
@mauron85 Again thank you and congratulations, to implement this feature worked perfectly now without notification, @shyamal890 for monitoring the active you can choose to work with the Cord-Plugin-Geolocation native plugin that for me worked perfectly together with the the BGgeo ...
Most helpful comment
Implemented in 2.0.0. Option startForeground false