When using this library with targetApi 31 and above, I'm getting this error:
java.lang.IllegalArgumentException: xxx: 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.
Looking the stack trace it seems that this comes from:
com.firebase.ui.auth.ui.email.CheckEmailHandler.fetchCredential(CheckEmailHandler.java:29)
This is a known issue with Firebase sdk, it's easily fixed by updating the sdk.
This is an important blocker because google play will all start accepting app updates only for apps targeting api 31 or above by November 22.
Sorry, the problem was not related with this library.
If someone else is having the same issue, I solved it upgrading the auth.ui library:
implementation("com.firebaseui:firebase-ui-auth:8.0.2")
When using this library with targetApi 31 and above, I'm getting this error:
java.lang.IllegalArgumentException: xxx: 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.
Looking the stack trace it seems that this comes from:com.firebase.ui.auth.ui.email.CheckEmailHandler.fetchCredential(CheckEmailHandler.java:29)
This is a known issue with Firebase sdk, it's easily fixed by updating the sdk.This is an important blocker because google play will all start accepting app updates only for apps targeting api 31 or above by November 22.