Skip to content

chinmaygarde/firebase-dart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

A Dart wrapper for Firebase.

This package contains two implementations of the same Firebase Dart API:

  • The JsFirebase implementation uses dart:js to wrap functionality provided by firebase.js in Dart classes. You'll need this implementation to build Firebase apps for the web.
  • The MojoFirebase implementation uses Mojo to wrap functionality provided by Firebase iOS and Android SDKs. You'll need this implementation to build Firebase apps with Flutter.

Right now the MojoFirebase implementation is default, but you can change this in lib/src/firebase.dart. Once dart-lang/sdk#24581 is fixed you'll get the right implementation automatically.

Installing

Follow the instructions on the pub page.

The firebase.js library MUST be included for the JavaScript wrapper to work:

<script src="https://cdn.firebase.com/js/client/2.3.2/firebase.js"></script>

About

Dart wrapper for Firebase (will eventually move to Firebase GitHub org)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 99.6%
  • Other 0.4%