-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[RNMobile] Added contactInfoBlock enabling capabilities flag to mobile gutenberg bridge #28293
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
Conversation
|
Size Change: 0 B Total Size: 1.28 MB ℹ️ View Unchanged
|
jd-alexander
left a comment
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.
The bridge code changes for supporting the ContactInfo Block looks good. I tested these changes with the WP Android PR and the behaviors I observed were as follows
1.When the build config value in the vanilla block was set to true with the Jetpack version at 9.3.1 the Contact Info Block was shown in the inserter.
2. When the build config value in the vanilla block was set to false with Jetpack version 9.3.1 the Contact Info Block was NOT shown.
3. When the build config value was true and the Jetpack version was rolled back to 8.4.2 (below 8.5) the Contact Info block was NOT shown.
LGTM 🚢
jd-alexander
left a comment
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.
I approve of the Android side of things but the WPiOS PR still has to reviewed.
illusaen
left a comment
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.
Looks good on iOS side!
Description
Added native bridge capabilities for iOS and Android in order to determine whether contact info should be shown or not.
Replaces #28168
See further descriptions in linked PRs:
gutenberg-mobile: #3001 and Contact info api jetpack / update Gutenberg submodule wordpress-mobile/gutenberg-mobile#3015WPiOS: #15634WPAndroid: #13758 and Contact info api - featureConfig implementation wordpress-mobile/WordPress-Android#13804Checklist: