Sending Test Messages from the Event Debug View

You can send a Mobile Push notification or an App Inbox message to a test device to verify whether a contact has been created.

The Debug page only shows devices where the app runs with the SDK debug mode enabled for Android or iOS. The checks on this page also use data only from such devices.

A production app without debug mode doesn't appear here. That's why the checks can show that data is missing even when the app is set up correctly.

To send a test message to a device with your production app, use Send test message in the message list — see Testing Message. This requires a contact with a mobile token.

To send a test mobile push notification or an app inbox message:

  1. Go to your account menu → Settings, click Mob Push in the left-hand side menu, and click Debug near the app's name.
  1. Expand the device dropdown list and select the test device.
  1. Click the Send test Mobile Push button to send a test mobile push notification. 
    Or, Click the Send test App Inbox button to send a test app inbox message.
Debug view with the Send test Mobile Push and Send test App Inbox buttons highlighted.
  1. In the Send test Mobile Push window or in the Send test App Inbox window, select the radio button beside the message you want to send and click Send.
Send test App Inbox popup with a message radio button selected and the Send button highlighted.

The confirmation message shows for a short while.

Confirmation banner showing The test message is sent

Check the test device to see the message.

📘

Note

If you need to test SDK changes after the production app is already connected to Yespo, avoid testing with real production users. Use test devices or developer accounts. For a safer setup, consider creating a separate mobile app in Yespo, using a separate Yespo account for development, or testing with a TestFlight build when a separate setup is not available.

What a separate app isolates and what a separate account isolates is described in Connect Your Mobile App.

If you encounter a BadDeviceToken error while testing push notifications on iOS, test on a TestFlight or App Store build: a debug build receives a sandbox token, which can return this error.


Did this page help you?