Overview
Test mode is an important part of your messaging workflow—not only as a QA step, but to ensure that
Setting up Test Mode needs to be done by your development team, and usually happens during your SDK onboarding process. Feel free to send your developers here for more information:
Testing on a web push app? No need to ask your developer team to set up test mode! Check out our section below on testing a web push message.
Using Test Mode
You’ll be able to access Test Mode at the Confirm and Send phase of your message building. There should be a button for Test on Device. Click it to access Test Mode.
You’ll need to Enable Test Mode for this message, by clicking the Enable Test Mode button.
When you enable test mode you’ll have a few options for testing your push message.
Copy the URL and open it on your device. This should automatically open your app, and display the message you’ve crafted.
Alternatively, you can use your phone’s camera app scan the QR code. This will again, open your app and display the message.
Finally you can have Localytics deliver the link to your device via SMS or Email. Simply fill in the information to receive the link.
When you’re done testing, disable test mode.
Testing a Web Push
Testing a web push is a quick and easy way to confirm that your web push looks and acts the way you expect it to. If you're using Workflows, you can test the Web Push right from the push message builder using the Live Preview button.
If you're building a Web Push campaign in Localytics, make sure you're at the Test and Confirm stage of your message.
Click the Preview message button.
This should prompt the browser to ask for your permission to send push notifications from dashboard.localytics.com.
Firefox 68
Allow Localytics to send notifications. The browser may require you to reload the page in order to apply the new settings.
If you're not prompted to allow Localytics to send messages, you'll need to change your settings manually.
The good news is that for most browsers, this is fairly simple. Click the lock icon next the website's URL in your browser. This will open a menu that should allow you to adjust the notification settings for the website.
Chrome 76, Mac OS Mojave (dark mode)
Firefox 68, Mac OS Mojave (dark mode)
Adjust your settings to allow dashboard.localytics.com to send you push messages. Again, keep in mind that you may need to refresh the page in order for the settings to apply.
Once you've granted Localytics the push notifications permissions, click the Preview message button. Your notification should appear almost immediately.
Firefox 68, Mac OS Mojave (dark mode) - notification appears in top right corner
For more information on adjusting your web push notification settings per browser, check out these article: