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
The crash error is:
Fatal Exception: NSInternalInconsistencyException
Requested the number of rows for section (1) which is out of bounds
And it crashes on line 401 and 410 in STPAddCardViewController.
Line 401:
NSInteger rowsInSection = [self.tableView numberOfRowsInSection:STPPaymentCardBillingAddressSection];
Line 410:
NSInteger rowsInSection = [self.tableView numberOfRowsInSection:STPPaymentCardBillingAddressSection];
The text was updated successfully, but these errors were encountered:
I can't reproduce this myself, but I have a guess as to what's causing it. Can you try using my branch for #1427?
In your Podfile, set pod 'Stripe', :git => 'https://github.com/stripe/stripe-ios.git', :branch => 'davidme/fix-ios13-tableviewdata', then run pod install.
I just realized you're on version 14.0, getting to the latest version might take some migration work. Maybe you can try doing this in your local copy of Stripe: https://github.com/stripe/stripe-ios/pull/1427/files
Summary
The app crashes when clicking on "Add Card". It seems to happen with certain shipping addresses.
Code to reproduce
See in this video:
https://www.dropbox.com/s/5uofsjvpqoc11rf/stripe%20bug.MP4?dl=0
iOS version
iOS 13
Installation method
Cocoapods
SDK version
14.0.0
Other information
The crash error is:
Fatal Exception: NSInternalInconsistencyException
Requested the number of rows for section (1) which is out of bounds
And it crashes on line 401 and 410 in STPAddCardViewController.
Line 401:
NSInteger rowsInSection = [self.tableView numberOfRowsInSection:STPPaymentCardBillingAddressSection];
Line 410:
NSInteger rowsInSection = [self.tableView numberOfRowsInSection:STPPaymentCardBillingAddressSection];
The text was updated successfully, but these errors were encountered: