feat(killswitch) Add and enable featureflags for a Reader killswitch by CMasterson · Pull Request #780 · Pocket/pocket-ios

1 min read Original article ↗

Summary

See Title

References

https://featureflags.readitlater.com/projects/default/features/perm.ios.disable_reader

Implementation Details

Add new feature flag
Change the shouldOpenInWebview computed var to a func
Add an override to the function to accept a boolean, if true always use the web.

Test Steps

App should function as normal with the featureflag disabled
If enabled it should make all content; saves, archives and home screen render in the web view.

PR Checklist:

  • Added Unit / UI tests
  • Self Review (review, clean up, documentation, run tests)
  • Basic Self QA

Screenshots