stripe / stripe-terminal-react-native

React Native SDK for Stripe Terminal
https://stripe.com/docs/terminal/payments/setup-integration?terminal-sdk-platform=react-native
MIT License
110 stars 50 forks source link

Failed to generate key pair [Android 11] #817

Open Zc0412 opened 2 months ago

Zc0412 commented 2 months ago

Describe the bug Failed to generate key pair

Screenshots 52c7dcb6c4486a940cd506d0fe09c06c

Stripe Terminal React Native SDK version "@stripe/stripe-terminal-react-native": "^0.0.1-beta.20"

Smartphone (please complete the following information):

Additional context This error has troubled me for a long time.

harryd31 commented 1 month ago

Were you able to fix this issue?

nazli-stripe commented 1 month ago

for the devices did you verify it meets the requirements listed here? https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=android#supported-devices

Especially these ones:

Has a hardware backed keystore Supports generating key pairs using a variety of key algorithms, including RSA and AES from the Android keystore

harryd31 commented 4 weeks ago

@nazli-stripe Is there a way around that or to choose not the include the localmobile artifact as suggested here

https://github.com/stripe/stripe-terminal-android/issues/486