@tinnoland/ios-share-plugin
v0.0.6
Published
Config plugin to add an share extension to a Expo iOS app
Downloads
18
Maintainers
Readme
@tinnoland/ios-share-plugin
An updated fork from expo-config-plugin-ios-share-extension
An Expo config plugin to auto-configure iOS Share Extension
Installation
Install it in your project:
npx expo install @tinnoland/ios-share-plugin
In your app’s Expo config (app.json, or app.config.js), make sure that @tinnoland/ios-share-plugin
has been added to the list of plugins.
"plugins": [
[
"@tinnoland/ios-share-plugin",
{
"activationRules": {
"NSExtensionActivationSupportsText": false,
"NSExtensionActivationSupportsWebURLWithMaxCount": 1,
"NSExtensionActivationSupportsMovieWithMaxCount": 1
}
}
],
]
Next, rebuild your app.
eas build --profile development --platform ios
Known limitations
- Currently, only URL receiving is supported
- Only support directly redirect to Containing app.
- Here's an article that explains why this approach was chosen.
How it works.
TODO
- [ ] Support receiving more content types
- [ ] Support Android
Acknowledgements
This plugin was inspired by: