GithubHelp home page GithubHelp logo

firebaseupm's Introduction

Firebase UPM

If you are tired of Firebase Unity SDK polluting your project with folders and folders it is time to do it Unity Package Manager style. Plus if you have multiple projects just pulling this repo and the newest version will be delivered to all of your projects.

It also included .asmdef file to be compatible with your .asmdef enabled project. The name to reference is Google.Firebase.

How

Clone this wherever you like and use UPM's offline package reference. Put a line like this in your manifest.json

"com.google.firebase": "file:../../Firebase/Assets",

You must travel the folder relatively from the manifest.json file location.

One problem

Everything almost works in UPM, but Firebase team hardcoded the path to a script for generating the resource file. It specifically looks for your Assets/Firebase/Editor/generate_xml_from_google_services_json.py and that cannot be somewhere else. To fix this, after linking your UPM you have to manually make the required folder tree with that file copied from UPM package.

Generation of the Firebase Android resource file google-services.xml from Assets/SceneFiles/-FirebaseSettings/GoogleService-Info.plist failed.
If you have not included a valid Firebase Android resources in your app it will fail to initialize.
`python "/Users/Sargon/Documents/Projects/MelCadence/Assets/../Assets/Firebase/Editor/generate_xml_from_google_services_json.py" -i "Assets/SceneFiles/-FirebaseSettings/GoogleService-Info.plist" -l --plist`.

/usr/bin/python: can't open file '/Users/Sargon/Documents/Projects/MelCadence/Assets/../Assets/Firebase/Editor/generate_xml_from_google_services_json.py': [Errno 2] No such file or directory

What's included

  • ✅ FirebaseAnalytics.unitypackage
  • ✅ FirebaseAuth.unitypackage
  • ✅ FirebaseDatabase.unitypackage
  • ✅ FirebaseDynamicLinks.unitypackage
  • ✅ FirebaseFunctions.unitypackage
  • ✅ FirebaseInstanceId.unitypackage
  • FirebaseInvites.unitypackage
  • FirebaseMessaging.unitypackage
  • ✅ FirebaseRemoteConfig.unitypackage
  • ✅ FirebaseStorage.unitypackage

Why not that two? Because I am not using it in my game...

Version

Version 5.2.0 - July 23, 2018 https://firebase.google.com/support/release-notes/unity

firebaseupm's People

Contributors

5argon avatar

Stargazers

Yomi avatar Дмитрий Малых avatar Andrei Balasescu avatar Álvaro García León avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

njoykidzdev

firebaseupm's Issues

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.