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

App crash #1826

Open
danish5454 opened this issue Jan 31, 2025 · 0 comments
Open

App crash #1826

danish5454 opened this issue Jan 31, 2025 · 0 comments

Comments

@danish5454
Copy link

danish5454 commented Jan 31, 2025

Describe the bug
App crash on IOS when focus on Card Information (Card Number) field.

To Reproduce
Steps to reproduce the behavior:
const {error} = await initPaymentSheet({merchantDisplayName: '', intentConfiguration: { mode: { amount: Math.round(finalPrice * 100), currencyCode: 'usd', }, confirmHandler: async ( paymentMethod, shouldSavePaymentMethod, intentCreationCallback, ) => { }, }, returnURL: '', }})

Screenshots

Image

React Native & Stripe version

  • "@stripe/stripe-react-native": "^0.41.0",
  • "react": "18.3.1",
  • "react-native": "0.76.6",

Smartphone (please complete the following information):

  • Device: Iphone 16 Pro Max ( Simulator )

Additional context

*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<STP_Internal_FloatingPlaceholderTextFieldView 0x132a8e950> valueForUndefinedKey:]: this class is not key value coding-compliant for the key nativeId.' *** First throw call stack: ( 0 CoreFoundation 0x00007ff8004ca369 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff80008c106 objc_exception_throw + 62 2 CoreFoundation 0x00007ff8004c9e59 -[NSException init] + 0 3 Foundation 0x00007ff800f41338 -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 220 4 Foundation 0x00007ff800f4010d -[NSObject(NSKeyValueCoding) valueForKey:] + 270 5 LocalBites.debug.dylib 0x000000011811ee83 $sSq32react_native_keyboard_controllerSo11UIResponderCRszlE0B2IDSSSgvg + 451 6 LocalBites.debug.dylib 0x00000001181085d0 $s32react_native_keyboard_controller20KeyboardAreaExtenderC0C9DidAppear33_0101E3ACECF8B14207710D69D61670ABLLyy10Foundation12NotificationVF + 464 7 LocalBites.debug.dylib 0x0000000118108b5f $s32react_native_keyboard_controller20KeyboardAreaExtenderC0C9DidAppear33_0101E3ACECF8B14207710D69D61670ABLLyy10Foundation12NotificationVFTo + 111 8 CoreFoundation 0x00007ff8003f7ca8 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137 9 CoreFoundation 0x00007ff8003f7bde ___CFXRegistrationPost_block_invoke + 86 10 CoreFoundation 0x00007ff8003f71ab _CFXRegistrationPost + 534 11 CoreFoundation 0x00007ff8003f6aa2 _CFXNotificationPost + 815 12 Foundation 0x00007ff800f7da1d -[NSNotificationCenter postNotificationName:object:userInfo:] + 82 13 UIKitCore 0x00007ff8060e34fc -[UIInputWindowController postNotificationName:userInfo:] + 684 14 UIKitCore 0x00007ff8060e4c88 __66-[UIInputWindowController postValidatedEndNotifications:withInfo:]_block_invoke + 1943 15 UIKitCore 0x00007ff8060e44c8 -[UIInputWindowController postValidatedEndNotifications:withInfo:] + 241 16 UIKitCore 0x00007ff8060e43c4 -[UIInputWindowController postEndNotifications:withInfo:] + 76 17 UIKitCore 0x00007ff8060ec52b __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.1315 + 216 18 UIKitCore 0x00007ff8060dcdbd -[UIInputWindowController performWithSafeTransitionFrames:] + 236 19 UIKitCore 0x00007ff8060ec0d0 __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.1308 + 1558 20 UIKitCore 0x00007ff805d3255d __97-[UIInputViewAnimationStyle launchAnimation:afterStarted:completion:forHost:fromCurrentPosition:]_block_invoke.47 + 25 21 UIKitCore 0x00007ff806b4a64c __UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK__ + 15 22 UIKitCore 0x00007ff806b4a955 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 775 23 UIKitCore 0x00007ff806b13fd6 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 279 24 UIKitCore 0x00007ff806b14575 -[UIViewAnimationState animationDidStop:finished:] + 276 25 QuartzCore 0x00007ff80c1803cc _ZL23run_animation_callbacksPv + 186 26 libdispatch.dylib 0x000000010a545ec6 _dispatch_client_callout + 8 27 libdispatch.dylib 0x000000010a555d1d _dispatch_main_queue_drain + 1357 28 libdispatch.dylib 0x000000010a5557c2 _dispatch_main_queue_callback_4CF + 31 29 CoreFoundation 0x00007ff80042945f __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 30 CoreFoundation 0x00007ff800423d87 __CFRunLoopRun + 2515 31 CoreFoundation 0x00007ff800422fb3 CFRunLoopRunSpecific + 536 32 GraphicsServices 0x00007ff8118c20cb GSEventRunModal + 137 33 UIKitCore 0x00007ff806400c3b -[UIApplication _run] + 875 34 UIKitCore 0x00007ff806405b7c UIApplicationMain + 123 35 LocalBites.debug.dylib 0x0000000116566830 __debug_main_executable_dylib_entry_point + 96 36 dyld 0x000000010a402478 start_sim + 10 37 ??? 0x0000000116481345 0x0 + 4668789573 ) libc++abi: terminating due to uncaught exception of type NSException

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

1 participant