diff --git a/.github/workflows/eas-build.yml b/.github/workflows/eas-build.yml index d54d4b4..a123b68 100644 --- a/.github/workflows/eas-build.yml +++ b/.github/workflows/eas-build.yml @@ -5,6 +5,7 @@ on: push: tags: - 'eas-v*.*.*' + - 'v*.*.*' paths-ignore: - 'README.md' - 'wiki/**' diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e79978e..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "libs/expo-application"] - path = libs/expo-application - url = https://github.com/Nonononoki/expo-application diff --git a/libs/expo-application b/libs/expo-application deleted file mode 160000 index 9388d3e..0000000 --- a/libs/expo-application +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9388d3e0ef639741f6f4555a1ef8d7955788d74b diff --git a/package.json b/package.json index 1d54ec4..59c5afa 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,6 @@ "buffer": "^6.0.3", "drizzle-orm": "^0.30.1", "expo": "52.0.11", - "expo-application": "6.0.1", "expo-background-fetch": "13.0.3", "expo-camera": "16.0.7", "expo-clipboard": "7.0.0", diff --git a/scripts/fit-f-droid.mjs b/scripts/fit-f-droid.mjs deleted file mode 100644 index 4370920..0000000 --- a/scripts/fit-f-droid.mjs +++ /dev/null @@ -1,10 +0,0 @@ -import fs from 'fs-extra'; -import path from 'path'; - -const projectRoot = path.join(__dirname, '..'); - -// const expoLocationPath = path.join(projectRoot, 'node_modules', 'expo-location'); -const expoApplicationPath = path.join(projectRoot, 'node_modules', 'expo-application'); - -await Promise.all([fs.remove(expoApplicationPath)]); -await Promise.all([fs.copy(path.join(projectRoot, 'libs', 'expo-application'), expoApplicationPath)]); diff --git a/src/pages/Config/Developer/CopyDebugInfoButton.tsx b/src/pages/Config/Developer/CopyDebugInfoButton.tsx new file mode 100644 index 0000000..329e6a5 --- /dev/null +++ b/src/pages/Config/Developer/CopyDebugInfoButton.tsx @@ -0,0 +1,32 @@ +/** This file is commented out, because expo-application block the f-droid integration. issue #6 */ +import * as Application from 'expo-application'; +import * as Clipboard from 'expo-clipboard'; +import { useTranslation } from 'react-i18next'; +import { Button, Text } from 'react-native-paper'; + +export function CopyDebugInfoButton(): JSX.Element { + const { t } = useTranslation(); + + return ( + + ); +} diff --git a/src/pages/Config/Developer/index.tsx b/src/pages/Config/Developer/index.tsx index a3668f9..4fc2630 100644 --- a/src/pages/Config/Developer/index.tsx +++ b/src/pages/Config/Developer/index.tsx @@ -1,5 +1,3 @@ -import * as Application from 'expo-application'; -import * as Clipboard from 'expo-clipboard'; import { useTranslation } from 'react-i18next'; import { Button, Text } from 'react-native-paper'; @@ -25,26 +23,7 @@ export function Developer(): JSX.Element { {t('Preference.OpenWikisFolder')} {OpenDirectoryResultSnackBar} - + {/* */} ); }