generated from Medici-Mansion/basic-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config.ts
62 lines (60 loc) · 1.5 KB
/
app.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { ExpoConfig, ConfigContext } from "@expo/config";
import * as dotenv from "dotenv";
dotenv.config();
export default ({ config }: ConfigContext) =>
({
...config,
name: "poop",
slug: "poop",
experiments: {
typedRoutes: true,
},
ios: {
...config.ios,
config: {
...config.ios?.config,
usesNonExemptEncryption: false,
},
usesAppleSignIn: true,
bundleIdentifier: "com.medici-mansion.poop",
infoPlist: {
CFBundleURLTypes: [
{
CFBundleURLSchemes: ["com.medici-mansion.poop"],
},
],
},
},
plugins: [
...(config.plugins || []),
[
"expo-media-library",
{
photosPermission: "Allow $(PRODUCT_NAME) to access your photos.",
savePhotosPermission: "Allow $(PRODUCT_NAME) to save photos.",
isAccessMediaLocationEnabled: true,
},
],
[
"expo-image-picker",
{
photosPermission:
"The app accesses your photos to let you share them with your friends.",
},
],
[
"@react-native-google-signin/google-signin",
{
iosUrlScheme:
"com.googleusercontent.apps.502855032276-uhfupiqrfjn8194qcg9qrbevvf4qvo0k",
},
],
[
"expo-secure-store",
{
faceIDPermission:
"Allow $(PRODUCT_NAME) to access your Face ID biometric data.",
},
],
],
} satisfies ExpoConfig);