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
        }
    }
};
