google-developer-training / advanced-android-kotlin-geo-fences

Other
32 stars 78 forks source link

Android 12 mutability flag #9

Open AfzalivE opened 3 years ago

AfzalivE commented 3 years ago

Describe the problem On Android 12, it seems that in HuntMainActivity, the PendingIntent requires a mutability flag and that this flag needs to be PendingIntent.FLAG_MUTABLE. This isn't quite obvious unless you try it. It would be great if the codelab can be updated for this.

codelab: advanced-android-kotlin

divyanshu-in commented 2 years ago

I tried to build project with the changes with the mentioned changes, but geofence is not getting triggered when tested.