How Do Push Notifications Work with the Genuin SDK?

Why Push Notifications Matter

Push notifications are essential for keeping your users engaged, informed, and returning to your app. With the Genuin SDK, you can deliver timely updates, community highlights, event alerts, and personalized content notifications - even when users aren’t actively using your app. This direct communication channel helps drive retention, participation, and overall community growth.

How does the SDK's handling of push notifications impact your application and users?

Drives Re-engagement: Timely alerts about relevant community & content activity encourage users to return to your app.

Enables Direct Navigation: When a user taps a push notification, the SDK helps your app interpret the notification data to take the user directly to the specific content mentioned in notification.

Creates a Cohesive Experience: The transition from tapping a notification to engaging with content within your app feels integrated and native.

Boosts Content Discovery: Notifications draw attention to new and relevant content that users might otherwise miss.

By integrating push notification handling via the Genuin SDK, you create an effective channel to re-engage users and guide them directly into the heart of your integrated communities.

Core Content: The Push Notification Flow with Genuin SDK

Push notifications initiated by Genuin or your configured service provider through brand control centre (Onesignal, Firebase cloud messaging, pusher beams, expo push) follow a standard flow, where the platform sends alerts through platform-specific services (like Apple Push Notification service for iOS or Firebase Cloud Messaging for Android and Flutter). Your application receives these standard notifications on the user's device. The Genuin SDK then steps in to help you process these notifications and enable specific in-app behaviors.

The general process involves:

Platform Push Setup: You first need to configure your application and backend to receive standard push notifications for your target platforms using native tools (e.g., setting up APNS or integrating Firebase).

Device Token Registration: Your application obtains a unique device token from the platform's push service. This token must be passed to the Genuin SDK, allowing Genuin's backend to send notifications specifically to that device.

Notification Delivery: Genuin's backend sends push notifications based on user activity or relevant events. These notifications carry a payload containing data about the event.

SDK Processing: When your application receives a triggered push notification, you pass its payload to the Genuin SDK's handling methods. The SDK interprets the Genuin-specific data within the payload.

In-App Action: Based on the SDK's interpretation, your application can then trigger actions like displaying content, updating UI, or most commonly, navigating the user to a specific location within your integrated Genuin experience (often via Handling Deep Links via the Genuin SDK).

The Genuin SDK provides the necessary interfaces and helper methods to facilitate step 2 (registering tokens) and steps 4 & 5 (processing payloads and triggering actions), making it easier to integrate Genuin-specific push notification behavior into your app.

5. Specs & Limitations

Requires prerequisite setup of standard platform push notifications (APNS/FCM) in your application.

The Genuin SDK handles the processing of the notification payload and facilitating in-app actions/navigation; it does not typically provide a built-in UI component for displaying a list of notifications within your app.

Specific implementation details, method names, and code examples vary significantly by the target platform SDK (iOS, Android, Flutter, React Native, Web).

Platform-Specific Implementation Guides:

  • Handling Push Notifications with the Genuin iOS SDK
  • Handling Push Notifications with the Genuin Android SDK
  • Handling Push Notifications with the Genuin Flutter SDK
  • Handling Push Notifications with the Genuin React Native SDK
  • Handling Notifications with the Genuin Web SDK


COMPANY

Genuin Footer