diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/mobile/app.config.js | 102 | ||||
| -rw-r--r-- | apps/mobile/app.json | 100 | ||||
| -rw-r--r-- | apps/mobile/metro.config.js (renamed from apps/mobile/metro.config.cjs) | 0 | ||||
| -rw-r--r-- | apps/mobile/package.json | 1 | ||||
| -rw-r--r-- | apps/mobile/plugins/camera-not-required.js (renamed from apps/mobile/plugins/camera-not-required.cjs) | 0 | ||||
| -rw-r--r-- | apps/mobile/plugins/trust-local-certs.js (renamed from apps/mobile/plugins/trust-local-certs.cjs) | 0 |
6 files changed, 102 insertions, 101 deletions
diff --git a/apps/mobile/app.config.js b/apps/mobile/app.config.js new file mode 100644 index 00000000..7e8ab546 --- /dev/null +++ b/apps/mobile/app.config.js @@ -0,0 +1,102 @@ +export default { + expo: { + name: "Karakeep", + slug: "hoarder", + scheme: "karakeep", + version: "1.7.0", + orientation: "portrait", + icon: { + light: "./assets/icon.png", + tinted: "./assets/icon-tinted.png", + }, + userInterfaceStyle: "automatic", + assetBundlePatterns: ["**/*"], + ios: { + supportsTablet: true, + bundleIdentifier: "app.hoarder.hoardermobile", + splash: { + image: "./assets/splash.png", + resizeMode: "contain", + backgroundColor: "#ffffff", + dark: { + image: "./assets/splash-white.png", + resizeMode: "contain", + backgroundColor: "#000000", + }, + }, + config: { + usesNonExemptEncryption: false, + }, + infoPlist: { + NSAppTransportSecurity: { + NSAllowsArbitraryLoads: true, + }, + }, + buildNumber: "24", + }, + android: { + adaptiveIcon: { + foregroundImage: "./assets/adaptive-icon.png", + backgroundColor: "#000000", + monochromeImage: "./assets/adaptive-icon.png", + }, + splash: { + image: "./assets/splash.png", + resizeMode: "contain", + backgroundColor: "#ffffff", + dark: { + image: "./assets/splash-white.png", + resizeMode: "contain", + backgroundColor: "#000000", + }, + }, + package: "app.hoarder.hoardermobile", + versionCode: 24, + }, + plugins: [ + "./plugins/trust-local-certs.js", + "./plugins/camera-not-required.js", + "expo-router", + [ + "expo-share-intent", + { + iosActivationRules: { + NSExtensionActivationSupportsWebURLWithMaxCount: 1, + NSExtensionActivationSupportsWebPageWithMaxCount: 1, + NSExtensionActivationSupportsImageWithMaxCount: 1, + NSExtensionActivationSupportsMovieWithMaxCount: 0, + NSExtensionActivationSupportsText: true, + NSExtensionActivationSupportsFileWithMaxCount: 10, + NSExtensionActivationRule: + 'SUBQUERY (extensionItems, $extensionItem, SUBQUERY ($extensionItem.attachments, $attachment, SUBQUERY ($attachment.registeredTypeIdentifiers, $uti, $uti UTI-CONFORMS-TO "com.adobe.pdf" || $uti UTI-CONFORMS-TO "public.image" || $uti UTI-CONFORMS-TO "public.url" || $uti UTI-CONFORMS-TO "public.plain-text").@count >= 1).@count >= 1).@count >= 1', + }, + androidIntentFilters: ["text/*", "image/*", "application/pdf"], + }, + ], + "expo-secure-store", + [ + "expo-image-picker", + { + photosPermission: + "The app access your photo gallary on your request to hoard them.", + }, + ], + [ + "expo-build-properties", + { + android: { + usesCleartextTraffic: true, + }, + }, + ], + ], + extra: { + router: { + origin: false, + }, + eas: { + projectId: "d6d14643-ad43-4cd3-902a-92c5944d5e45", + }, + }, + }, +}; diff --git a/apps/mobile/app.json b/apps/mobile/app.json deleted file mode 100644 index 908f6d97..00000000 --- a/apps/mobile/app.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "expo": { - "name": "Karakeep", - "slug": "hoarder", - "scheme": "karakeep", - "version": "1.7.0", - "orientation": "portrait", - "icon": { - "light": "./assets/icon.png", - "tinted": "./assets/icon-tinted.png" - }, - "userInterfaceStyle": "automatic", - "assetBundlePatterns": ["**/*"], - "ios": { - "supportsTablet": true, - "bundleIdentifier": "app.hoarder.hoardermobile", - "splash": { - "image": "./assets/splash.png", - "resizeMode": "contain", - "backgroundColor": "#ffffff", - "dark": { - "image": "./assets/splash-white.png", - "resizeMode": "contain", - "backgroundColor": "#000000" - } - }, - "config": { - "usesNonExemptEncryption": false - }, - "infoPlist": { - "NSAppTransportSecurity": { - "NSAllowsArbitraryLoads": true - } - }, - "buildNumber": "24" - }, - "android": { - "adaptiveIcon": { - "foregroundImage": "./assets/adaptive-icon.png", - "backgroundColor": "#000000", - "monochromeImage": "./assets/adaptive-icon.png" - }, - "splash": { - "image": "./assets/splash.png", - "resizeMode": "contain", - "backgroundColor": "#ffffff", - "dark": { - "image": "./assets/splash-white.png", - "resizeMode": "contain", - "backgroundColor": "#000000" - } - }, - "package": "app.hoarder.hoardermobile", - "versionCode": 24 - }, - "plugins": [ - "./plugins/trust-local-certs.cjs", - "./plugins/camera-not-required.cjs", - "expo-router", - [ - "expo-share-intent", - { - "iosActivationRules": { - "NSExtensionActivationSupportsWebURLWithMaxCount": 1, - "NSExtensionActivationSupportsWebPageWithMaxCount": 1, - "NSExtensionActivationSupportsImageWithMaxCount": 1, - "NSExtensionActivationSupportsMovieWithMaxCount": 0, - "NSExtensionActivationSupportsText": true, - "NSExtensionActivationSupportsFileWithMaxCount": 10, - "NSExtensionActivationRule": "SUBQUERY (extensionItems, $extensionItem, SUBQUERY ($extensionItem.attachments, $attachment, SUBQUERY ($attachment.registeredTypeIdentifiers, $uti, $uti UTI-CONFORMS-TO \"com.adobe.pdf\" || $uti UTI-CONFORMS-TO \"public.image\" || $uti UTI-CONFORMS-TO \"public.url\" || $uti UTI-CONFORMS-TO \"public.plain-text\").@count >= 1).@count >= 1).@count >= 1" - }, - "androidIntentFilters": ["text/*", "image/*", "application/pdf"] - } - ], - "expo-secure-store", - [ - "expo-image-picker", - { - "photosPermission": "The app access your photo gallary on your request to hoard them." - } - ], - [ - "expo-build-properties", - { - "android": { - "usesCleartextTraffic": true - } - } - ] - ], - "extra": { - "router": { - "origin": false - }, - "eas": { - "projectId": "d6d14643-ad43-4cd3-902a-92c5944d5e45" - } - } - } -} diff --git a/apps/mobile/metro.config.cjs b/apps/mobile/metro.config.js index f9679cb2..f9679cb2 100644 --- a/apps/mobile/metro.config.cjs +++ b/apps/mobile/metro.config.js diff --git a/apps/mobile/package.json b/apps/mobile/package.json index f66a64c4..80e4ffcb 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -2,7 +2,6 @@ "name": "@karakeep/mobile", "version": "1.0.0", "main": "index.ts", - "type": "module", "scripts": { "clean": "git clean -xdf .expo .turbo node_modules", "start": "expo start", diff --git a/apps/mobile/plugins/camera-not-required.cjs b/apps/mobile/plugins/camera-not-required.js index 75116604..75116604 100644 --- a/apps/mobile/plugins/camera-not-required.cjs +++ b/apps/mobile/plugins/camera-not-required.js diff --git a/apps/mobile/plugins/trust-local-certs.cjs b/apps/mobile/plugins/trust-local-certs.js index 40275034..40275034 100644 --- a/apps/mobile/plugins/trust-local-certs.cjs +++ b/apps/mobile/plugins/trust-local-certs.js |
