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

Updated to support visionOS #109

Merged
merged 2 commits into from
May 25, 2024
Merged

Updated to support visionOS #109

merged 2 commits into from
May 25, 2024

Conversation

cklokmose
Copy link
Contributor

Updated package to support visionOS

@@ -11,7 +11,7 @@ if ProcessInfo.processInfo.environment["LOCAL_BUILD"] != nil {

let package = Package(
name: "automerge-repo",
platforms: [.iOS(.v16), .macOS(.v13)],
platforms: [.iOS(.v16), .macOS(.v13), .visionOS(.v1)],
Copy link
Collaborator

Choose a reason for hiding this comment

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

not strictly needed, but doesn't hurt anything to have it here

@@ -36,7 +36,7 @@ public struct PeerToPeerProviderConfiguration: Sendable {
if let auto = autoconnect {
self.autoconnect = auto
} else {
#if os(iOS)
#if os(iOS) || os(visionOS)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just to be sure before I merge this - this means the default peer to peer connection will automatically try to connect to any visible peers as a default setting. I'm good with it, as it can be overridden in code, but I wanted to double-check before I merge.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's the default with iOS so I thought it should be the same for visionOS.

@heckj heckj merged commit 0e6b01d into automerge:main May 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants