How to Add Push Notifications to Your Mobile App
Complete guide to setting up push notifications for your WebToApp-converted Android app using Firebase Cloud Messaging (FCM). Boost engagement and retention.
Why Push Notifications Matter
Push notifications are the single most effective feature for driving app engagement. Studies show that apps with push notifications see:
- 88% higher engagement compared to apps without
- 3x higher retention rates after 90 days
- Up to 40% click-through rates for well-targeted messages
If you've converted your website into an app, push notifications let you reach users directly on their home screen — even when they're not using the app.
Setting Up Push Notifications with WebToApp
WebToApp uses Firebase Cloud Messaging (FCM) for push notifications. Here's how to set it up:
Step 1: Create a Firebase Project
1. Go to Firebase Console
2. Click "Add Project" and follow the setup wizard
3. Once created, click "Add App" and select Android
4. Enter your app's package name (shown in WebToApp dashboard)
5. Download the \`google-services.json\` file
Step 2: Upload to WebToApp
In the WebToApp app wizard, navigate to the Firebase section and upload your \`google-services.json\` file. That's it — push notifications are now enabled.
Step 3: Send Your First Notification
From the WebToApp dashboard, go to Push Campaigns:
1. Click "New Campaign"
2. Enter a title and message body
3. Optionally add an image URL
4. Choose to send immediately or schedule for later
5. Click "Send"
The notification will be delivered to all users who have the app installed.
Best Practices for Push Notifications
Do:
- Keep messages short — Under 50 characters for the title, under 100 for the body
- Personalize when possible — "Your order is ready" beats "New update available"
- Time it right — Send during business hours in the user's timezone
- Use deep links — Link notifications to specific pages in your app
- A/B test — Try different messages to see what works
Don't:
- Spam users — 1-3 notifications per week is ideal
- Send at night — Respect users' quiet hours
- Be vague — "Check this out!" tells users nothing
- Ignore analytics — Track open rates and adjust
Types of Notifications That Work
1. Transactional — Order updates, delivery status, appointment reminders
2. Promotional — Flash sales, new arrivals, limited offers
3. Re-engagement — "We miss you! Here's 10% off"
4. Content updates — New blog post, new feature announcement
5. Social proof — "50 people bought this today"
Conclusion
Push notifications transform a passive website-app into an active communication channel. With WebToApp, adding push notifications takes minutes, not weeks. Enable push notifications in your app today.