WordPress-iOS icon indicating copy to clipboard operation
WordPress-iOS copied to clipboard

In-App Updates: Show flexible update again after a specified interval

Open momo-ozawa opened this issue 9 months ago • 2 comments

Part of https://github.com/Automattic/wordpress-mobile/issues/56

Description

Ref: p1715166447222309-slack-C072JBZL84U

  • Shows the flexible update again for a version after a specified interval

How to test

Preconditions

  • In Xcode, change the app version to something lower than the current app store version, e.g. 24.6
  • Enable the In-App Updates remote feature flag
  • Change delayInDays default value to 1

Test 1.1

  • Run on a real device
  • ✅ Verify the flexible update is displayed
  • Quit/reopen the app again
  • ✅ Verify the flexible update is NOT displayed
  1. Potential unintended areas of impact Flexible/blocking update logic

  2. What I did to test those areas of impact (or what existing automated tests I relied on) Added a test

  3. What automated tests I added (or what prevented me from doing so) AppUpdateCoordinatorTests

PR submission checklist:

  • [x] I have completed the Regression Notes.
  • [x] I have considered adding unit tests for my changes.
  • [x] I have considered adding accessibility improvements for my changes.
  • [x] I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

Testing checklist:

  • [ ] WordPress.com sites and self-hosted Jetpack sites.
  • [ ] Portrait and landscape orientations.
  • [ ] Light and dark modes.
  • [ ] Fonts: Larger, smaller and bold text.
  • [ ] High contrast.
  • [ ] VoiceOver.
  • [ ] Languages with large words or with letters/accents not frequently used in English.
  • [ ] Right-to-left languages. (Even if translation isn’t complete, formatting should still respect the right-to-left layout)
  • [ ] iPhone and iPad.
  • [ ] Multi-tasking: Split view and Slide over. (iPad)

momo-ozawa avatar May 16 '24 19:05 momo-ozawa