Closed akaita closed 2 years ago
As a workaround, you can force Pusher to use a newer version of WorkManager:
implementation 'com.pusher:push-notifications-android:1.7.0'
constraints {
implementation('androidx.work:work-runtime-ktx:2.7.0') {
because 'Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. https://github.com/pusher/push-notifications-android/issues/127'
}
}
Thanks for getting in touch. We just need to build a new release to resolve this, this issue was resolved in #124 which is merged but not released. I'll let you know when we push the new version.
@benw-pusher that's not the same bug. Actually, you will probably notice that I myself created that PR as well :) That was a compilation-time issue. This is a runtime issue.
We have a 100% crash rate in Android 12.
Error stack:
This only happens when the
implementation 'com.pusher:push-notifications-android:1.7.0'
dependency is present