Add support for HTTPS-Only Mode
User Story
- As a user, I want be able to opt in to use the HTTPS-Only Mode
Dependencies
- GeckoView bug.
Acceptance Criteria
- When I navigate to any site, the HTTPS version should be always served
👋🏽 @brampitoyo From UX we will need mockups for the error page I'm not sure if we to use the same page as desktop?

@Amejia481 It seems as if the desktop error page was already designed to be responsive:
Let’s try using it on mobile. I think it should work OK.
@Amejia481 It seems as if the desktop error page was already designed to be responsive:
![]()
Let’s try using it on mobile. I think it should work OK.
Perfect!
FYI the GeckoView bug landed so this is ready to be implemented!
Engineering tasks
- [x] https://github.com/mozilla-mobile/focus-android/issues/5935
- [x] https://github.com/mozilla-mobile/android-components/issues/11305
- [x] https://github.com/mozilla-mobile/android-components/issues/11306
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.