You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using AddressSheet to fill in address details without any problem on iPhone devices. However, when I test my application on an iPad and try to open the address sheet, it crashes my app.
** Steps to Reproduce**
I use the following code (mainly from your docs):
import {
AddressDetails,
AddressSheet,
AddressSheetError,
useStripe,
} from '@stripe/stripe-react-native';
When debugging the issue initially, I figured out that by setting visible to false stopped crashing my app. Next to that, I am receiving this error when it crashes:
Terminating app due to uncaught exception 'NSGenericException', reason: 'UIPopoverPresentationController (<UIPopoverPresentationController: 0x12ea2ed50>) should have a non-nil sourceView or barButtonItem set before the presentation occurs.'
Expected behavior
I would expect that I can open the address sheet without a problem on an iPad (or any other) device as well.
Version used
"@stripe/stripe-react-native": "0.33.0"
I know this is not the recommended beta version from the docs, but since this works on an iPhone I would expect this to also work on other devices.
Device information
Device: iPad
OS: 16.6.1
Modelname iPad (9th generation)
Hopefully this provides you with enough information!
I am planning to use this AddressSheet in production, would you recommend it right now? Since your docs say it's still in Beta (?).
Thank you in advance for your help/answers :)
The text was updated successfully, but these errors were encountered:
Hi there!
Describe the bug
I am using AddressSheet to fill in address details without any problem on iPhone devices. However, when I test my application on an iPad and try to open the address sheet, it crashes my app.
** Steps to Reproduce**
I use the following code (mainly from your docs):
(added
visible={true}
here)When debugging the issue initially, I figured out that by setting
visible
to false stopped crashing my app. Next to that, I am receiving this error when it crashes:Expected behavior
I would expect that I can open the address sheet without a problem on an iPad (or any other) device as well.
Version used
"@stripe/stripe-react-native": "0.33.0"
I know this is not the recommended beta version from the docs, but since this works on an iPhone I would expect this to also work on other devices.
Device information
Hopefully this provides you with enough information!
I am planning to use this AddressSheet in production, would you recommend it right now? Since your docs say it's still in Beta (?).
Thank you in advance for your help/answers :)
The text was updated successfully, but these errors were encountered: