From c9d231251f16a2ad4005a81b1bf6faa92c2afbf6 Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Thu, 16 Mar 2023 21:41:51 +0100 Subject: [PATCH] Looking how to import images --- AndroidManifest.xml | 6 ++++++ src/components/map/Map.tsx | 1 + 2 files changed, 7 insertions(+) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index b203e8b..85ad507 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -51,6 +51,12 @@ + + + + + + diff --git a/src/components/map/Map.tsx b/src/components/map/Map.tsx index 720a669..1932cbf 100644 --- a/src/components/map/Map.tsx +++ b/src/components/map/Map.tsx @@ -118,6 +118,7 @@ const Map: Component = () => { } } else if (intent.action === 'android.intent.action.SEND') { const uri = intent.extras['android.intent.extra.STREAM']; + // intent.type is 'image/*' for gallery share importUrls([uri]); } });