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

fix: fix os version #430

Merged
merged 2 commits into from
Mar 8, 2023
Merged

fix: fix os version #430

merged 2 commits into from
Mar 8, 2023

Conversation

yuhao900914
Copy link
Contributor

Summary

This is the fix for https://amplitude.atlassian.net/browse/DXOC-526?focusedCommentId=169089
TARGET_OS_MACCATALYST is the iPad app that runs on MacOS. Based on the previous logic, the os version will be the iOS version. It makes sense to use the mac version for the os version for this case. Otherwise, the os will be macos 15.0 which is not a valid macOS version. Check here for how the current os version looks like https://analytics.amplitude.com/linearity/chart/6db6un2/edit/us3pssm.

With these changes, the TARGET_OS_MACCATALYST will fall into checking the mac os version instead.
screenshot

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?:

@yuhao900914 yuhao900914 requested review from haoliu-amp and a team March 8, 2023 01:53
@yuhao900914 yuhao900914 merged commit 23fcf7d into main Mar 8, 2023
@yuhao900914 yuhao900914 deleted the fix-osversion branch March 8, 2023 21:27
github-actions bot pushed a commit that referenced this pull request Mar 8, 2023
## [8.15.2](v8.15.1...v8.15.2) (2023-03-08)

### Bug Fixes

* fix os version ([#430](#430)) ([23fcf7d](23fcf7d))
@github-actions
Copy link

github-actions bot commented Mar 8, 2023

🎉 This PR is included in version 8.15.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants