diff options
Diffstat (limited to 'apps/mobile/app.config.js')
| -rw-r--r-- | apps/mobile/app.config.js | 102 |
1 files changed, 102 insertions, 0 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", + }, + }, + }, +}; |
