Firebase Setup
Overview
The app uses Firebase Cloud Messaging for push notifications.
Configuration
- Create Firebase project at console.firebase.google.com
- Download
google-services.json(Android) andGoogleService-Info.plist(iOS) - Place in appropriate directories
- Configure in
lib/services/push_service.dart
Testing Push Notifications
Use Firebase Console to send test messages, or use the FCM API:
curl -X POST https://fcm.googleapis.com/fcm/send \
-H "Authorization: key=<server-key>" \
-H "Content-Type: application/json" \
-d '{"to": "<device-token>", "notification": {"title": "Test", "body": "Hello"}}'