In legacy/trac#26529 (moved) we ported the desktop capability to prompt before opening external apps to mobile. We need to redo that proxy-bypass-protection part for Fenix.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
appLinksUseCases.openAppLink used in BrowserToolbarMenuController.kt (Fenix), AppLinksFeature.kt, AppLinksInterceptor.kt and ContextMenuCandidate.kt. The only one which shows a prompt is in AppLinksFeature.kt. We should probably show a prompt for all of them.
In createShareLinkCandidate. It's in the defaultCandidates list, so it may be present in Fenix contextual menu. I'm not sure what to do with this ones (the "Sharing" ones, in general). Should we also show a prompt right before launching the app?
In #34177 (closed) I assumed these (call intent, add contact) should not be a problem, but we probably need to double check. This is the list:
Context.call
Context.addContact
Context.email
Context.share
These are used in several places (e.g. in HomeActivity.kt, passed to DefaultSelectionActionDelegate (to handle actions when text is selected). The only one that is not currently used is Context.addContact, since createAddContactCandidate in ContextMenuCandidates.kt is not in the default candidates, nor added in fenix BrowserFragment.kt. Not sure about these, should we also show a prompt before launching (e.g. currently in fennec-based Tor Browser we don't do it for sharing).