stripe-terminal-react-native icon indicating copy to clipboard operation
stripe-terminal-react-native copied to clipboard

IOS | Crash the app while call discoverReader method of react native terminal SDK from IOS device

Open nirmalsolanki6 opened this issue 2 years ago • 1 comments

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

  1. Clone and Run react-native-stripe-terminal app locally on ios devices
  2. 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 ios app crashed

Smartphone (please complete the following information):

  • Device: iPhone6s, iPhone XR
  • OS: 15.2 and 16.

nirmalsolanki6 avatar Oct 13 '22 07:10 nirmalsolanki6

Hi, Can you please give me an update on this issue?

nirmalsolanki6 avatar Oct 19 '22 07:10 nirmalsolanki6

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 avatar Oct 31 '22 04:10 nirmalsolanki6

@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 ?

ParmarJigarr avatar Nov 01 '22 09:11 ParmarJigarr

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 avatar Nov 02 '22 10:11 ParmarJigarr

@ParmarJigarr Yes with the version ^0.0.1-beta.11 will works. Not sure about version ^0.0.1-beta.10

nirmalsolanki6 avatar Nov 02 '22 10:11 nirmalsolanki6

@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 ?

ParmarJigarr avatar Nov 02 '22 10:11 ParmarJigarr

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 avatar Nov 02 '22 11:11 nirmalsolanki6

@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

ParmarJigarr avatar Nov 02 '22 11:11 ParmarJigarr

OKay, @ParmarJigarr I have tried the latest version of Xcode and it works for me.

nirmalsolanki6 avatar Nov 02 '22 12:11 nirmalsolanki6

Hello @nirmalsolanki6 can you please share your discoverReader method function or full .js file ? Since i am still getting crash issue

ParmarJigarr avatar Nov 08 '22 06:11 ParmarJigarr

@nirmalsolanki6 Are you there ?

ParmarJigarr avatar Nov 09 '22 12:11 ParmarJigarr

Hello @nirmalsolanki6 can you please share your discoverReader method function or full .js file ? Since i am still getting crash issue

ParmarJigarr avatar Nov 18 '22 10:11 ParmarJigarr