diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-02-22 09:37:09 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 09:37:09 +0900 |
commit | c2d87b807554f11cb99694d4b0ccb86905d468c0 (patch) | |
tree | 7bb610b7f4cea62d8b28625ff9814e38cb12079f /app.config.js | |
parent | 6d422bb583bf8946d92fe270b1fe5c760251f0cc (diff) | |
parent | 874489b40227b2ce302e6be840e536e82847842f (diff) | |
download | voidsky-c2d87b807554f11cb99694d4b0ccb86905d468c0.tar.zst |
Merge branch 'bluesky-social:main' into patch-3
Diffstat (limited to 'app.config.js')
-rw-r--r-- | app.config.js | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/app.config.js b/app.config.js index 9814065f4..e710420b0 100644 --- a/app.config.js +++ b/app.config.js @@ -11,36 +11,23 @@ const DARK_SPLASH_CONFIG = { resizeMode: 'cover', } -module.exports = function () { +module.exports = function (config) { /** * App version number. Should be incremented as part of a release cycle. */ const VERSION = pkg.version /** - * iOS build number. Must be incremented for each TestFlight version. - * WARNING: Always leave this variable on line 24! If it is moved, you need to update ./scripts/bumpIosBuildNumber.sh - */ - const IOS_BUILD_NUMBER = '7' - - /** - * Android build number. Must be incremented for each release. - * WARNING: Always leave this variable on line 30! If it is moved, you need to update ./scripts/bumpAndroidBuildNumber.sh - */ - const ANDROID_VERSION_CODE = 62 - - /** * Uses built-in Expo env vars * * @see https://docs.expo.dev/build-reference/variables/#built-in-environment-variables */ const PLATFORM = process.env.EAS_BUILD_PLATFORM - /** - * Additional granularity for the `dist` field - */ const DIST_BUILD_NUMBER = - PLATFORM === 'android' ? ANDROID_VERSION_CODE : IOS_BUILD_NUMBER + PLATFORM === 'android' + ? process.env.BSKY_ANDROID_VERSION_CODE + : process.env.BSKY_IOS_BUILD_NUMBER return { expo: { @@ -57,7 +44,6 @@ module.exports = function () { userInterfaceStyle: 'automatic', splash: SPLASH_CONFIG, ios: { - buildNumber: IOS_BUILD_NUMBER, supportsTablet: false, bundleIdentifier: 'xyz.blueskyweb.app', config: { @@ -85,7 +71,6 @@ module.exports = function () { backgroundColor: '#ffffff', }, android: { - versionCode: ANDROID_VERSION_CODE, icon: './assets/icon.png', adaptiveIcon: { foregroundImage: './assets/icon-android-foreground.png', |