firebase / firebase-unity-sdk

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

Firebase SDK for VisionOS in Unity package #933

Open Rusus24 opened 10 months ago

Rusus24 commented 10 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 10 months ago

I found a few problems with this issue:

BrooklynDipi commented 10 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 10 months ago

We also need Unity VisionOS support as soon as possible.

skoteskote commented 10 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 10 months ago

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

a-maurice commented 9 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 9 months ago

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

mahdi862 commented 9 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 7 months ago

@a-maurice any updates?

a-maurice commented 7 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 7 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 7 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 7 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 5 months ago

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

argzdev commented 5 months 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!

kevinsummers commented 4 months ago

We have multiple enterprise opportunities lining up for this capability. @argzdev and @Rusus24 , I am encouraging our devs to add to the thumbs up counter ;) Thank you!

StephenHodgson commented 4 months ago

@chescored your comment is off topic, but concerning enough to require its own thread. Please delete your comment and open a new issue about this directly. Thanks

argzdev commented 4 months ago

Hey @chescored, kindly refer back to the #1066 for future conversations.

hackdamm commented 4 months ago

Any news on the subject? i have been trying for days manually adjusting and adding everything but without sucess