This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
generated from t3-oss/create-t3-turbo
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from juliusmarminge/expo-env
chore: use app.config for constants
- Loading branch information
Showing
9 changed files
with
43 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { ExpoConfig, ConfigContext } from "@expo/config"; | ||
|
||
const CLERK_PUBLISHABLE_KEY = "your-clerk-publishable-key"; | ||
|
||
const defineConfig = (_ctx: ConfigContext): ExpoConfig => ({ | ||
name: "expo", | ||
slug: "expo", | ||
version: "1.0.0", | ||
orientation: "portrait", | ||
icon: "./assets/icon.png", | ||
userInterfaceStyle: "light", | ||
splash: { | ||
image: "./assets/icon.png", | ||
resizeMode: "contain", | ||
backgroundColor: "#2e026d", | ||
}, | ||
updates: { | ||
fallbackToCacheTimeout: 0, | ||
}, | ||
assetBundlePatterns: ["**/*"], | ||
ios: { | ||
supportsTablet: true, | ||
bundleIdentifier: "your.bundle.identifier", | ||
}, | ||
android: { | ||
adaptiveIcon: { | ||
foregroundImage: "./assets/icon.png", | ||
backgroundColor: "#2e026d", | ||
}, | ||
}, | ||
extra: { | ||
eas: { | ||
projectId: "your-project-id", | ||
}, | ||
CLERK_PUBLISHABLE_KEY, | ||
}, | ||
plugins: ["./expo-plugins/with-modify-gradle.js"], | ||
}); | ||
|
||
export default defineConfig; |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters