Flutter-GeoFire
Flutter-GeoFire copied to clipboard
the name 'Database Error' is defined in the libraries 'firebase_database.dart' and 'geofire.dart'
Hello BramVbilsen, Very very cool your plugin. Thank you, man!!!! After updated my firebase_database.dart (from 0.0.12 to 0.3.0) the geofire no works fine. Is there any solution to apply in this case?
pubspec.yaml
dependencies:
flutter:
sdk: flutter
image_picker: 0.1.1 # new
google_sign_in: 0.3.1 # new
firebase_analytics: 0.0.4 # new
firebase_auth: 0.2.0 # new
#firebase_database: 0.0.12 # new
firebase_database: "^0.1.0" # new
firebase_storage: 0.0.5 # new
intl: 0.15.2
numberpicker: "^0.1.0"
geocoder: "^0.0.1" # Busca de endereço via API Google Maps
# Para usar o runTransaction e fazer um contador no Firebase
firebase_core: "0.0.7" # new
cupertino_icons: ^0.1.0
geofire:
git:
url: "git://github.com/bramvbilsen/Flutter-GeoFire.git"
Hello, I have the same problem. I can't solve it. Anybody have an idea? I don't know if we can do reference to DataBaseError in a different way
To avoid the conflict in names give your import any alias you want..
import 'package:firebase_database/firebase_database.dart' as fdb;
...
final fdb.DatabaseReference ref = fdb.FirebaseDatabase.instance.reference().child("users");
hope that helps
Thanks a lot, @AhabLives .