Sherlock / app.config.js
app.config.js
Raw

module.exports = {
  expo: {
    name: "Sherlock",
    slug: "Sherlock",
    version: "1.0.0",
    orientation: "portrait",
    icon: "./assets/images/icon.png",
    scheme: "sherlock",
    userInterfaceStyle: "automatic",
    splash: {
      image: "./assets/images/splash.png",
      resizeMode: "cover",
      backgroundColor: "#1c1d20"
    },
    assetBundlePatterns: [
      "**/*"
    ],
    ios: {
      bundleIdentifier: "com.sherlockknox.app",
      supportsTablet: true
    },
    android: {
      package: "com.sherlockknox.app",
      googleServicesFile: process.env.GOOGLE_SERVICES_JSON ?? "./google-services.json",
      softwareKeyboardLayoutMode: "pan",
      intentFilters: [
        {
          action: "VIEW",
          autoVerify: true,
          data: {
            scheme: "https",
            host: "server.sherlock.noahvanfleet.com",
            pathPrefix: "/"
          },
          category: [
            "BROWSABLE",
            "DEFAULT"
          ]
        }
      ],
      config: {
        googleMaps: {
          apiKey: "AIzaSyD7FUp--so9KOUG-1x9vQtrOMFq3X1mmdI"
        }
      },
      adaptiveIcon: {
        foregroundImage: "./assets/images/adaptive-icon.png",
        backgroundColor: "#1c1d20"
      }
    },
    web: {
      bundler: "metro",
      output: "static",
      favicon: "./assets/images/favicon.png"
    },
    plugins: [
      "expo-router",
      "expo-font",
      "expo-secure-store",
      [
        "expo-notifications",
        {
          icon: "./assets/images/noti_icon.png",
          defaultChannel: "default"
        }
      ]
    ],
    experiments: {
      typedRoutes: true
    },
    extra: {
      eas: {
        projectId: "1cc1c4fc-3bdf-4d32-9db7-0577ae648866"
      },
      GOOGLE_API: "AIzaSyD7FUp--so9KOUG-1x9vQtrOMFq3X1mmdI"
    }
  }
}