-
Notifications
You must be signed in to change notification settings - Fork 260
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
[Android] createToken
not handling incorrect numbers
#405
Comments
Can you clarify the exact number you're inputting? On my end I get "Card details not complete" error when calling |
@thorsten-stripe |
I'm able to reproduce this. Thanks for reporting @Sotatek-AnNguyen3 |
createToken
not handling incorrect numbers
@thorsten-stripe |
Hi @Sotatek-AnNguyen3, I reproduced the issue and figured out what is wrong. We will have to fix the error handling for Regarding the number validation (highlighting number in red) it has to be improved on the native Android SDK @thorsten-stripe |
App crashes after installing stripe-react-native sdk with error "java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbq;". After removing the SDK the app runs fine. My build.gradle file " apply plugin: "com.android.application" import com.android.build.OutputFile project.ext.react = [ apply from: "../../node_modules/react-native/react.gradle" def enableSeparateBuildPerCPUArchitecture = false def enableProguardInReleaseBuilds = false def jscFlavor = 'org.webkit:android-jsc:+' def enableHermes = project.ext.react.get("enableHermes", false); android {
} dependencies {
} // Run this once to be able to run the application with BUCK apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) |
Describe the bug
when i input bank number into cardfield number on Android it's pass , no error (ios show error number red color but not android) then when i create token with that number , my app got crash
To Reproduce
Steps to reproduce the behavior:
Expected behavior
the bank number will change to red color - mean it's not card number
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: