Open srikanthpacco opened 5 months ago
Hi @srikanthpacco can you post the crash log here? You can refer to this page for accessing native logs.
I found solution for this issue. Before we call presentPaymentSheet, we need to initialize stripe. (initStripe). This was the missing piece. when I added initStripe logic, presentPaymentSheet is working fine as expected. Thank you.
Hi All, I am facing an issue, app crashes when calling Stripe presentPaymentSheet for android v14. It works as long as I test it in emualtor. When I package it as an APK and run it on Android phone, it crashes on presentPaymentSheet page.
Any help would be appreciated.
This is my package.json configuration "scripts": { "start": "expo start", "android": "expo start --android", "ios": "expo start --ios", "web": "expo start --web" }, "dependencies": { "@expo/vector-icons": "^14.0.0", "@react-native-async-storage/async-storage": "^1.23.1", "@react-native-picker/picker": "2.7.5", "@react-navigation/native": "^6.1.17", "@react-navigation/native-stack": "^6.6.1", "@react-navigation/stack": "^6.3.29", "@stripe/stripe-react-native": "0.37.2", "@types/react": "~18.2.79", "babel-plugin-wildcard": "^7.0.0", "expo": "^51.0.9", "expo-build-properties": "~0.12.1", "expo-camera": "~15.0.10", "expo-constants": "~16.0.2", "expo-media-library": "~16.0.3", "expo-sqlite": "^11.6.0", "expo-modules-core": "~1.12.12", "expo-splash-screen": "^0.27.4", "expo-status-bar": "~1.12.1", "moment": "^2.29.4", "react": "18.2.0", "react-dom": "18.2.0", "react-native": "0.74.1", "react-native-country-codes-picker": "^2.3.4", "react-native-gesture-handler": "^2.16.2", "react-native-picker-select": "^9.0.0", "react-native-reanimated": "~3.10.1", "react-native-safe-area-context": "4.10.1", "react-native-screens": "^3.31.1", "react-native-tab-view": "^3.5.2", "react-native-web": "~0.19.6", "react-stripe-checkout": "^2.6.3" }, "devDependencies": { "@babel/core": "^7.24.0" }