Troubleshooting
Notifications Show as Successful but Are Not Displayed
A successful send in indigitall means the push provider accepted the notification. The provider is FCM for Android, APNs for iOS, HMS for Huawei devices without Google services, or the browser’s push service for Web Push. A successful send does not confirm that the device displayed the notification. After the provider accepts it, display depends on the device, the operating system, the app, and the network.
In most cases, the cause is a device-level restriction such as a battery-saving feature, a focus mode, or a limit on background data.
Understand What Your Statistics Show
- Delivery rate and numDevicesSuccess count notifications the provider accepted. They do not confirm that the notification was displayed.
- In the device-level CSV export, providerStatus is true if the provider accepted the notification and false if it rejected it.
- If providerStatus is false, check providerResponse for the reason (for example, Status Code 401). Rejections usually come from invalid or expired credentials, so review your FCM Server Key, HMS Server Key, or iOS certificates.
- If providerStatus is true and the user still didn’t see the notification, follow the steps on this page.
Before You Begin
Have this information ready:
- The campaign that was sent and the date and time it was sent
- The affected device’s platform (Android, iOS, Huawei, or Web) and its device ID
- The device-level CSV export for that campaign
1) Check Device Settings (All Platforms)
Notification permission
Confirm that notifications are enabled for the app in the device’s system settings. For Web Push, confirm they’re enabled for the browser. Then open the app so the indigitall SDK can sync the device’s current permission status.
Do Not Disturb and Focus modes
Do Not Disturb, Focus (iOS and macOS), and Focus Assist (Windows) can silence or hide notifications. Turn them off, or allow the app as an exception, and then send a test.
Battery saving
Battery-saving features can delay or block background delivery.
- iOS: Turn off Low Power Mode.
- Android: Set the app’s battery usage to Unrestricted. For Samsung devices, see Android-Specific Causes below.
Network connectivity
The device must be online to receive notifications. If it’s offline, delivery is retried until the campaign’s Expiration time passes. Corporate firewalls, VPNs, and some public Wi-Fi networks block push traffic, so try the test again on mobile data. If you manage the network, allow these outbound ports:
- FCM (Android): TCP 5228, 5229, 5230
- APNs (iOS): TCP 5223, and TCP 443 or 2197
Notification grouping
Android and iOS group notifications from the same app. If the user dismisses a group, every notification in it is removed, which can make it look like a message never arrived.
2) Android-Specific Causes
Samsung Devices
Samsung’s battery and data management features are a common reason that pushes are delayed or dropped. Check these settings on the affected device.
Enable unrestricted battery usage
- Go to Settings > Apps > [Your App].
- Tap Battery.
- Select Unrestricted.
Note: Make sure the setting isn’t Optimized or Restricted. Samsung’s default Optimized setting can delay or drop push notifications.
Check for sleeping and deep sleeping apps
- Go to Settings > Battery and device care > Battery > Background usage limits.
- Check the Sleeping apps and Deep sleeping apps lists.
- If your app appears in either list, remove it.
Note: To prevent this permanently, add the app to the Never sleeping apps list.
Allow background data usage
- Go to Settings > Apps > [Your App].
- Tap Mobile data (or Mobile data usage).
- Turn on Allow background data usage.
Note: Without background data, the app can’t download the notification payload while it’s closed.
Check Do Not Disturb
Go to Settings > Notifications > Do Not Disturb and confirm it’s off. You can also allow your app as an exception to Do Not Disturb.
Check Data Saver
Go to Settings > Connections > Data usage > Data saver. If it’s on, add your app to the Allowed to use data while Data saver is on list.
Other Android Causes
The app was force-stopped
If a user force-stops an app from system settings, Android blocks all of its notifications until the user opens the app again. Some manufacturers, such as Xiaomi and Huawei, close background apps aggressively and have the same effect. Ask the user to open the app, and then:
- Allow background activity for the app.
- Turn on Auto-start, where the device offers it.
- Lock the app in Recent Apps, where the device supports it.
Notification channel turned off
Users can turn off individual notification channels in Settings > Notifications > [Your App]. Notifications sent to a disabled channel aren’t displayed. Check that every channel the app uses is turned on.
Doze and App Standby
When an Android device is unplugged and idle, the OS can postpone background network activity, so pushes may arrive late. This is expected Android behavior.
Huawei devices without Google services
These devices receive pushes through HMS. Make sure your project has a valid HMS Server Key configured.
Testing on emulators
Use an emulator image that includes Google Play services.
3) iOS-Specific Causes
Messages sent while the device was offline
While a device is offline, APNs keeps only the most recent notification for each app. When the device reconnects, the user may see only the latest one. This is expected Apple behavior.
Notifications while the app is in the foreground
iOS doesn’t show notifications for an app that’s open unless the app’s code tells it to. If notifications appear only when the app is in the background or closed, review the app’s foreground notification handling.
Badges and Notification Center
If the app clears its badge or its delivered notifications when it opens, those notifications are removed from Notification Center. This can look like they never arrived.
4) Web Push-Specific Causes
- Browser permission: Confirm the site’s notification permission is set to Allow in the browser settings.
- OS-level settings: Confirm the operating system allows notifications from the browser. On macOS, check System Settings > Notifications. On Windows, check Settings > System > Notifications.
- Browser running: On some operating systems, Web Push notifications appear only while the browser is running.
- Private or incognito windows: Subscriptions don’t persist in private browsing sessions.
5) Check the Campaign Configuration
- Audience: If you used filters, segments, or topics, confirm that the device met every condition when the campaign was sent. The device counter at the bottom of the campaign editor shows how many devices the campaign will reach.
- Expiration time: If the device was offline for longer than the Expiration time set under Advanced, the notification is discarded and never displayed.
- Scheduling: For scheduled campaigns, check the send date, time, and time zone.
6) Code-Level Causes (for Developers)
If the issue affects every device on a platform, review the app’s integration:
- Other push SDKs or a custom messaging service: If the app includes another push SDK, or its own FirebaseMessagingService implementation, that code may consume indigitall notifications before the indigitall SDK can display them. Make sure indigitall payloads are passed to the indigitall SDK.
- Push token handling: Avoid calling methods that delete or reset the FCM token, for example on logout. If the token changes, the device stops receiving notifications until it registers again.
- Foreground handling: Check that no custom code blocks notifications while the app is open.
- Test in different app states: Send a test with the app in the foreground, in the background, and closed to find where the issue occurs.
Updated 9 days ago
