diff options
author | Hailey <me@haileyok.com> | 2024-09-27 09:54:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-27 09:54:37 -0700 |
commit | d8f72c1ee10632860de9a67ce9c84831463ad07c (patch) | |
tree | 0a3cca507a3d2311cd1e69a622e9d03cbe15d6b6 /plugins | |
parent | 4553e6b64955c32225cefbe14117e4d08a0520ca (diff) | |
download | voidsky-d8f72c1ee10632860de9a67ce9c84831463ad07c.tar.zst |
[Share Extension] Support on Android for sharing videos to app (#5466)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/shareExtension/withIntentFilters.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/shareExtension/withIntentFilters.js b/plugins/shareExtension/withIntentFilters.js index 605fcfd05..16494893b 100644 --- a/plugins/shareExtension/withIntentFilters.js +++ b/plugins/shareExtension/withIntentFilters.js @@ -45,6 +45,29 @@ const withIntentFilters = config => { data: [ { $: { + 'android:mimeType': 'video/*', + }, + }, + ], + }, + { + action: [ + { + $: { + 'android:name': 'android.intent.action.SEND', + }, + }, + ], + category: [ + { + $: { + 'android:name': 'android.intent.category.DEFAULT', + }, + }, + ], + data: [ + { + $: { 'android:mimeType': 'text/plain', }, }, |