Open ventisep opened 3 years ago
Should also have mentioned that I am using a macbook M1
I was able to identify the cause of this error. It turned out to be some incompatibility between the Facebook plugin: flutter_facebook_auth: 3.3.3+1. When I take this plugin out of my dependencies then everything works fine. When I have Facebook_auth in my dependencies then the code builds and runs but the Stripe_Payment plugins are reported as missing when they are called in the code.
I wonder if you could look at whether this is an issue that should be fixed in the Stripe_Payments library or the Facebook_Auth library?
I am getting a missing plugin exception on the android simulator. it works in the IOS simulator and the IOS physical machine. I a, using firebase as well as flutter_stripe_payments. Is there a conflict I should be avoiding?
other errors on the build as follows:
E/flutter ( 5993): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: MissingPluginException(No implementation found for method setOptions on channel stripe_payment)
/.pub-cache/hosted/pub.dartlang.org/firebase_storage-8 .0.6/android/src/main/java/io/flutter/plugins/firebase/storage/FlutterFirebaseStorage Plugin.java:38: warning: [deprecation] Registrar in PluginRegistry has been deprecated [ ] public static void registerWith(PluginRegistry.Registrar registrar) { [ ] ^ [ ] 1 warning
.... Runtime JAR file has version 1.3 which is older than required for API version 1.4 [ ] w: ../development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (3, 20): 'DialogFragment' is deprecated. Deprecated in Java [ ] w: ../development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (18, 22): 'constructor DialogFragment()' is deprecated. Deprecated in Java [ ] w: ../development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (18, 22): 'DialogFragment' is deprecated. Deprecated in Java [ ] w: ../development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (26, 18): 'setter for arguments: Bundle!' is deprecated. Deprecated in Java [ +2 ms] w: ../development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (40, 15): 'onViewCreated(View!, Bundle?): Unit' is deprecated. Deprecated in Java [ ] w: ../development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (43, 21): 'getter for arguments: Bundle!' is deprecated. Deprecated in Java [ ] w: ..l/development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (44, 9): 'getter for dialog: Dialog!' is deprecated. Deprecated in Java [ ] w: ../development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (52, 15): 'onCreate(Bundle?): Unit' is deprecated. Deprecated in Java [ +19 ms] w: ../development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (54, 9): 'setStyle(Int, Int): Unit' is deprecated. Deprecated in Java [ +1 ms] w: ..development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (54, 18): 'STYLE_NO_TITLE: Int' is deprecated. Deprecated in Java [ ] w: ../development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (58, 15): 'onCancel(DialogInterface!): Unit' is deprecated. Deprecated in Java [ ] w: ..development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (68, 13): 'getter for view: View?' is deprecated. Deprecated in Java [ ] w: ..development/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_payment-1.1 .0/android/src/main/kotlin/de/jonasbark/stripepayment/StripeDialog.kt: (74, 17): 'getter for view: View?' is deprecated. Deprecated in Java [ ] w: