84 lines
2.3 KiB
JavaScript
84 lines
2.3 KiB
JavaScript
import 'dotenv/config';
|
|
|
|
export default {
|
|
expo: {
|
|
name: "Desa+",
|
|
slug: "mobile-darmasaba",
|
|
version: "2.0.2", // 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: "4",
|
|
infoPlist: {
|
|
ITSAppUsesNonExemptEncryption: false,
|
|
CFBundleDisplayName: "Desa+"
|
|
},
|
|
googleServicesFile: process.env.IOS_GOOGLE_SERVICES_FILE
|
|
},
|
|
android: {
|
|
package: "mobiledarmasaba.app",
|
|
versionCode: 11,
|
|
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
|
|
}
|
|
}
|
|
};
|