From 18c074bca1b33b5c642ebb7d5f02e3a2b291bd9f Mon Sep 17 00:00:00 2001 From: Martin Donadieu Date: Thu, 12 Oct 2023 07:40:14 +0100 Subject: [PATCH] fix: blog articles --- src/content/blog/how-to-release-major-version-in-capgo.md | 4 +++- src/content/blog/how-version-work-in-capgo.md | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/content/blog/how-to-release-major-version-in-capgo.md b/src/content/blog/how-to-release-major-version-in-capgo.md index aef312c0..c40ad46f 100644 --- a/src/content/blog/how-to-release-major-version-in-capgo.md +++ b/src/content/blog/how-to-release-major-version-in-capgo.md @@ -43,12 +43,14 @@ Where Capgo find the version to compare #### IOS > Will be used by Capgo to compare to JavaScript version and find Major upgrade - in IOS the var is set on your project here `ios/App/App.xcodeproj/project.pbxproj` under the key `CURRENT_PROJECT_VERSION` + In IOS the var is set on your project here `ios/App/App/Info.plist` under the key`CFBundleShortVersionString` or `ios/App/App.xcodeproj/project.pbxproj` under the key `MARKETING_VERSION` if `MARKETING_VERSION` was set in your `Info.plist` file. + > You can override this behavior in `capacitor.config.json` file [docs here](/docs/plugin/auto-update#advanced-settings) #### Android > Will be uses by Capgo to compare to JavaScript version and find Major upgrade in Android, the var is set on your project here `android/app/build.gradle` under the key `defaultConfig.versionName` + > You can override this behavior in `capacitor.config.json` file [docs here](/docs/plugin/auto-update#advanced-settings) #### JavaScript > Will be used by Capgo to compare to Native version and find Major upgrade diff --git a/src/content/blog/how-version-work-in-capgo.md b/src/content/blog/how-version-work-in-capgo.md index c7c51e90..b9c55187 100644 --- a/src/content/blog/how-version-work-in-capgo.md +++ b/src/content/blog/how-version-work-in-capgo.md @@ -34,13 +34,14 @@ Where Capgo find the version to compare #### IOS - in IOS the var is set on your project here `ios/App/App.xcodeproj/project.pbxproj` under the key `CURRENT_PROJECT_VERSION` + In IOS the var is set on your project here `ios/App/App/Info.plist` under the key`CFBundleShortVersionString` or `ios/App/App.xcodeproj/project.pbxproj` under the key `MARKETING_VERSION` if `MARKETING_VERSION` was set in your `Info.plist` file. > You can override this behavior in `capacitor.config.json` file [docs here](/docs/plugin/auto-update#advanced-settings) #### Android - in Android, the var is set on your project here `android/app/build.gradle` under the key `defaultConfig.versionName` + In Android, the var is set on your project here `android/app/build.gradle` under the key `defaultConfig.versionName` > You can override this behavior in `capacitor.config.json` file [docs here](/docs/plugin/auto-update#advanced-settings) + #### JavaScript in JavaScript, the var is set on your project here `package.json` under the key `version`