From d8f72c1ee10632860de9a67ce9c84831463ad07c Mon Sep 17 00:00:00 2001 From: Hailey Date: Fri, 27 Sep 2024 09:54:37 -0700 Subject: [Share Extension] Support on Android for sharing videos to app (#5466) --- plugins/shareExtension/withIntentFilters.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'plugins') 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 @@ -27,6 +27,29 @@ const withIntentFilters = config => { }, ], }, + { + action: [ + { + $: { + 'android:name': 'android.intent.action.SEND', + }, + }, + ], + category: [ + { + $: { + 'android:name': 'android.intent.category.DEFAULT', + }, + }, + ], + data: [ + { + $: { + 'android:mimeType': 'video/*', + }, + }, + ], + }, { action: [ { -- cgit 1.4.1