How to Get Real Push Notifications for Your Web App on iOS and Android

4 min read
ByGabriel CAKraftwire Software

To get real push notifications for your web app on iOS, you must convert your web application into a native binary using a framework like Capacitor. While iOS supports Web Push for PWAs added to the Home Screen, native push notifications via Firebase Cloud Messaging (FCM) offer superior reliability, custom sounds, and badge counts that work even when the app is not running.

The Problem with iOS Web Push

For years, iOS was the "missing link" for web-based notifications. While Apple introduced Web Push support for Safari, it comes with significant friction. Users must manually "Add to Home Screen" before notifications can even be requested. Even then, these notifications lack the deep integration of native apps, such as reliable background processing and consistent delivery.

If you have built an app on platforms like Lovable, Bolt, or Cursor, your users expect a mobile experience that includes a home screen icon and instant alerts. Relying on the browser's implementation often leads to missed messages and a "second-class" feel.

Why Native Push via Capacitor is Superior

When we convert your web app into a native app using Capacitor, we bridge the gap between your web code and the mobile operating system. This allows us to implement Firebase Cloud Messaging (FCM) for both iOS and Android.

1. Reliability and Background Delivery

Native apps use the Apple Push Notification service (APNs) and Google Cloud Messaging directly. This ensures that even if the app is force-closed, the notification will still arrive. Web push often relies on service workers that the OS may kill to save battery.

2. Badge Counts and Custom Sounds

Native push notifications allow you to update the red "badge" number on the app icon. This is a critical engagement hook that web-based notifications cannot reliably control on iOS. You also gain the ability to trigger custom notification sounds, which is vital for apps like delivery services or emergency alerts.

3. Actionable Notifications

With a native build, you can include "Action Buttons" (e.g., "Accept" or "Decline") directly within the notification banner. This allows users to interact with your app without even opening it.

How the Implementation Works

At KW Native, we handle the technical heavy lifting of connecting your web app to the native notification hardware.

The Firebase FCM Bridge

We configure Firebase Cloud Messaging as the single gateway for your alerts. Your web server sends a message to Firebase, and Firebase handles the delivery to the specific device token. · On iOS: Firebase communicates with APNs. · On Android: Firebase communicates with Google Play Services.

The Capacitor Push Notifications Plugin

We install and configure the @capacitor/push-notifications and @capacitor-community/fcm plugins. This code listens for the incoming signal and triggers the native system UI. Because we provide the source code, you can see exactly how these listeners are registered in your App.js or main.ts.

The Cost of Implementation

Many "wrapper" services charge a monthly subscription just to keep your notifications active. We believe you should own your infrastructure.

· KW Native Pricing: We charge a one-time fee (£399 for Starter, £599 for Standard). There are no monthly subscriptions to keep your app running. · Competitor Subscriptions: BuildNatively starts at $19/month ($228/year), and Median.co requires a $229 one-time fee plus $179/year after the first year. · Platform Fees: You will need your own developer accounts. Apple charges $99/year, and Google Play charges a one-time $25 fee.

By using your own accounts, you ensure that you are the sole owner of your push notification certificates. If you ever stop working with us, your notifications keep working because they are tied to your Apple and Google accounts, not ours.

Beyond Notifications: The Native Advantage

While push notifications are often the primary driver for going native, our builds include other essential features that web apps struggle to provide: · Biometrics: Use Face ID or Touch ID for secure logins. · Native OAuth: Implement "Sign in with Apple" and Google One-Tap properly, which is often a requirement for App Store approval. · Universal Links: Ensure that links to your website open directly in your app if it is installed.

Case Study: Ginza

The social network Ginza (ginza.com.br) was built using Lovable and Supabase. To succeed as a social platform, they needed instant notifications for likes and comments. We converted their web app into native binaries and shipped it to the iOS App Store in just 3 weeks. It passed Apple's strict Guideline 4.2 review on the first attempt, proving that a well-executed Capacitor build is viewed as a "real" app by Apple.

Is This Right for You?

If you have a responsive web app and your users are asking for "real" notifications, a native conversion is the most cost-effective path. You don't need to rebuild your app in Swift or Kotlin. By wrapping your existing web app with Capacitor, you get the best of both worlds: the speed of web development and the power of native hardware.

Ready to get started? View our pricing packages or learn more about converting your web app to mobile.

Frequently asked questions

Does iOS support web push notifications?
Yes, but only if the user manually adds the website to their Home Screen. Even then, they lack native features like badge counts and reliable background delivery. A native Capacitor build provides a much more robust notification system.
What service do you use for push notifications?
We use Firebase Cloud Messaging (FCM). It acts as a bridge: your server sends a message to Firebase, which then routes it to Apple (APNs) for iOS devices or Google (FCM) for Android devices.
Do I have to pay a monthly fee for notifications?
No. KW Native charges a one-time fee (£399–£899). Unlike competitors who charge monthly subscriptions to keep your notifications active, our implementation belongs to you forever.
Can I use Face ID and other native features too?
Yes. Because we build a real native binary, you get full access to the device's hardware, including Face ID, Touch ID, camera, microphone, and GPS.

Related articles