stripe-terminal-react-native
stripe-terminal-react-native copied to clipboard
IOS | Crash the app while call discoverReader method of react native terminal SDK from IOS device
Describe the bug I have created one application to make payments and added all required permissions Like Location, Bluetooth, etc. to discover readers and make payments I have used methods of react native stripe terminal. all methods are working fine on android devices but When I tried the discoverReader method from IOS devices my app has been crashed.
To Reproduce Steps to reproduce the behavior:
For react native sample app
- Clone and Run react-native-stripe-terminal app locally on ios devices
- Click on the 'Discover Readers' action on the Terminal screen.
Expected behavior I will get the BT reader's list while clicking on Discover Reader click.
Screenshots
Smartphone (please complete the following information):
- Device: iPhone6s, iPhone XR
- OS: 15.2 and 16.
Hi, Can you please give me an update on this issue?
Hi,
I have updated the react-native-stripe terminal version to ^0.0.1-beta.11
and IOS app crashed issue has been fixed.
@nirmalsolanki6 I am also facing same issue and using version of ^0.0.1-beta.8 With using ^0.0.1-beta.11 will be resolved ?
I am getting same issue , i am using ^0.0.1-beta.8 version but It will work with version ^0.0.1-beta.10 ? @kevinlam92 @stripe-checker @janelle-stripe @nirmalsolanki6 ???
@ParmarJigarr Yes with the version ^0.0.1-beta.11 will works. Not sure about version ^0.0.1-beta.10
@nirmalsolanki6 thanks for reply When i am using ^0.0.1-beta.11 and making build xcode is crashing but when i use ^0.0.1-beta.10 xcode is not crashing and build generate successful is it possible to let me know with ^0.0.1-beta.10 ?
Sorry, @ParmarJigarr not sure about version ^0.0.1-beta.10. Try with an updated version. And I have updated the version to ^0.0.1-beta.11 seems it's working fine for me. Which version of Xcode are you using??
@nirmalsolanki6 I have xcode version with 13.1 i had try with ^0.0.1-beta.11 but making xcode crash issue while making archive
OKay, @ParmarJigarr I have tried the latest version of Xcode and it works for me.
Hello @nirmalsolanki6 can you please share your discoverReader method function or full .js file ? Since i am still getting crash issue
@nirmalsolanki6 Are you there ?
Hello @nirmalsolanki6 can you please share your discoverReader method function or full .js file ? Since i am still getting crash issue