Backgorund service sample is not working
MFA-DevBlend opened this issue · comments
MFA-DevBlend commented
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,
Usman commented
not working on physical device too.
Usman commented
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)