Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message that criticalmaps is active & sharing location not showing anymore #346

Open
c-schmitz opened this issue Aug 21, 2024 · 4 comments

Comments

@c-schmitz
Copy link

c-schmitz commented Aug 21, 2024

Hello,

in the past I remember the app showed a permament message in the message center, that notified you that the app was actively sharing location.
At some point this message vanished and so it happens often that I forget to quit the program/stop share my location.

Is this a bug or how do I get this message back?

I checked notification settings for the app and did not find anything.

@dreua
Copy link

dreua commented Aug 25, 2024

Which Android version? It still works for me.

@c-schmitz
Copy link
Author

I am using Android 14 on a OnePlus device.

@FFMbyBicycle
Copy link

I can reproduce this problem with Android 14 (LineageOS). Critical Maps ran for multiple hours in the background, I just noticed that the location symbol was active at the status bar. I'm using Critical Maps 2.9.0.

There are no notifications which could be enabled (app information):
Screenshot_20240915-202346_Settings_1

@cbalster
Copy link
Member

Thanks for bringing this up! I can confirm that this happens when installing the app for the first time on an Android 14 device.
Prior to Android 14 you could run a background service with a notification without having the notification permission as you were only allowed to run a background service that has a notification to prevent exactly what we're seeing now.
Starting with android 14, you do need that permission even for background services. Since we're still targeting an older android version it seems we're in a weird spot where we can run the service but are not allowed to post the notification.
Note, that interestingly this does not happen when you had the app installed before updating the device to android 14 - probably since in this case we already have a notification channel registered.
I will try to update the app as soon as possible to target the newest android version and also request the notification permission on newer devices. Unfortunately I'm a little short on time and this might take a week or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants