Skip to content
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

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

Closed
nirmalsolanki6 opened this issue Oct 13, 2022 · 10 comments

Comments

@nirmalsolanki6
Copy link

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 nirmalsolanki6 changed the title IOS | Crash the app while call discoverReader call of react native terminal sdk method from IOS device IOS | Crash the app while call discoverReader method of react native terminal sdk method from IOS device Oct 13, 2022
@nirmalsolanki6 nirmalsolanki6 changed the title IOS | Crash the app while call discoverReader method of react native terminal sdk method from IOS device IOS | Crash the app while call discoverReader method of react native terminal SDK method from IOS device Oct 13, 2022
@nirmalsolanki6 nirmalsolanki6 changed the title IOS | Crash the app while call discoverReader method of react native terminal SDK method from IOS device IOS | Crash the app while call discoverReader method of react native terminal SDK from IOS device Oct 13, 2022
@nirmalsolanki6
Copy link
Author

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

@nirmalsolanki6
Copy link
Author

Hi,
I have updated the react-native-stripe terminal version to ^0.0.1-beta.11 and IOS app crashed issue has been fixed.

@ParmarJigarr
Copy link

ParmarJigarr commented Nov 1, 2022

@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
Copy link

ParmarJigarr commented Nov 2, 2022

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

@nirmalsolanki6
Copy link
Author

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

@ParmarJigarr
Copy link

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

@nirmalsolanki6
Copy link
Author

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

@ParmarJigarr
Copy link

@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

@nirmalsolanki6
Copy link
Author

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

@ParmarJigarr
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants