Skip to content

Commit

Permalink
🏷️ expo: improve config typing
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Nov 28, 2023
1 parent cbd211c commit 01777ba
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import type { ExpoConfig } from "expo/config";
import type { PluginConfigType as BuildPropertiesConfig } from "expo-build-properties/build/pluginConfig";
import type withRouter from "expo-router/plugin/build";

import metadata from "./package.json";

Expand All @@ -18,12 +20,15 @@ export default {
web: { bundler: "metro", output: "server" as "static", favicon: "./assets/favicon.png" },

plugins: [
"sentry-expo",
["expo-router", { origin: "https://exactly.app" }],
[
"expo-build-properties",
{ android: { compileSdkVersion: 34, targetSdkVersion: 34 }, ios: { deploymentTarget: "13.4" } },
{
android: { compileSdkVersion: 34, targetSdkVersion: 34 },
ios: { deploymentTarget: "13.4" },
} as BuildPropertiesConfig,
],
["expo-router", { origin: "https://exactly.app" } as Parameters<typeof withRouter>[1]],
"sentry-expo",
],
experiments: { typedRoutes: true },
hooks: {
Expand Down

0 comments on commit 01777ba

Please sign in to comment.