fix ios patch refact
This commit is contained in:
@@ -12,7 +12,17 @@
|
||||
// When testing local services, enter an ngrok (et al) domain here. It must use a standard HTTP/HTTPS port.
|
||||
...(IS_DEV || IS_TESTFLIGHT ? [] : []),
|
||||
]
|
||||
@@ -38,27 +35,25 @@
|
||||
@@ -35,34 +32,28 @@
|
||||
|
||||
const USE_SENTRY = Boolean(process.env.SENTRY_AUTH_TOKEN)
|
||||
|
||||
- const IOS_ICON_FILE =
|
||||
- PLATFORM === 'web' // web build doesn't like .icon files
|
||||
- ? './assets/app-icons/ios_icon_default_next.png'
|
||||
- : IS_TESTFLIGHT
|
||||
- ? './assets/app-icons/ios_icon_testflight.icon'
|
||||
- : './assets/app-icons/ios_icon_default.icon'
|
||||
-
|
||||
return {
|
||||
expo: {
|
||||
version: VERSION,
|
||||
@@ -39,15 +49,12 @@
|
||||
config: {
|
||||
usesNonExemptEncryption: false,
|
||||
},
|
||||
- icon:
|
||||
- PLATFORM === 'web' // web build doesn't like .icon files
|
||||
- ? './assets/app-icons/ios_icon_default_next.png'
|
||||
- : './assets/app-icons/ios_icon_default.icon',
|
||||
- icon: IOS_ICON_FILE,
|
||||
+ icon: './assets/app-icon.png',
|
||||
infoPlist: {
|
||||
UIBackgroundModes: ['remote-notification'],
|
||||
NSCameraUsageDescription:
|
||||
@@ -118,7 +113,7 @@
|
||||
@@ -121,7 +112,7 @@
|
||||
entitlements: {
|
||||
'com.apple.developer.kernel.increased-memory-limit': true,
|
||||
'com.apple.developer.kernel.extended-virtual-addressing': true,
|
||||
@@ -56,7 +63,7 @@
|
||||
// 'com.apple.developer.device-information.user-assigned-device-name': true,
|
||||
},
|
||||
privacyManifests: {
|
||||
@@ -181,14 +176,14 @@
|
||||
@@ -184,14 +175,14 @@
|
||||
barStyle: 'light-content',
|
||||
},
|
||||
android: {
|
||||
@@ -73,7 +80,7 @@
|
||||
intentFilters: [
|
||||
{
|
||||
action: 'VIEW',
|
||||
@@ -196,7 +191,7 @@
|
||||
@@ -199,7 +190,7 @@
|
||||
data: [
|
||||
{
|
||||
scheme: 'https',
|
||||
@@ -82,7 +89,7 @@
|
||||
},
|
||||
...(IS_DEV
|
||||
? [
|
||||
@@ -280,7 +275,6 @@
|
||||
@@ -290,7 +281,6 @@
|
||||
networkInstrumentation: true,
|
||||
},
|
||||
],
|
||||
@@ -90,7 +97,7 @@
|
||||
'./plugins/withGradleJVMHeapSizeIncrease.js',
|
||||
'./plugins/withAndroidManifestLargeHeapPlugin.js',
|
||||
'./plugins/withAndroidManifestFCMIconPlugin.js',
|
||||
@@ -288,8 +282,6 @@
|
||||
@@ -298,8 +288,6 @@
|
||||
'./plugins/withAndroidStylesAccentColorPlugin.js',
|
||||
'./plugins/withAndroidDayNightThemePlugin.js',
|
||||
'./plugins/withAndroidNoJitpackPlugin.js',
|
||||
@@ -99,7 +106,7 @@
|
||||
[
|
||||
'expo-font',
|
||||
{
|
||||
@@ -417,30 +409,7 @@
|
||||
@@ -427,30 +415,7 @@
|
||||
build: {
|
||||
experimental: {
|
||||
ios: {
|
||||
|
||||
Reference in New Issue
Block a user