-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add visionOS support #471
Add visionOS support #471
Conversation
#elif UNITY_IPHONE && !UNITY_EDITOR | ||
#elif (UNITY_IOS || UNITY_VISIONOS) && !UNITY_EDITOR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this would be the reason why before this PR, it would still compile, but no-op
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a comment but LGTM!
@@ -1,5 +1,5 @@ | |||
|
|||
#if UNITY_EDITOR && UNITY_IOS | |||
#if UNITY_EDITOR && (UNITY_IOS || UNITY_VISIONOS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't been able to test this, but do we need to also check for vision os in line 16 below? https://docs.unity3d.com/ScriptReference/BuildTarget.VisionOS.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bump to this @aboedo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it support Unity-VisionOS now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After testing with the new BuildTarget.VisionOS
, this actually brakes with the current unity version we are using and it would be considered a breaking change. In any case, this script shouldn't really be needed in modern unity versions so we can merge without it.
34bae66
to
74d54b3
Compare
**This is an automatic release.** ## RevenueCat SDK ### ✨ New Features * Add visionOS support (#471) via Andy Boedo (@aboedo) ### 📦 Dependency Updates * Bump fastlane from 2.222.0 to 2.223.1 (#509) via dependabot[bot] (@dependabot[bot])
Adding visionOS support