-
Notifications
You must be signed in to change notification settings - Fork 50
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
App crashing when using discoverReaders method. #751
Comments
Stripe Terminal is not supported in browser. The provider should not be embedded at all on Web (we did this by wrapping it in our own context with conditional rendering) |
@nabilfreeman i am checking in xcode simulator not on web browser. |
Im getting the same issue on IOS. Im using the function:
and it completely crashes my application |
@ankitharitus @DaviddStewarttCT the |
@ankitharitus are you still running into issues with discovery? |
@ankitharitus, @nazli-stripe It was also happening with me (trying to integrate with Stripe M2 Reader). I was using ^0.0.1-beta.20 with iOS 17.6.1. Other options like "localMobile" worked correctly. The problem was related to bluetooth-central permissions in Info.plist. After adding it, it started working. |
Describe the bug
My native app is crashing when i am calling discoverReaders method.
To Reproduce
Steps to reproduce the behavior:
const {error} = await discoverReaders({
discoveryMethod: 'localMobile',
});
Expected behavior
it should either give some error or in success callback
Screenshots
If applicable, add screenshots to help explain your problem.
Stripe Terminal React Native SDK version
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: