Open sebj54 opened 2 years ago
This signature public final void com.stripe.android.Stripe.confirmSetupIntent(androidx.activity.ComponentActivity,com.stripe.android.model.ConfirmSetupIntentParams,java.lang.String)
requires 3 but you passed 2 that’s why the error said it doesn’t have a signature like this Error: java.lang.NoSuchMethodError: no static method "Lcom/stripe/android/Stripe;.confirmSetupIntent(Landroidx/activity/ComponentActivity;Lcom/stripe/android/model/ConfirmSetupIntentParams;)V"
you’re missing a string
Thank you, I'll give it another try soon. I'll let you know in this issue.
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
This problem happens with the
@triniwiz/nativescript-stripe
module (see https://github.com/triniwiz/nativescript-plugins/issues/110).When calling this method:
This error is thrown:
I used
java.util.Arrays.toString(this.stripe.getClass().getMethods())
) to get this method's signature:It looks totally the same (to me). There are also methods with the same name:
To Reproduce
Here is the
include.gradle
file of this plugin:Maybe adding the plugin to a new project is enough (I can provide a sample project if you think this issue belongs here). Then call:
I don't know if it will work with these fake IDs, but I think it should return an API error if the method gets called.
Let me know if you need extra information.