Almoullim / background_location

Flutter background location plugin for Android and iOS
https://pub.dev/packages/background_location
Other
224 stars 236 forks source link

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent #190

Closed MoralCode closed 1 year ago

MoralCode commented 1 year ago

opening on behalf of @rsbthebest from their original comment: https://github.com/Almoullim/background_location/issues/145#issuecomment-1089886714

V 0.7.0 won't work on Android 12 because of this error:

Unable to create service com.almoullim.background_location.LocationUpdatesService: java.lang.IllegalArgumentException: uk.co.walkwithyou.walkwithyou: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.

unsure if this is related to firebase or not, but might be an issue when including this library in an android api level 31+ app

should be fairly straightforward to test this theory

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 5 days with no activity.