firebase / firebase-unity-sdk

The Firebase SDK for Unity
http://firebase.google.com
Apache License 2.0
199 stars 32 forks source link

Firebase SDK for VisionOS in Unity package #933

Open Rusus24 opened 5 months ago

Rusus24 commented 5 months ago

Description

Hey!

Now we're trying to port a game from Oculus Quest 2 to Apple Vision headset. We developed the app with Unity3D. The Oculus runs on android and works great with firebase but after research it seems that the Unity Firebase package doesn't support VisionOS.

Is this feature taking into account in the near future?

API Proposal

No response

Firebase Product(s)

Authentication, Database, Storage

google-oss-bot commented 5 months ago

I found a few problems with this issue:

BrooklynDipi commented 5 months ago

Seconding this request. Having similar issues. I know the team was quick to support VisionOS for Firebase on iOS so hopefully its not too much of a stretch.

maxcelar commented 5 months ago

We also need Unity VisionOS support as soon as possible.

skoteskote commented 5 months ago

Same. This is currently blocking us from porting our project to VisionOS, so we hope it will be implemented as soon as possible.

m-brewster commented 5 months ago

Same, this is incredibly crucial to our project and blocking our ability to port over to VisionOS.

a-maurice commented 4 months ago

We are looking into it, though it will take some time, as some of our dependencies do not currently support VisionOS yet (for example, many of the Cocoapod libraries do not support it).

StephenHodgson commented 4 months ago

yup, it also depends on https://github.com/googlesamples/unity-jar-resolver/issues/628 to be completed first.

mahdi862 commented 4 months ago

We are looking into it, though it will take some time, as some of our dependencies do not currently support VisionOS yet (for example, many of the Cocoapod libraries do not support it). Do you have a partially working repo that can be used? I only need the Auth and Realtime Database packages so it is very beneficial if the repo can be shared.

StephenHodgson commented 2 months ago

@a-maurice any updates?

a-maurice commented 2 months ago

Unfortunately nothing we can share at the moment, we've been busy trying to handle the upcoming privacy manifest and code signing changes for the Apple libraries. On a positive, VisionOS support requires an ARM-based Mac, which GitHub actions has just recently started rolling out, which was one of the blockers preventing us from support.

tom-haug commented 2 months ago

@a-maurice Do you have even a rough timeframe on VisionOS support? I understand you are held up by "many of the Cocoapod libraries do not support it". Are you able to share which libraries these are? Are there alternatives being investigated to unblock progress?

StephenHodgson commented 2 months ago

@tom-haug one work around I was exploring was to manually add the visionOS platform capabilities to the iOS plugins in Unity, then in the exported xcode project trying to get firebase frameworks using swift package manager. No luck so far.

One interesting note is that in the Firebase docs it says visionOS is mostly supported except for Firestore.

a-maurice commented 2 months ago

Unfortunately there isn't a timeline I can share at the moment. There are generally two possible approaches, one being to get the Cocoapod solution to work, which requires some changes to other libraries and potentially Cocoapods itself; versus the other being to pivot to using Swift Package Manager, but the Swift / C++ interop layer is fairly new and changing, which hurts backwards compatibility.

And for the Firebase docs, the Firebase iOS SDK does support it, but only via Swift Package Manager, and not Cocoapods. Depending on which Firebase products you use, you could theoretically work directly with the iOS SDK instead of going through the Unity SDK, but that would very much be up to your individual use case.

maxcelar commented 2 weeks ago

Hi @a-maurice, thanks for elaborating on the issue back in April. Any news on the progress since then?

argzdev commented 2 weeks ago

Hi folks, thank you for taking an interest for this feature request. Please leave a thumbs up emoji on the author's original post so that we may track the demand of each feature/issue. That way, we can prioritize these features being added to our roadmap. Thanks!