#devjay_16092

1 messages · Page 1 of 1 (latest)

astral cairnBOT
bright turtle
#

hi there!

fresh oar
#

hi

bright turtle
fresh oar
#

i have been using iPhone tap to pay in my react native app with the stripe-terminal-react-native@0.0.1-beta-11, but for android I'm not able to use tap to pay

astral cairnBOT
fresh oar
#

?

alpine lotus
#

What do you mean by "I'm not able to use tap to pay" exactly?

fresh oar
#

getting issue with the integration of android tap to pay in my react native app

alpine lotus
#

What's the issue?

fresh oar
#

wait

#

code
:
"UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR"
message
:
"The Terminal localmobile module must be included for this DiscoveryMethod"

#

getting this error

alpine lotus
fresh oar
#

let me check

#

hi

#

in which gradle.build i have to add this

#

?

alpine lotus
#

I am not sure how your project is stuctured, I guess where other dependencies go.

fresh oar
#

i had added this and got error

#

in my react native project have one android folder in which gradle.build files availabe

#

one gradle.build in android
second gradle.build in android>app

alpine lotus
#

It should be in second android/app/gradle.build

fresh oar
#

i had tried it but not working for me

alpine lotus
#

Have you rebuilt your app?

fresh oar
#

yes

#

getting runtime error

alpine lotus
#

The same one?

fresh oar
#

Execution failed for task ':app:checkDebugDuplicateClasses'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform jackson-core-2.16.0.jar (com.fasterxml.jackson.core:jackson-core:2.16.0) to match attributes {artifactType=enumerated-runtime-classes, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for JetifyTransform: C:\Users\Webosmotic.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.16.0\899e5cf01be55fbf094ad72b2edb0c5df99111ee\jackson-core-2.16.0.jar.
Failed to transform 'C:\Users\Webosmotic.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.16.0\899e5cf01be55fbf094ad72b2edb0c5df99111ee\jackson-core-2.16.0.jar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 63. (Run with --stacktrace for more details.)
Suggestions:
- Check out existing issues at https://issuetracker.google.com/issues?q=componentid:460323&s=modified_time:desc, it's possible that this issue has already been filed there.
- If this issue has not been filed, please report it at https://issuetracker.google.com/issues/new?component=460323 (run with --stacktrace and provide a stack trace if possible).

astral cairnBOT
fresh oar
#

?

proven lotus
#

Hey! Taking over for my colleague. Let me catch up.

fresh oar
#

any one there?

proven lotus
#

Can you please share the complete stacktrace ?

fresh oar
#

I just want to integrate tap to pay in my React native app

#

?

proven lotus
#

I'm affraid that's not supported yet in react native

#

Did you try to include these dependencies in your Android gradle ?

implementation "com.stripe:stripeterminal-localmobile:3.3.1"
implementation "com.stripe:stripeterminal-core:3.3.1"

fresh oar
#

yup

#

this is not working for me

proven lotus
#

Ok then Tap to Pay isn't supported on React Native

#

Actually Tap to pay is in beta

#

Yes I don't find either a reference for tap to pay yet on ReactNative

astral cairnBOT
fresh oar
#

yes, I'm using beta

fresh oar
#

?

#

?

frigid breach
#

sorry, not sure how I can help, our team is not involved in these betas

#

do you have a full clean stacktrace for the error maybe?