ConnectyCube / connectycube-flutter-call-kit

A Flutter plugin for displaying call screen when the app in the background or terminated.
https://developers.connectycube.com/flutter
Apache License 2.0
57 stars 80 forks source link

android 12 error pendingIntent in show dialog in background #52

Closed rezadevelopers2 closed 2 years ago

rezadevelopers2 commented 2 years ago

hi android 12 error in show dialog the background

error: PlatformException(ERROR, co.sorena.poc: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. 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., , null)

toturial in fix https://stackoverflow.com/questions/68228666/targeting-s-version-10000-and-above-requires-that-one-of-flag-immutable-or-fl

https://stackoverflow.com/questions/67045607/how-to-resolve-missing-pendingintent-mutability-flag-lint-warning-in-android-a

TatankaConCube commented 2 years ago

we made some fixes in the new version 2.0.3, please try it