doneservices / flutter_callkeep

iOS CallKit and Android ConnectionService bindings for Flutter
57 stars 39 forks source link

Fix missing PendingIntent immutability flag on Android API 31+ #41

Closed Ayman-Barghout closed 2 years ago

Ayman-Barghout commented 2 years ago

Setting the mutability flag for PendingIntents is required from API 31 onward, the changes in this PR resolve this issue as it was throwing IllegalArgumentException: https://sentry.io/organizations/done-services/issues/3497297862/?referrer=slack

For more info regarding PendingIntents: https://developer.android.com/reference/android/app/PendingIntent