- Flutter
- Firebase Auth with rxjs
- Firestore with rxjs
- Firebase Cloud Messaging with rxjs
- Firebase Functions
- Local notifications
- stream_state
# For splash screen (config in pubspec.yaml)
flutter pub pub run flutter_native_splash:create
# For launcher icons (config in pubspec.yaml)
flutter pub run flutter_launcher_icons:main
- Rename folder in
src/main/{java,kotlin}/com.example/flutter_firebase
tosrc/main/{java,kotlin}/YOUR_PACKAGE_NAME
- Register the app in Firebase and download
google-services.json
toandroid/app
and update SHA1 and SHA256 (get previously generated values using - Run
yarn icons
andyarn splash
- Copy
logo.png
toandroid/../drawable
- Change package name
com.example.flutter-firebase
inandroid/..
- To test FCM messaging, install
fcm-cli
, and get the FCMTOKEN
fromflutter logs
after the app loads, andSERVER_KEY
from Settings > Cloud Messagingfcm send --server-key SERVER_KEY --to TOKEN --notification.title title --notification.body "`date`" --notification.click_action "FLUTTER_NOTIFICATION_CLICK"
- Flutter Notifications based on https://github.com/brains-and-beards/flutter-reminders-app