Viewing version 0.6.6+3. Open the latest package page.

firebase

0.6.6+3

A Dart wrapper for Firebase.

This package is discontinued upstream.

Download archive

Readme

Build Status

A Dart wrapper for Firebase.

This package uses dart:js to wrap functionality provided by firebase.js in Dart classes.

Installing

Follow the instructions on the pub page.

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

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

0.6.6+3

  • Support crypto 2.0.0.

0.6.6+2

  • Strong-mode clean.

  • Doc fixes.

0.6.6+1

  • Support non-integer values for priority in set operations.

0.6.6

  • Support latest version of pkg/crypto

  • Support latest version of firebase.js - 2.4.2

0.6.5+1

  • Fixed FirebaseClient.post to use POST.

0.6.5

  • Added FirebaseClient.post to firebase_io.dart.

0.6.4

  • Added Firebase.ServerValue.TIMESTAMP constant

0.6.3

  • Added onComplete argument to Firebase.push.

0.6.2

  • Fix an issue calling push with a Map.

  • Fixed the return type of Firebase.onAuth. Also made the returned Stream asynchronous.

0.6.1

  • Added anonymous constructor to FirebaseClient.

  • Added firebase_io.dart library.

    • createFirebaseJwtToken can be used for authentication.
    • The FirebaseClient class is a simple wrapper for the Firebase REST API.
  • Added encodeKey and decodeKey methods to firebase.dart and firebas_io.dart. Convenience methods for dealing with key values with disallowed characters.

0.6.0

  • Removed deprecated name property on Firebase and Snapshot. Use key instead`.

  • Removed deprecated limit method on Firebase. Use limitToFirst and limitToLast instead.

0.5.1

  • Updated startAt() and endAt() methods. They don't take a priority anymore and are meant to be used in conjunction with orderBy*

0.5.0

  • Added authWithOAuthToken()

  • Changed return value of auth methods to return a native dart Map object containing all authData. This is a breaking change.

0.4.0

  • Updated for Firebase api v2.2.2

  • Deprecated name getter on Firebase and DataSnapshot

  • Added key getter on Firebase and DataSnapshot, replacing name

  • Added changeEmail()

  • Added authAnonymously(), authWithOAuthPopup(), authWithOAuthRedirect()

  • Added getAuth() and onAuth() listener

  • Added orderByChild(), orderByKey(), orderByValue(), orderByPriority()

  • Added equalTo(), limitToFirst(), limitToLast()

  • Deprecated limit on Query object

  • Added exists getter to DataSnapshot

  • Added several tests

0.3.0

  • Add createUser(), removeUser() and authWithPassword() (thanks to wilsynet)
  • AuthResponse.auth was changed to type JsObject

0.2.1

  • Added new authWithCustomToken method (thanks to rayk)
  • Deprecate auth

0.2.0+1

  • Updated README to include latest firebase.js link.

0.2.0

  • A number of breaking changes and updates.

  • A number of methods are now properties.

0.1.1+3

  • Fixed up tests.

  • Cleaned up library structure.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'firebase:0.6.6+3'
pubspec.yaml
name: firebase
version: 0.6.6+3
authors:
- Anant Narayanan <anant@kix.in>
- Seth Ladd <sethladd@gmail.com>
- Kevin Moore <github@j832.com>
description: A Dart wrapper for Firebase.
homepage: https://github.com/firebase/firebase-dart/
environment:
  sdk: '>=1.9.0 <2.0.0'
dependencies:
  crypto: '>=0.9.2 <3.0.0'
  http: ^0.11.2
dev_dependencies:
  test: ^0.12.0

Version history

VersionPublishedArchiveSHA-256
0.1.0Cached · Upstream SHA-256 matchedDownload89275135…e45228
0.1.1Cached · Upstream SHA-256 matchedDownload65740f86…4bf599
0.1.1+1Cached · Upstream SHA-256 matchedDownload61ff1b0c…d26e32
0.1.1+3Cached · Upstream SHA-256 matchedDownload0dbd7e89…8af9b3
0.2.0Cached · Upstream SHA-256 matchedDownload7c842cd0…61be64
0.2.0+1Cached · Upstream SHA-256 matchedDownloadd9fca850…2ad9da
0.2.1Cached · Upstream SHA-256 matchedDownload681520a4…10a99c
0.3.0Cached · Upstream SHA-256 matchedDownload58a17d9e…3219a5
0.4.0Cached · Upstream SHA-256 matchedDownload591824ee…b0d4fd
0.5.0Cached · Upstream SHA-256 matchedDownload2e12f0b4…b89c6d
0.5.1Cached · Upstream SHA-256 matchedDownloada56626ca…8b4537
0.6.0Cached · Upstream SHA-256 matchedDownloade9dd2639…67360f
0.6.1Cached · Upstream SHA-256 matchedDownload5b56f26d…54bba1
0.6.2Cached · Upstream SHA-256 matchedDownloadd824ce67…18b678
0.6.3Cached · Upstream SHA-256 matchedDownloade847ae75…f79208
0.6.4Cached · Upstream SHA-256 matchedDownload7ad43d04…334937
0.6.5Cached · Upstream SHA-256 matchedDownload79d0f69d…673ae7
0.6.5+1Cached · Upstream SHA-256 matchedDownloadaa375721…8910c4
0.6.6Cached · Upstream SHA-256 matchedDownload5d9e6355…0e27dd
0.6.6+1Cached · Upstream SHA-256 matchedDownload8abeabb2…66b9d1
0.6.6+2Cached · Upstream SHA-256 matchedDownload6f2b669a…14c080
0.6.6+3Cached · Upstream SHA-256 matchedDownloada414be92…56267a
3.0.0Cached · Upstream SHA-256 matchedDownload0cf72a75…a65d68
3.0.1Cached · Upstream SHA-256 matchedDownloade2548384…6094b6
3.0.2Cached · Upstream SHA-256 matchedDownloadc6728753…757c76
3.1.0Cached · Upstream SHA-256 matchedDownloadf66d2554…5b1cfa
3.2.0Cached · Upstream SHA-256 matchedDownload8f5bce0d…aa4157
4.0.0Cached · Upstream SHA-256 matchedDownload44469a24…8df73e
4.1.0Cached · Upstream SHA-256 matchedDownload59a51a2e…7a1832
4.2.0Cached · Upstream SHA-256 matchedDownload3cb0f6fe…940436
4.2.0+1Cached · Upstream SHA-256 matchedDownload79010d32…4d9a97
4.3.0Cached · Upstream SHA-256 matchedDownload6c3c58ad…f8148a
4.3.1Cached · Upstream SHA-256 matchedDownloadb152d793…7f7095
4.4.0Cached · Upstream SHA-256 matchedDownload99722783…17a3be
4.5.0Cached · Upstream SHA-256 matchedDownloadf78fb390…2f85d7
4.5.1Cached · Upstream SHA-256 matchedDownload9191fe43…ae357d
5.0.0-betaCached · Upstream SHA-256 matchedDownload9f291cf1…45fbf4
5.0.0Cached · Upstream SHA-256 matchedDownloada6b5067f…8418a7
5.0.1Cached · Upstream SHA-256 matchedDownload68611f8e…0e4e2c
5.0.2Cached · Upstream SHA-256 matchedDownloade08bed76…d11e50
5.0.3Cached · Upstream SHA-256 matchedDownloadeceaa813…6cebd1
5.0.4-devCached · Upstream SHA-256 matchedDownload490ad2de…8722c5
5.0.4Cached · Upstream SHA-256 matchedDownloadd9d55a86…e3b002
6.0.0Cached · Upstream SHA-256 matchedDownload3b19097e…24c06e
7.0.0Cached · Upstream SHA-256 matchedDownload4ffe2003…93087b
7.1.0Cached · Upstream SHA-256 matchedDownload5569cab9…816c30
7.2.0Cached · Upstream SHA-256 matchedDownloadd9f65b80…b31e85
7.2.1Cached · Upstream SHA-256 matchedDownloadc6d17b6e…4dccc8
7.3.0Cached · Upstream SHA-256 matchedDownload94020b2f…60cb35
7.3.1Cached · Upstream SHA-256 matchedDownloaddabc1571…27e14e
7.3.2Cached · Upstream SHA-256 matchedDownloadd5e77ca0…40c632
7.3.3Cached · Upstream SHA-256 matchedDownload587cc00f…236519
8.0.0Cached · Upstream SHA-256 matchedDownload5d3039e1…4cf853
9.0.0Cached · Upstream SHA-256 matchedDownloadc0666d4c…c1ab97
9.0.1Cached · Upstream SHA-256 matchedDownload935f6035…fa4291
9.0.2Cached · Upstream SHA-256 matchedDownloadf5dd310b…c9429f
9.0.3Cached · Upstream SHA-256 matchedDownloadcbff7773…9d452d

Dependencies

crypto "\u003e=0.9.2 \u003c3.0.0"

http "^0.11.2"