As noted in #549, there's a compile error for Xcode 16/iOS 18 caused by the addition of @MainActor @Sendable to UIApplication.open(_:options:completionHandler:). To maintain backwards compatibility I've added a different function to the protocol and then called UIApplication.open instead of updating the protocol to include @MainActor @Sendable.
Also updated tests to pass.
We still need to complete a wider audit of things on iOS 18 to ensure there's no issues, but this ensures teams aren't blocked by a compile error.
As noted in #549, there's a compile error for Xcode 16/iOS 18 caused by the addition of
@MainActor @Sendable
toUIApplication.open(_:options:completionHandler:)
. To maintain backwards compatibility I've added a different function to the protocol and then calledUIApplication.open
instead of updating the protocol to include@MainActor @Sendable
.Also updated tests to pass.
We still need to complete a wider audit of things on iOS 18 to ensure there's no issues, but this ensures teams aren't blocked by a compile error.