This commit is contained in:
2025-06-05 10:09:29 +07:00
parent eb69d8bbc4
commit bee191d7c6
40 changed files with 69930 additions and 823 deletions

37
app.config.js Normal file
View File

@@ -0,0 +1,37 @@
import 'dotenv/config'; // Đảm bảo tải biến môi trường
export default {
expo: {
name: "bestpc_mobile",
slug: "bestpc-mobile",
platforms: ["ios", "android"],
version: "1.0.0",
orientation: "portrait",
splash: {
resizeMode: "contain",
backgroundColor: "#ffffff"
},
updates: {
fallbackToCacheTimeout: 0
},
assetBundlePatterns: [
"**/*"
],
ios: {
supportsTablet: true
},
android: {
adaptiveIcon: {
backgroundColor: "#ffffff"
}
},
packagerOpts: {
sourceExts: ["js", "json", "ts", "tsx"]
},
extra: {
expoHome: process.env.EXPO_HOME,
expoCacheDir: process.env.EXPO_CACHE_DIR,
expoProjectDir: process.env.EXPO_PROJECT_DIR
}
}
};