Reputation: 117
I have an app that is currently running on the Play Store, built using AndroidStudio, but I want to add the feature of adding notifications to the users. I have been told the best way to do this is through Firebase Messaging.
I added the plugin (version 9.0.0) but this initially caused a conflict issue with the Dart SDK version. I had 2.10 but needed 2.12 So I did the following:
I'm sure many of you have been here many times before - but this is my first time.
The biggest clash I seem to have is that I can't have both Flutter Form Builder and Firebase Messaging, and will either have to wait for Flutter Form Builder to release a new version or rebuild the entire app away from this plugin (a lot is built around it).
Before I give up on Firebase Messaging I just want to make sure there isn't a different option here I can't see?
Upvotes: 1
Views: 806
Reputation: 1016
Can you try if this works? I tested this just earlier. I was able to "flutter pub get" successfully.
dependencies:
# other deps here.
firebase_core: 0.5.3
firebase_messaging: 7.0.3
firebase_auth: 0.18.4+1
cloud_firestore: 0.14.4
flutter_form_builder: 4.2.0
# other deps here.
dependency_overrides:
intl: "<0.16.0"
I'm not sure if there are major API differences between these firebase packages. But you might want to try your luck with these versions.
Upvotes: 2