Replies: 1 comment
-
hi, if you haven't fixed it, check this out. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm encountering an issue with Stripe initialization on Android. The app works fine on iOS, but on Android, I'm getting the following error:
PlatformException(flutter_stripe initialization failed, The plugin failed to initialize:
Your theme isn't set to use Theme.AppCompat or Theme.MaterialComponents.
Please make sure you follow all the steps detailed inside the README: https://github.com/flutter-stripe/flutter_stripe#android
If you continue to have trouble, follow this discussion to get some support #538, null, null)
I've already tried the following:
android/app/src/main/res/values/styles.xml
to useTheme.MaterialComponents.Light.NoActionBar
com.google.android.material:material:1.5.0
toandroid/app/build.gradle
AndroidManifest.xml
is using@style/LaunchTheme
Despite these attempts, the issue persists. Could you please provide any additional guidance on resolving this theme-related initialization problem?
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions