-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Jetpack Focus: Show Jetpack app installation within the app using StoreKit #21896
Jetpack Focus: Show Jetpack app installation within the app using StoreKit #21896
Conversation
|
App Name | ![]() |
|
Configuration | Release-Alpha | |
Build Number | pr21896-cd83651 | |
Version | 23.7 | |
Bundle ID | org.wordpress.alpha | |
Commit | cd83651 | |
App Center Build | WPiOS - One-Offs #7910 |
|
App Name | ![]() |
|
Configuration | Release-Alpha | |
Build Number | pr21896-cd83651 | |
Version | 23.7 | |
Bundle ID | com.jetpack.alpha | |
Commit | cd83651 | |
App Center Build | jetpack-installable-builds #6933 |
I tested the migration flow from Reader it worked well. By having the Jetpack app downloaded within the WordPress app, I think it feels like you're downloading an app from the same ecosystem, which is the case for WP.com users. RPReplay_Final1698349515.MP4 |
We should remove the custom navigation bar appearance settings from everywhere. The new screens (Blaze, Posts, Media) reset them to the defaults: private func configureNavigationBarAppearance() {
let standardAppearance = UINavigationBarAppearance()
standardAppearance.configureWithDefaultBackground()
let scrollEdgeAppearance = UINavigationBarAppearance()
scrollEdgeAppearance.configureWithTransparentBackground()
navigationItem.standardAppearance = standardAppearance
navigationItem.compactAppearance = standardAppearance
navigationItem.scrollEdgeAppearance = scrollEdgeAppearance
navigationItem.compactScrollEdgeAppearance = scrollEdgeAppearance
} The navigation bars in the PHPickerController are also broken because of these. P.S. The improvement is really nice! I didn't know it was a thing. But I would be caution about shipping it if the navigation bar issue isn't fixed. |
Thanks for the comment. I tried different variations of resetting these navigation bar appearance settings: on store vc, parent vc, and globally but I still couldn't get the navigation bar to appear normally. Any ideas of how it could be done besides removing all the custom nav bar appearance settings, @kean ? |
Nope, and you can't (easily) remove it globally because it breaks at least a few screens. |
I applied a workaround for the navigation bar appearance that I don't like but I couldn't get it to work any other way. Setting a global navigation bar color before presenting StoreVC and resetting it back to the previous one when StoreVC is dismissed. RPReplay_Final1698364175.mov |
That's a neat idea 👍 . And the risk is low: you only need it to work once. |
I just had a similar issue with
The I also want to fix a bug in |
Thanks, @kean for notifying.
The same approach with
Agree. May be worth just removing it and going through the app to see what it affects. The change happened a long time ago and the app looked differently https://github.com/wordpress-mobile/WordPress-iOS/pull/11946/files. |
@guarani Lets get it into prod? |
2ad71d5
to
583fbc3
Compare
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.
Works like a charm! The nav bar looks good, I tested via the Reader static poster and via a "Jetpack-powered" banner.
The risk associated with the nav bar fix (which is a bit hacky, but works) is diminished now that the WordPress app doesn't have Stats, Reader or Notifications. I couldn't find any issues after downloading the Jetpack app and returning to the WordPress app.
…-downloading-jetpack
Continuation from: #21801
At the start of the migration, try opening Jetpack app installation within WordPress app using StoreKit instead of opening App Store outside of the app.
Regression Notes
Potential unintended areas of impact
What I did to test those areas of impact (or what existing automated tests I relied on)
What automated tests I added (or what prevented me from doing so)
PR submission checklist:
RELEASE-NOTES.txt
if necessary.UI Changes testing checklist: