-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.config.js
39 lines (38 loc) · 1.09 KB
/
app.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import "dotenv/config";
const IS_DEV = process.env.APP_VARIANT === "development";
export default {
name: IS_DEV ? "Muzik (Dev)" : "Muzik",
slug: "Muzik",
version: "1.0.0",
orientation: "portrait",
icon: "./assets/app_icon.png",
userInterfaceStyle: "light",
ios: {
bundleIdentifier: IS_DEV ? "com.muzik.in.dev" : "com.muzik.in",
supportsTablet: true,
buildNumber: "1.0.0",
},
android: {
package: IS_DEV ? "com.muzik.in.dev" : "com.muzik.in",
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon.png",
backgroundColor: "#FFFFFF",
},
versionCode: 1,
},
updates: {
fallbackToCacheTimeout: 0,
},
assetBundlePatterns: ["**/*"],
web: {
favicon: "./assets/favicon.png",
},
extra: {
firebaseApiKey: process.env.FIREBASE_API_KEY,
firebaseAuthDomain: process.env.FIREBASE_AUTH_DOMAIN,
firebaseProjectId: process.env.FIREBASE_PROJECT_ID,
firebaseStorageBucket: process.env.FIREBASE_STORAGE_BUCKET,
firebaseMessagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID,
firebaseAppId: process.env.FIREBASE_APP_ID,
},
};