tvolkert / firebase-dart

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

Home Page:https://pub.dartlang.org/packages/firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

https://pub.dartlang.org/packages/firebase

License:MIT License


Languages

Language:Dart 99.6%Language:HTML 0.3%Language:Shell 0.1%