AppAuth-iOS icon indicating copy to clipboard operation
AppAuth-iOS copied to clipboard

visionOS

Open fiedler-itlabs opened this issue 1 year ago • 5 comments

Describe the bug AppAuth-iOS is not able to compile on a visionOS project. Error: 'openURL:' is unavailable: not available on xrOS. OIDExternalUsaerAgentOSCustomBrowser.m Line 148 & 156

To Reproduce Steps to reproduce the behavior:

  1. Create new VisionOS project
  2. Add AppAuth-iOS as dependency
  3. compile
  4. See error

Expected behavior Successfull compilation

Environment

  • Device: visionPro
  • OS: visionOS 1.0

fiedler-itlabs avatar Jul 05 '23 21:07 fiedler-itlabs

Also SFSafariViewControllerDelegate is not available for visionOS

pastey avatar Jul 13 '23 08:07 pastey

Is it possible to add the visionOS platform to podspec?

BrianMichael96 avatar Nov 09 '23 21:11 BrianMichael96

I have made a pull request for visionOS, you could check https://github.com/openid/AppAuth-iOS/pull/821, or use my repo https://github.com/frogcjn/AppAuth-iOS. The visionOS version use UIWindow instead of use UIViewController as an authentication presentation anchor.

frogcjn avatar Feb 27 '24 22:02 frogcjn

Hello, any news ?

baptistedajon avatar Jun 03 '24 13:06 baptistedajon

Hello, sorry to spam but any news to visionOS support ? @frogcjn already made a PR #821 but no reviews.

baptistedajon avatar Jul 25 '24 08:07 baptistedajon