Skip to content

[MOB-3995] Always show last opened page via Ecosia middleware#1063

Merged
d4r1091 merged 2 commits intodevelopfrom
dc-mob-3995-always-show-last-opened-page
Feb 27, 2026
Merged

[MOB-3995] Always show last opened page via Ecosia middleware#1063
d4r1091 merged 2 commits intodevelopfrom
dc-mob-3995-always-show-last-opened-page

Conversation

@d4r1091
Copy link
Copy Markdown
Member

@d4r1091 d4r1091 commented Feb 24, 2026

MOB-3995

Context

We want the app to restore the last visited page when the app reopens.
Currently, Firefox has an option that will let the user choose the logic of the "home page".

Approach

  • Make a middleware and swap it so we own the logic

Other

Before merging

Checklist

  • I performed some relevant testing on a real device and/or simulator for both iPhone and iPad
  • I wrote Unit Tests that confirm the expected behaviour
  • I added the // Ecosia: helper comments where needed

@d4r1091 d4r1091 requested a review from a team February 24, 2026 16:32
@@ -0,0 +1,220 @@
// This Source Code Form is subject to the terms of the Mozilla Public
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@d4r1091 is this what we should always add for our code as well?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, @falkorichter , the rules manages them as well

@d4r1091 d4r1091 merged commit 54702f8 into develop Feb 27, 2026
1 check passed
@d4r1091 d4r1091 deleted the dc-mob-3995-always-show-last-opened-page branch February 27, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants