Prashant
Sep 21, 2022

Hi Adrian, although I would like thing to be the way you described, but looks like it does not work that way. I have tried setting up a foreground service with a sticky notification, but unless I have set 'ACCESS_BACKGROUND_LOCATION' in the manifest and granted permission using settings, the app CAN'T ACCESS location, when app is minimized (notification is still visible to user).

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Prashant
Prashant

Written by Prashant

Finance guy who fell in love with technology and switched careers in early 30s. Follow me: https://twitter.com/prashantio Business URL: https://runtime.one

No responses yet

Write a response