aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/app.config.js
diff options
context:
space:
mode:
authorxuatz <xzlow10@gmail.com>2025-08-20 16:49:19 +0900
committerGitHub <noreply@github.com>2025-08-20 08:49:19 +0100
commitdf6814f292f56aa0f650af3d093ba1ca7f159726 (patch)
tree55fcb5c2d57076576e058f172028dca7b3523249 /apps/mobile/app.config.js
parent6e525eb1bc9e3f4a1284893dd51a826540e7a6ba (diff)
downloadkarakeep-df6814f292f56aa0f650af3d093ba1ca7f159726.tar.zst
fix(mobile): remove type: module so expo works (#1846)
Diffstat (limited to 'apps/mobile/app.config.js')
-rw-r--r--apps/mobile/app.config.js102
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",
+ },
+ },
+ },
+};