You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException:: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
#283
Open
khoshbin opened this issue
Jun 6, 2022
· 5 comments
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
2 at android.app.PendingIntent.checkFlags(PendingIntent.java:382)
3 at android.app.PendingIntent.buildServicePendingIntent(PendingIntent.java:752)
4 at android.app.PendingIntent.getService(PendingIntent.java:714)
5 at io.nlopez.smartlocation.geofencing.providers.GeofencingGooglePlayServicesProvider.init(GeofencingGooglePlayServicesProvider.java:86)
6 at io.nlopez.smartlocation.SmartLocation$GeofencingControl.<init>(SmartLocation.java:377)
7 at io.nlopez.smartlocation.SmartLocation.geofencing(SmartLocation.java:108)
8 at io.nlopez.smartlocation.SmartLocation.geofencing(SmartLocation.java:100)
The text was updated successfully, but these errors were encountered:
Hi , there is problem in newer android versions
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
2 at android.app.PendingIntent.checkFlags(PendingIntent.java:382)
3 at android.app.PendingIntent.buildServicePendingIntent(PendingIntent.java:752)
4 at android.app.PendingIntent.getService(PendingIntent.java:714)
5 at io.nlopez.smartlocation.geofencing.providers.GeofencingGooglePlayServicesProvider.init(GeofencingGooglePlayServicesProvider.java:86)
6 at io.nlopez.smartlocation.SmartLocation$GeofencingControl.<init>(SmartLocation.java:377)
7 at io.nlopez.smartlocation.SmartLocation.geofencing(SmartLocation.java:108)
8 at io.nlopez.smartlocation.SmartLocation.geofencing(SmartLocation.java:100)
The text was updated successfully, but these errors were encountered: