Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Backgorund service sample is not working #318

Open
MFA-DevBlend opened this issue Mar 2, 2023 · 2 comments
Open

Backgorund service sample is not working #318

MFA-DevBlend opened this issue Mar 2, 2023 · 2 comments

Comments

@MFA-DevBlend
Copy link

I have downladed LocationUpdatesBackgroundKotlin code samples although is not working which is your official sample.

I have tested on API level 33 and 32 with emulator during the simulate routing.

Please, take care of this issue.

Best,

@usmanhashmi2123
Copy link

not working on physical device too.

@usmanhashmi2123
Copy link

it worked when i

changed

PendingIntent.getBroadcast(context,32,intent,PendingIntent.FLAG_IMMUTABLE or PendingIntent.FLAG_UPDATE_CURRENT)

to

PendingIntent.getBroadcast(context,32,intent,PendingIntent.FLAG_MUTABLE or PendingIntent.FLAG_UPDATE_CURRENT)

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

No branches or pull requests

2 participants