Firebase Cloud Messaging (FCM)
Connect your Firebase project to SmartAppPush to send push notifications through FCM.
Prerequisites
- A Firebase project with Cloud Messaging enabled
- Admin access to the Firebase Console
- Your mobile app configured to receive FCM notifications
Step 1: Generate a Service Account Key
- Go to the Firebase Console
- Select your project
- Navigate to Project Settings → Service Accounts
- Click "Generate New Private Key"
- Save the downloaded JSON file — you'll upload this to SmartAppPush
Important
Keep your service account JSON file secure. It grants admin access to your Firebase project's messaging API. Never commit it to version control.
Step 2: Upload to SmartAppPush
- In SmartAppPush, go to Settings → Push Provider
- Select Firebase Cloud Messaging (FCM)
- Upload your service account JSON file
- Click Save — SmartAppPush will validate the credentials
Status: ✓ Connected Provider: Firebase Cloud Messaging Project: my-fitness-app-12345
How It Works
When a campaign fires, SmartAppPush uses your Firebase service account to send notifications through the FCM HTTP v1 API. Each notification is delivered to the user's device token registered in your app.