App Development

Push Notification Setup That Gets Opened, Not Disabled

Push notification setup connects your app to Apple Push Notification service and Firebase Cloud Messaging so you can send alerts to iOS, Android and web users, then makes sure those messages are timely and wanted. We handle certificates and keys, permission prompts, device token storage, segmentation, deep links and analytics, so notifications drive return visits instead of uninstalls.

What push notification setup involves

Getting a single test notification onto a phone is quick. A dependable system has more parts. Each platform has its own delivery service, credentials and quirks, and your backend needs to know which device belongs to which user, which topics they care about and when they last opened the app.

PlatformDelivery serviceSetup notes
iOSApple Push Notification service (APNs)Token-based .p8 key in your Apple Developer account, push capability enabled, provisional or full authorization
AndroidFirebase Cloud Messaging (FCM)Firebase project, HTTP v1 API with a service account, runtime permission on Android 13+
WebWeb Push via browser servicesVAPID keys, service worker, permission requested from a user action; iOS requires the site installed to home screen
React Native / FlutterFCM and APNs through librariesExpo Notifications, react-native-firebase or firebase_messaging, configured per platform

Getting permission without annoying people

On iOS you get one system permission prompt. If a user taps "Don't Allow", the only way back is through Settings, which few people visit. Asking on first launch, before the user has seen any value, is the most common mistake.

We use a pre-permission screen that explains what the user will receive, shown at a moment the benefit is obvious: after placing an order ("get delivery updates"), after booking ("get a reminder the day before"), or after following a topic. iOS provisional authorization can also deliver quiet notifications to the Notification Center without a prompt, letting users decide later. On Android 13 and newer the same thinking applies, since notification permission is now requested at runtime.

Sending the right message to the right person

Notifications that feel personal get opened; broadcasts get muted. We store device tokens against user accounts, clean up expired tokens automatically, and give your team a way to target by behavior and preferences.

  • Transactional: order shipped, appointment tomorrow, payment received, new message
  • Behavioral: cart left for 24 hours, streak about to break, item back in stock
  • Scheduled and local: reminders computed on the device, sent at the user's local time
  • Preference center: users choose categories, so they mute promotions rather than all notifications
  • Rich notifications: images, action buttons and deep links straight to the right screen
  • Quiet hours and frequency caps so no one gets five alerts in an hour

Build it yourself or use a platform

For many apps, sending through FCM directly from your backend is enough and has no extra cost. If your marketing team wants to build campaigns, run A/B tests and see funnels without engineering help, platforms such as OneSignal, Braze, Customer.io or Airship add a dashboard on top, with pricing that ranges from free tiers to enterprise contracts. We set up either route and connect it to your user data so segments stay accurate.

We also wire up analytics: delivery, open rate and the action taken after opening, so you can see which messages earn their place and which cause opt-outs.

Common setup problems we fix

Many teams come to us because notifications worked in testing and then quietly stopped. The usual causes are predictable. Production builds sending to the APNs sandbox, or the reverse. Firebase projects still using the legacy FCM API, which Google has shut down in favor of HTTP v1. Device tokens that were never refreshed after a reinstall, so messages go to phones that no longer have the app. Notifications that open the home screen instead of the order or message they refer to, because deep links were never configured for a cold start.

We audit the full path from trigger to tap, fix each break and add monitoring for send failures, so a silent outage is spotted in hours rather than weeks.

Cost and timeline

Basic push setup for an existing iOS and Android app, with permission flow, token storage, deep links and transactional alerts, typically takes 1 to 2 weeks. Adding segmentation, a preference center, web push and a campaign platform usually takes 2 to 4 weeks. Pricing is fixed and agreed before work begins, from $2,000. If push is part of a wider build, see our app development service.

How we work

  1. 01

    Notification plan

    We list every message the app should send, its trigger, audience and the screen it opens.

  2. 02

    Credentials and SDKs

    We configure APNs keys, Firebase, VAPID keys and the client libraries in your app.

  3. 03

    Backend and targeting

    We build token storage, user preferences, triggers and quiet hours, or connect a campaign platform.

  4. 04

    Test and measure

    We test on real devices in every app state and set up open and opt-out tracking.

Frequently asked questions

Do push notifications cost money to send?

APNs and Firebase Cloud Messaging do not charge per message. Costs come from your backend hosting or from a campaign platform such as OneSignal or Braze if you choose one.

Why are our push notifications not arriving on iOS?

Common causes are an expired or wrong APNs key, sending to the sandbox environment from production, missing push capability, or stale device tokens. We start any fix by checking these.

Can websites send push notifications?

Yes. Web push works in Chrome, Edge and Firefox, and on iPhone and iPad for web apps added to the home screen on iOS 16.4 or later.

How many push notifications should an app send?

As many as stay useful. Transactional alerts rarely cause opt-outs, while frequent promotions do. We set frequency caps and track opt-outs per message type so you can tune it.

Can you set up push for a React Native or Flutter app?

Yes. We configure Expo Notifications or react-native-firebase for React Native and firebase_messaging for Flutter, including iOS and Android specifics.

Related

Get push notifications set up properly

Tell us your app's platforms and what you want to notify users about. We will send a fixed price and timeline.

Get a Quote