Skip to content

Conversation

@krushnarout
Copy link
Member

@krushnarout krushnarout commented Jan 10, 2026

added deep link for unlimited plan subscription page

ScreenRecording_01-19-2026.12-07-19_1.mov

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a deep link for the 'upgrade to unlimited' page. The changes include a new intent filter in AndroidManifest.xml and logic in app_shell.dart to handle the link. The implementation is straightforward, and the suggested improvement to make the deep link handling more robust by adding a host check to the URI parsing logic has been retained as it ensures only intended URLs trigger navigation to the upgrade page.

),
);
}
} else if (uri.pathSegments.first == 'upgrade') {
Copy link
Contributor

Choose a reason for hiding this comment

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

high

The condition uri.pathSegments.first == 'upgrade' is not specific enough as it doesn't check the URI's host. The AndroidManifest.xml specifies this deep link for the h.omi.me host. To make the handling more robust and prevent accidentally matching URLs from other hosts (e.g., https://another.site/upgrade), the host should be explicitly checked. Using uri.path == '/upgrade' is also more direct for an exact path match.

Suggested change
} else if (uri.pathSegments.first == 'upgrade') {
} else if (uri.host == 'h.omi.me' && uri.path == '/upgrade') {

@krushnarout krushnarout marked this pull request as draft January 15, 2026 12:15
@krushnarout krushnarout marked this pull request as ready for review January 19, 2026 06:40
@krushnarout krushnarout requested a review from mdmohsin7 January 19, 2026 13:22
@mdmohsin7 mdmohsin7 merged commit f2c9607 into main Jan 20, 2026
2 of 3 checks passed
@mdmohsin7 mdmohsin7 deleted the deeplink branch January 20, 2026 11:59
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.

3 participants