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:

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:

Don't:

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.

Convert your website to an app — start free →