Skip to content

Commit

Permalink
fix: blog articles
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Oct 12, 2023
1 parent 7ea1d6a commit 18c074b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/content/blog/how-to-release-major-version-in-capgo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions src/content/blog/how-version-work-in-capgo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 18c074b

Please sign in to comment.