firebase-unity-sdk icon indicating copy to clipboard operation
firebase-unity-sdk copied to clipboard

Firebase SDK for VisionOS in Unity package

Open Rusus24 opened this issue 1 year ago • 19 comments

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

Rusus24 avatar Jan 25 '24 08:01 Rusus24

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Jan 25 '24 14:01 google-oss-bot

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.

BrooklynDipi avatar Jan 25 '24 15:01 BrooklynDipi

We also need Unity VisionOS support as soon as possible.

maxcelar avatar Jan 25 '24 16:01 maxcelar

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

skoteskote avatar Jan 25 '24 16:01 skoteskote

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

m-brewster avatar Jan 25 '24 17:01 m-brewster

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).

a-maurice avatar Feb 09 '24 18:02 a-maurice

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

StephenHodgson avatar Feb 11 '24 04:02 StephenHodgson

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.

mahdi862 avatar Feb 28 '24 01:02 mahdi862

@a-maurice any updates?

StephenHodgson avatar Apr 12 '24 16:04 StephenHodgson

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.

a-maurice avatar Apr 12 '24 21:04 a-maurice

@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?

tom-haug avatar Apr 13 '24 20:04 tom-haug

@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.

StephenHodgson avatar Apr 14 '24 00:04 StephenHodgson

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.

a-maurice avatar Apr 16 '24 21:04 a-maurice

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

maxcelar avatar Jun 13 '24 23:06 maxcelar

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!

argzdev avatar Jun 14 '24 09:06 argzdev

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!

kevinsummers avatar Jul 08 '24 19:07 kevinsummers

@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

StephenHodgson avatar Jul 13 '24 15:07 StephenHodgson

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

argzdev avatar Jul 17 '24 17:07 argzdev

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

hackdamm avatar Jul 26 '24 15:07 hackdamm