GithubHelp home page GithubHelp logo

Comments (3)

google-oss-bot avatar google-oss-bot commented on May 27, 2024

This issue does not seem to follow the issue template. Make sure you provide all the required information.

from firebase-unity-sdk.

chkuang-g avatar chkuang-g commented on May 27, 2024

As you can see about AppOption.AppId, Android App and iOS App shares different App Id. Android App id usually looks like 1:1234567890123:android:1234567890abcdefghijkl where iOS one usually looks like 1:1234567890123:ios:1234567890abcdefghijkl.

Given that most of the other properties in AppOption are the same between google-services.json and GoogleService-Info.plist, for now, I think your best bet now is to manually change AppOption.AppId using GOOGLE_APP_ID in GoogleService-Info.plist.

I don't think we will ever support google-services.json for iOS, at least not in the foreseeable future.
However, AppOptions.LoadFromPlistConfig() is an interesting thought.
Also seems like both iOS and Android has some way to support multiple project files, however, it requires you to modify the Xcode/Android project Unity generated.

I can file a feature request. However, you can always specify each fields in AppOption.

Hope this helps!

from firebase-unity-sdk.

DaveMariner avatar DaveMariner commented on May 27, 2024

Thanks for the prompt response - that's basically the approach I've taken.

My main concern is that "most of the other properties" will inevitably lead to a "certain amount of uncertainty". There's additional data in the json that's not in the plist - specifically some oauth-client fields that I can only really guess at their meaning.

Is it possible to get a some more documentation about the configuration files themselves? I'm a big fan of "automate where possible", and knowing which fields are common plus the mappings between the formats, and most importantly where the delta lies would really help for reducing that uncertainty and building a "firebase-plist2json" CLI tool.

The "modify generated projects" is definitely less appealing to me; I've been bitten too many times in the past by toolchains changing underneath me (yes, I'm looking at you XCode), so would much prefer to bake this behaviour in at source level.

from firebase-unity-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.