diff --git a/index.share.js b/index.share.js deleted file mode 100644 index d7072850..00000000 --- a/index.share.js +++ /dev/null @@ -1,4 +0,0 @@ -import { AppRegistry } from 'react-native' -import ShareExtension from './src/ShareExtension' - -AppRegistry.registerComponent('ShareMenuModuleComponent', () => ShareExtension) diff --git a/src/ShareExtension.tsx b/src/ShareExtension.tsx deleted file mode 100644 index 621f1f69..00000000 --- a/src/ShareExtension.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { useEffect } from 'react' -import { Appearance, Pressable } from 'react-native' -import { Circle } from 'react-native-animated-spinkit' -import { ShareMenuReactView } from 'react-native-share-menu' - -// mimeType -// text/plain - text only, website URL, video?! -// image/jpeg - image -// video/mp4 - video - -const colors = { - primary: { - light: 'rgb(18, 18, 18)', - dark: 'rgb(180, 180, 180)' - }, - background: { - light: 'rgb(250, 250, 250)', - dark: 'rgb(18, 18, 18)' - } -} - -const ShareExtension = () => { - useEffect(() => { - ShareMenuReactView.continueInApp() - }, []) - - const theme = Appearance.getColorScheme() || 'light' - - return ( - - - - ) -} - -export default ShareExtension