app-entwickeln-lassen.de LogoApp entwickeln lassen

Technology & Frameworks

Push Notifications Done Right: Technology and Strategy

app-entwickeln-lassen.de editorial team 6 min read
Contents
  1. How push notifications work technically
  2. Types of notifications and how to use them
  3. The permission prompt: timing is everything
  4. Strategy: relevance over reach
  5. Measuring and optimising
  6. Implementation checklist for your project
  7. Conclusion
  8. Frequently Asked Questions

Push notifications are one of the most effective channels for bringing users back into your app – and one of the fastest ways to annoy them. Used well, they deliver something relevant at the right moment. This article explains the technology behind push, the right time to ask for permission and a strategy that doesn't drive users to switch notifications off.

How push notifications work technically

Push messages are not sent directly from your server to the phone but via the platform providers' services:

  1. Registration: the app requests a device token from the operating system – on iOS via the Apple Push Notification service (APNs), on Android via Firebase Cloud Messaging (FCM).
  2. Storing the token: the app sends the token to your backend, which links it to the user account. A user may have several devices and therefore several tokens.
  3. Sending: your backend sends the message with the token to APNs or FCM, which deliver it once the device is reachable.
  4. Display and action: the operating system shows the notification. When the user taps it, the app opens – ideally via a deep link straight to the right screen.

Many teams also use FCM for iOS because it covers both platforms through one interface, or rely on specialised services for segmentation and campaigns. Operationally, tokens change, invalid tokens must be cleaned up and delivery is never guaranteed. Critical information should therefore also be available inside the app, for example in a message centre.

Types of notifications and how to use them

TypeExamplesTriggerValue for users
TransactionalOrder shipped, appointment confirmed, payment receivedUser action or system eventVery high – expected
RemindersAppointment tomorrow, subscription expiring, task dueTime or deadlineHigh, if requested by the user
Social interactionNew message, comment, mentionOther usersHigh, with control over frequency
Behaviour-basedAbandoned cart, feature not yet triedUsage dataMedium – depends heavily on timing and tone
MarketingPromotions, new products, newsletter contentCampaignLow to medium – highest opt-out risk
Silent pushesRefresh data in the backgroundServerIndirect – invisible, throttled by the system

The further down the table, the more sparingly you should send. Marketing pushes may also raise consent questions under data protection law – clarify these with your data protection officer.

The permission prompt: timing is everything

On iOS users must explicitly allow notifications, and since Android 13 a runtime permission is required there as well. The system prompt usually appears only once; anyone who declines has to enable notifications manually in the settings later. Don't waste that moment:

  • Don't ask on first launch. Users don't yet know the value of the app.
  • Ask in context: for example right after an order ("Would you like to be notified when your parcel is on its way?") or when booking an appointment.
  • Explain first: a custom screen before the system prompt (a "pre-permission" screen) explains the benefit. If users decline here, the system prompt remains available for later.
  • Consider provisional delivery: iOS can deliver notifications quietly to the notification centre first, so users can experience their value.

The permission prompt is part of onboarding and should be designed together with it.

Strategy: relevance over reach

Every notification competes with dozens of other apps for attention. A sound push strategy follows a few simple rules:

  1. Offer categories: let users choose in the app which kinds of messages they want. Android notification channels support this at system level too.
  2. Cap frequency: set a maximum per user per week, especially for marketing.
  3. Respect time zones and quiet hours: no promotional messages at night or early in the morning.
  4. Personalise instead of broadcasting: "Your appointment at Dr Miller's practice tomorrow at 9 am" is more valuable than "Don't forget your appointment!".
  5. Always lead somewhere: every push should open a specific screen via deep link, not just the home screen.
  6. Avoid sensitive content: notifications appear on the lock screen. Health or financial details don't belong in the text.

Push is one element of retention, but not the only one. How it interacts with onboarding, content and gamification is described in our article on retention strategies for apps.

Measuring and optimising

Without measurement, push strategy is guesswork. Useful metrics include:

  • Opt-in rate: the share of users who allow notifications, split by platform.
  • Open rate: the share of delivered messages that are tapped.
  • Follow-up action: what do users do after opening – complete an order, reply to a message?
  • Opt-outs: do users disable notifications or even uninstall the app after certain campaigns?

Test wording and timing with A/B tests and evaluate results over a sufficient period. Further key metrics are covered in app analytics: the KPIs that matter. Keep in mind that tracking in apps may require consent – see consent for app tracking under the German TDDDG.

Implementation checklist for your project

  • Define push use cases and categories before development.
  • Token management in the backend supporting several devices per user and cleanup of invalid tokens.
  • Deep links for every notification type.
  • An in-app settings page for categories and quiet hours.
  • A pre-permission screen and contextual permission prompt.
  • Rich notifications (images, actions) only where they add real value.
  • Logging of sends and errors, monitoring of delivery rates.
  • Privacy policy updated to cover push services.
Agentic coding workshop for your team? From €799 net – request a quote by e-mail

Conclusion

Push notifications are technically manageable; their success depends on strategy. Ask for permission at the right moment, send mainly transactional and personally relevant messages, give users control and measure consistently. If you are planning an app with a well-thought-out notification concept, our offer wizard leads to a fixed-price quote after a free analysis.

Frequently Asked Questions

Do I need Firebase for push notifications?

On Android, delivery usually runs through Firebase Cloud Messaging; on iOS through APNs. Your backend can talk to APNs directly or use FCM for both platforms.

When should an app ask for notification permission?

Ideally at a moment when the benefit is obvious, such as after an order or booking. An explanatory screen before the system prompt increases acceptance.

How many push notifications are too many?

There is no fixed number. Transactional messages are expected; limit marketing pushes significantly and watch your opt-out rate.

Do push notifications work for web apps?

Yes, web push is supported by modern browsers, although on iOS only for web apps added to the home screen. Reach and capabilities are usually lower than with native apps.

This article was written by the editorial team of app-entwickeln-lassen.de – the app and AI development service of jocapps GmbH, based in Freiburg, Germany, and building apps since 2014. The content is for general information and does not replace individual (legal) advice.

You might also like

Technology & FrameworksGDPR-Compliant App Hosting in Germany: A Practical Guide

GDPR-compliant app hosting in Germany: provider types, server location, DPAs and third-country transfers explained, plus a checklist for compliant operation.

6 min read
Technology & FrameworksMicroservices vs. Monolith: The Right Architecture for Growing Apps

Microservices vs. monolith: pros and cons, decision criteria and the modular monolith as a middle path – so your app architecture can grow with your product.

6 min read
Technology & FrameworksApp Performance Optimisation: Load Times, Battery and Memory

App performance optimisation: how to measure and improve startup time, smooth scrolling, battery drain and memory usage – with a checklist and clear priorities.

6 min read
Technology & FrameworksMobile App Security: Key Safeguards Based on OWASP Mobile

Mobile app security based on OWASP Mobile: the ten biggest risks, concrete safeguards and a checklist for development and operations – for decision-makers.

5 min read
Technology & FrameworksOffline-First Apps: Syncing Data Without an Internet Connection

How to build offline-first apps: architecture, local databases, sync strategies and conflict resolution explained – so your app keeps working in dead zones.

6 min read
Technology & FrameworksAccessible App Development: The Technical Implementation

Accessible app development: implement screen readers, contrast, text scaling and input correctly – with a checklist for iOS, Android and cross-platform apps.

6 min read