Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK][YD-4110] Support v2.8.1 of the Android SDK #18

Merged
merged 2 commits into from Mar 15, 2022
Merged

Conversation

mircea-yoti
Copy link
Contributor

@mircea-yoti mircea-yoti commented Mar 10, 2022

Purpose

  • Update the Android SDK version to 2.8.1
  • Update RN to 1.10.0
  • Update metro-react-native-babel-preset to 0.59.0. The previous version was causing a crash when running the app on both Android and iOS. More info here.

External References (e.g. Jira / Zeplin / Confluence)

YD-4110

mariasenosiain and others added 2 commits March 9, 2022 08:29
Previous version was causing a crash when the App was launched in both: iOS & Android
More info here: babel/babel#14139 (comment)

Related to YD-4110
- Update the Android YDS SDK version to 2.8.1
- Update RN to 1.10.0

Related to YD-4110
@@ -11,8 +11,8 @@ android {
defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 21)
targetSdkVersion safeExtGet('targetSdkVersion', 29)
versionCode 190
versionName "1.9.0"
versionCode 191
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
versionCode 191
versionCode 1100

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, updating to 1100 was my initial impulse. But, the thing is, when we'll launch RN version 2.0.0, then I can't downgrade the versionCode to 200. Per the docs:

  • versionCode — A positive integer used as an internal version number. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions. This is not the version number shown to users
  • Typically, you would release the first version of your app with versionCode set to 1, then monotonically increase the value with each release, regardless of whether the release constitutes a major or minor release. This means that the versionCode value does not necessarily have a strong resemblance to the app release version that is visible to the user

@asklausen asklausen added duplicate This issue or pull request already exists and removed duplicate This issue or pull request already exists labels Mar 10, 2022
@Zzhelyaz
Copy link

Tested.

@mircea-yoti mircea-yoti merged commit 4029356 into master Mar 15, 2022
@mircea-yoti mircea-yoti deleted the YD-4110 branch March 15, 2022 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants