Add Open in Brave to iOS Share Sheet Action (Action Extension) #8516
Description
Problem Description
Brave Browser should appear in OS default Share Sheet for URL related actions. This will provide extra visibility and easy access to Brave users on iOS thorough other applications while using the Share Sheet.
Feature Overview
Adding Brave as Action Extension on iOS will add Open in Brave
action to default share sheet. So Brave can be reached outside the application environment. It will also help for users having multiple browsers and want to use Brave for certain actions or links.
Design
There is no design choice to be made here but it will look like the actions shown in he example
Implementation Details
Action extensions are displayed in the action view controller, accessed by users when they tap the Share button within an active application. These extensions are situated in the action section of this panel, alongside default actions like printing and copying content.
When an Action extension is developed, it needs to specify the content types it is capable of handling.
For Brave's case this should be
NSExtensionActivationSupportsText
NSExtensionActivationSupportsWebPageWithMaxCount
NSExtensionActivationSupportsWebURLWithMaxCount
- An action extension target should be added
- Display Name of Extension should be changed
- ActionViewController should be implemented with item provider conforming identifier type and load
User Experience
- Open any app and share url or text
- Check share sheet has open in brave action
- this share functionality should search the text in brave or open link
Additional information
It needs be tested and implemented to see if this behaviour could be possible to detect it is a text or link and do desired action according to it.