-
Notifications
You must be signed in to change notification settings - Fork 663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FC] Crash after authenticating when R8 full-mode is enabled #6813
[FC] Crash after authenticating when R8 full-mode is enabled #6813
Conversation
Risky Change This is considered a risky change because it adjusts the sample app build.gradle, please review carefully. By adding the label |
@@ -27,6 +27,10 @@ android { | |||
groups = "financial-connections" | |||
} | |||
} | |||
release { | |||
minifyEnabled true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't need this, it should already be handled by
shrinkResources true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
STRIPE_ANDROID_NAMESPACE=com.stripe.android.financialconnections.example | ||
android.enableR8.fullMode=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't need this, it should already be handled by
stripe-android/gradle.properties
Line 16 in 000bc24
android.enableR8.fullMode=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
# MavericksViewModel loads the Companion class via reflection and thus we need to make sure we keep | ||
# the name of the Companion object. | ||
-keepclassmembers class ** extends com.airbnb.mvrx.MavericksViewModel { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we upstream this? Ideally we wouldn't need to add these ourselves.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll open an issue on Mavericks!
Summary
Motivation
📔 [Android] Crash after authenticating when R8 full-mode is enabled*
🌐 BANKCON-7040
Testing