---
source_url: https://www.pubnub.com/docs/integrations/mobile-push-notifications/test-mobile-push-notifications-externally
title: Test mobile push notifications externally
updated_at: 2026-09-30T07:20:08.000Z
---

# Test mobile push notifications externally

## Documentation index

To discover more PubNub resources:

1. Fetch [PubNub's llms.txt](https://www.pubnub.com/llms-full.txt) for a list of available pages in Markdown format.
2. Identify relevant URLs from that index.
3. Fetch the target pages.

Do not assume a path exists, always check the index first.

This guide shows you how to send a push notification that bypasses [Mobile Push Notifications](https://www.pubnub.com/docs/integrations/mobile-push-notifications/overview.md) entirely. That way, you can tell whether a missing push is caused by your APNs or FCM credentials and device token, or by your PubNub-side configuration. A successful external send only rules out your provider credentials and device token. It doesn't confirm your PubNub channel registration or payload shape are correct.

If the push arrives when you bypass PubNub, treat the problem as your PubNub-side configuration, such as channel registration or payload shape. If it doesn't arrive even when you bypass PubNub, treat the problem as your provider credentials or device token, not PubNub.

## Test FCM

Send a push through the FCM HTTP v1 REST API to confirm your Firebase credentials and device token work outside PubNub. Legacy FCM's HTTP API no longer works, since Google removed it in 2024, so use HTTP v1.

1. Generate an OAuth access token from your Firebase service-account credentials. Follow Firebase's guide on [using credentials to mint access tokens](https://firebase.google.com/docs/cloud-messaging/migrate-v1#use-credentials-to-mint-access-tokens).
2. Send the push directly through the [FCM HTTP v1 REST API](https://firebase.google.com/docs/cloud-messaging/send-message#rest), using the access token and your device's registration token.

If you don't want to construct the request yourself, use a third-party tool instead. [PushTry](https://www.pushtry.com/) and the open-source [PushNotifications](https://github.com/onmyway133/PushNotifications) tool can both send a test FCM push for you.

## Test APNs

Send a push directly to Apple to confirm your APNs certificate or auth token and device token work outside PubNub.

1. Verify your APNs certificate (`.pem` file) or auth token.
2. Optionally, target a specific device token to receive the test push.

A [community script](https://gist.github.com/dkong/c29255ff0d68698d1ec9) automates both steps. For a GUI instead of a script, use a Mac App Store APNs test app, an online web-based APNs test tool, or the same third-party tools listed above (PushTry, PushNotifications).

If the test push still fails, check Apple's [Troubleshooting Mobile Push Notifications](https://developer.apple.com/library/archive/technotes/tn2265/_index.html) reference for the likely cause.

## Related tasks

* [Check the FCM payload](https://www.pubnub.com/docs/integrations/mobile-push-notifications/check-fcm-payload.md). Fix a push that PubNub delivers successfully but that doesn't display or behave as expected on the device.
* [Debug push notification messages](https://www.pubnub.com/docs/integrations/mobile-push-notifications/debug-push-notification-messages.md). Trace a push through the `-pndebug` channel once you've confirmed the problem is on PubNub's side.
* [Forward push errors and device removals to your endpoint](https://www.pubnub.com/docs/integrations/mobile-push-notifications/set-up-push-webhooks.md). Send push errors and device-removal events to your endpoint.
* [Check push device registration](https://www.pubnub.com/docs/integrations/mobile-push-notifications/check-push-device-registration.md). Confirm PubNub still has a valid device token registered for the channel.
* [Send push notifications on iOS](https://www.pubnub.com/docs/integrations/mobile-push-notifications/send-push-notifications-ios.md). Set up APNs push sending from your PubNub keyset.
* [Send push notifications on Android](https://www.pubnub.com/docs/integrations/mobile-push-notifications/send-push-notifications-android.md). Set up FCM push sending from your PubNub keyset.
* [Mobile push notifications](https://www.pubnub.com/docs/integrations/mobile-push-notifications/overview.md). How Mobile Push Notifications bridges PubNub pub/sub with APNs and FCM.

Last updated at: 2026-09-30T07:20:08.000Z
