-
Notifications
You must be signed in to change notification settings - Fork 114
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
Fix Crash in BottomSheetViewController
#10254
Conversation
… in BottomSheetViewController due to Incorrect Selector Usage
You can test the changes from this Pull Request by:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Podfile
Outdated
@@ -90,7 +90,7 @@ target 'WooCommerce' do | |||
|
|||
wordpress_shared | |||
|
|||
pod 'WordPressUI', '~> 1.13' | |||
pod 'WordPressUI', :git => 'https://github.com/wordpress-mobile/WordPressUI-iOS.git', :branch => 'task/fix-crash-BottomSheetViewController' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please point this to the library's trunk
after merging the fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@itsmeichigo @pmusolino 1.13.1 has been shipped and this branch now points to it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you both!
Fixes: #10250
Description
I encountered a crash on iOS 16.4, simulator iPhone 14 Pro Max, while I was trying to add a new product. In the end, I discovered that this crash happens in every screen where we use the
BottomSheetViewController
component from the WordPressUI library.Testing instructions
Run this PR, you should not be able to expact a crash anymore.
Before merging to trunk
RELEASE-NOTES.txt
if necessary.