chore(app): ship mobile updates through stores only (#2708)
Paseo does not publish EAS updates, so remove the update runtime and channel metadata from native builds.
This commit is contained in:
@@ -15,7 +15,6 @@ const buildProfile = isFdroidBuild
|
||||
cameraPlugins: [],
|
||||
fdroidPlugins: [withFdroidAutolinking],
|
||||
notificationPlugins: [],
|
||||
updates: { enabled: false },
|
||||
}
|
||||
: {
|
||||
androidPermissions: [
|
||||
@@ -44,7 +43,6 @@ const buildProfile = isFdroidBuild
|
||||
},
|
||||
],
|
||||
],
|
||||
updates: {},
|
||||
};
|
||||
|
||||
function getNativeBuildVersionCode(version) {
|
||||
@@ -125,13 +123,6 @@ export default {
|
||||
scheme: "paseo",
|
||||
userInterfaceStyle: "automatic",
|
||||
newArchEnabled: true,
|
||||
runtimeVersion: {
|
||||
policy: "appVersion",
|
||||
},
|
||||
updates: {
|
||||
url: "https://u.expo.dev/0e7f65ce-0367-46c8-a238-2b65963d235a",
|
||||
...buildProfile.updates,
|
||||
},
|
||||
ios: {
|
||||
supportsTablet: true,
|
||||
infoPlist: {
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
"development": {
|
||||
"developmentClient": true,
|
||||
"distribution": "internal",
|
||||
"channel": "development",
|
||||
"env": {
|
||||
"APP_VARIANT": "development"
|
||||
},
|
||||
@@ -16,7 +15,6 @@
|
||||
}
|
||||
},
|
||||
"production": {
|
||||
"channel": "production",
|
||||
"env": {
|
||||
"APP_VARIANT": "production"
|
||||
},
|
||||
|
||||
@@ -87,7 +87,6 @@
|
||||
"expo-sharing": "^14.0.8",
|
||||
"expo-splash-screen": "~31.0.10",
|
||||
"expo-system-ui": "~6.0.7",
|
||||
"expo-updates": "~29.0.12",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"htmlparser2": "^12.0.0",
|
||||
"i18next": "^26.3.0",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import Constants from "expo-constants";
|
||||
|
||||
/** F-Droid build without proprietary camera, notification, or OTA dependencies. */
|
||||
/** F-Droid build without proprietary camera or notification dependencies. */
|
||||
export const isFdroidBuild = Constants.expoConfig?.extra?.fdroidBuild === true;
|
||||
|
||||
Reference in New Issue
Block a user