neděle 18. prosince 2016

Dart Firebase3 lib is now Firebase

Just a quick update on Firebase Dart library.



My library Firebase3 has been deprecated and moved to the official Firebase repo (yay!) and is going to be developed there.

The update in your project is really easy, so please do it:

pubspec.yaml

Update your project's pubspec.yaml file. Change the firebase3 dependency to firebase:

dependencies:
  firebase: '^3.0.0'

Pub get

Do the pub get to get the latest dependencies.


Imports

Update imports in your project to use the firebase library:


import 'package:firebase/firebase.dart';


And you are done!

The Dart summit Firebase project has been already updated for the latest firebase lib.

Happy coding!  :-)