Send push notifications for agent replies

Chat WidgetUpdated October 16th, 2026

When an agent answers a customer who chats inside your app, Helpium can send them a push notification, even when the app is closed. Tapping it opens the conversation.

Notifications are sent from your own Apple and Firebase accounts, so they come from your app and you keep control of the keys.

What gets pushed

  • Replies from human agents. Bot answers arrive while the customer is in the chat, so they are not pushed.
  • Internal notes never leave the inbox.
  • If a reply is still unseen after 5 minutes, the unseen reply email (a Live Chat setting) is sent as well.

1. Connect Apple (iOS)

  1. Go to developer.apple.com → Certificates, Identifiers & Profiles → Keys and click +.
  2. Name the key, check Apple Push Notifications service (APNs) and register it.
  3. Download the .p8 file. Apple lets you download it only once. Note the Key ID.
  4. Your Team ID is in Membership details, at the top right of the developer portal.
  5. In Helpium, go to Channels → Live Chat → Mobile apps → iOS → Connect. Upload the .p8 file, then enter the Key ID, Team ID and your app's Bundle ID.
  6. Choose Production for TestFlight and App Store builds. Choose Sandbox only for builds you run from Xcode.

2. Connect Firebase (Android)

  1. In the Firebase console, open your project → Project settings → Service accounts.
  2. Click Generate new private key to download the JSON file.
  3. In Helpium, go to Channels → Live Chat → Mobile apps → Android → Connect and upload the file.

The Mobile apps section shows how many phones are registered on each platform.

3. Hand the push token to the SDK

iOS: enable the Push Notifications capability in Xcode, then:

func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
    Helpium.setPushToken(deviceToken)
}

func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse) async {
    Helpium.handlePush(response.notification.request.content.userInfo)
}

Android: in your FirebaseMessagingService, and in your launcher activity for taps while the app was closed:

@Override
public void onNewToken(@NonNull String token) {
    Helpium.setPushToken(token);
}

// Launcher activity
Helpium.handlePush(this, getIntent().getExtras());

The SDK does not register its own Firebase service, so it never conflicts with the notifications your app already sends. The full reference shows how to show Helpium notifications while the app is open.

Troubleshooting

  • Nothing arrives on iOS: check the Bundle ID and that the environment matches the build (Sandbox for Xcode builds).
  • Nothing arrives on Android: the service account must belong to the same Firebase project as your app's google-services.json. On Android 13+, the user must allow notifications.
  • No phones listed in Mobile apps: a phone registers after the customer sends their first message. Make sure setPushToken is called.