How to prevent Chrome Android browser from closing current tab from app switch?

85 views
Skip to first unread message

Qianlin Luo

unread,
Aug 10, 2022, 12:16:09 AM8/10/22
to Chromium Extensions
Hi group!

We have a use-case of supporting app switch from Chrome Android browser but we need the chrome browser to not close the current tab when app switch. Wondering if we could pass/configure something like canCloseTab through Chromium's ExternalNavigationParams potentially from our URL or custom-configure to prevent Chromium from closing the current tab during app switch.

Code pointer for closure detection: InterceptNavigationDelegateImpl.java - Chromium Code Search.

Thank you very much!
Any help would be appreciated🙏

Simeon Vincent

unread,
Aug 10, 2022, 11:02:01 AM8/10/22
to Chromium Extensions, vlu...@gmail.com
Chromium does not support extension on Android. You may have better luck on chromium-discuss.

Simeon - @dotproto
Chrome Extensions DevRel
Reply all
Reply to author
Forward
0 new messages