import 'dotenv/config'; export default { expo: { name: "Desa+", slug: "mobile-darmasaba", version: "2.1.0", // Versi aplikasi (App Store) jsEngine: "jsc", orientation: "portrait", icon: "./assets/images/logo-icon-small.png", scheme: "myapp", userInterfaceStyle: "automatic", newArchEnabled: false, ios: { supportsTablet: true, bundleIdentifier: "mobiledarmasaba.app", buildNumber: "9", infoPlist: { ITSAppUsesNonExemptEncryption: false, CFBundleDisplayName: "Desa+" }, googleServicesFile: process.env.IOS_GOOGLE_SERVICES_FILE }, android: { package: "mobiledarmasaba.app", versionCode: 16, adaptiveIcon: { foregroundImage: "./assets/images/logo-icon-small.png", backgroundColor: "#ffffff" }, googleServicesFile: "./google-services.json", permissions: [ "READ_EXTERNAL_STORAGE", "WRITE_EXTERNAL_STORAGE", "READ_MEDIA_IMAGES", // Android 13+ "READ_MEDIA_VIDEO", // Android 13+ "READ_MEDIA_AUDIO" // Android 13+ ] }, web: { bundler: "metro", output: "static", favicon: "./assets/images/favicon.png" }, plugins: [ "expo-router", [ "expo-splash-screen", { image: "./assets/images/logo-icon-small.png", imageWidth: 200, resizeMode: "contain", backgroundColor: "#ffffff" } ], "expo-font", "expo-image-picker", "expo-web-browser", [ "@react-native-firebase/app", { ios: { googleServicesFile: process.env.IOS_GOOGLE_SERVICES_FILE } } ] ], experiments: { typedRoutes: true }, extra: { router: {}, eas: { projectId: "cfe34fb8-da8c-4004-b5c6-29d07df75cf2" }, URL_API: process.env.URL_API, URL_OTP: process.env.URL_OTP, URL_STORAGE: process.env.URL_STORAGE, URL_FIREBASE_DB: process.env.URL_FIREBASE_DB, PASS_ENC: process.env.PASS_ENC, WA_SERVER_TOKEN: process.env.WA_SERVER_TOKEN, FIREBASE_API_KEY: process.env.FIREBASE_API_KEY, FIREBASE_AUTH_DOMAIN: process.env.FIREBASE_AUTH_DOMAIN, FIREBASE_PROJECT_ID: process.env.FIREBASE_PROJECT_ID, FIREBASE_STORAGE_BUCKET: process.env.FIREBASE_STORAGE_BUCKET, FIREBASE_MESSAGING_SENDER_ID: process.env.FIREBASE_MESSAGING_SENDER_ID, FIREBASE_APP_ID: process.env.FIREBASE_APP_ID, } } };