Test Devices
Preview your messages on a device before sending them to users
Last updated
Preview your messages on a device before sending them to users
Last updated
Watch this video where our dedicated Customer Success team will guide you through the onboarding process at Pushwoosh, from setting up projects to sending your first communications.
You can use Test Devices to preview how push notifications look on a device before sending them to the app users. In order to do that, you need to register your device (with your app installed) as a Test Device.
There are two ways it can be done: manual and automatic.
After you have added your test device, you can go to Channels → Push Notification → One time push and click on the Test Woosh button. The notification will be sent only to registered test devices.
1. To register a Test Device, first get the Device Push Token (taken from the successful /registerDevice
call).
2. Go to Settings → Test Devices and click Add Devices:
3. Paste the device token to the corresponding field, give this device a name and choose its type. Click Save to apply changes.
This method is suitable only for iOS and Android devices.
1. Go to Settings → Test Devices and click Add Devices:
2. Scan the QR code. You will receive a deep link that the Pushwoosh SDK can parse to automatically register your device as a test one.
3. Add the received deep link to AndroidManifest.xml (Android) or Info.plist (iOS). For more details, follow the instructions for Android and iOS in the Implementation section.
1. Integrate Pushwoosh SDK with your application.
2. Add DeepLinkActivity to your AndroidManifest.xml:
Don't forget to replace YOUR_PUSHWOOSH_APP_ID in the xml above with your Pushwoosh App ID. Example: <data android:scheme="pw-ABCDE-EDCBA" />
3. Launch the application to subscribe for push notifications.
4. Scan the QR Code in Test Devices form using any appropriate QR Code scanner app*. A toast message will appear indicating the status of the test device registration.
* – most of the QR code scanning apps handle such deep links properly, here are just a few of them:
1. Integrate Pushwoosh SDK with your application.
2. Add pw-YOUR_PUSHWOOSH_APP_ID URL scheme to the Info.plist file:
Don't forget to replace YOUR_PUSHWOOSH_APP_ID in the XML above with your Pushwoosh App ID. Example: pw-ABCDE-EDCBA
3. Launch the application to subscribe for push notifications.
4. Scan the QR Code in the Test Devices form using any appropriate QR Code scanner.