matomo-sdk-ios icon indicating copy to clipboard operation
matomo-sdk-ios copied to clipboard

Add support for xrOS

Open marchein opened this issue 1 year ago • 1 comments

Using Xcode 15 Beta 2 and compiling against xrOS beta 1 Xcode build fails in Device.swift in the functions:

  • internal static func screenSizeForCurrentDevice() -> CGSize
  • internal static func nativeScreenSizeForCurrentDevice() -> CGSize

It throws the following error: 'UIScreen' is unavailable in xrOS

marchein avatar Jun 22 '23 09:06 marchein

Hey @marchein, thanks for the report. As for now, there is no xrOS support. This should be fairly simple to fix but it is not on the top of the backlog for now.

brototyp avatar Jul 01 '23 13:07 brototyp