Question
How to test Pushwoosh integration with the initial release or after a major update of the app?
Answer
When preparing for a major app release, especially one that involves a complete code rewrite, testing your Pushwoosh integration is critical. Here's a short guide to ensure everything is working smoothly before going live.
Verify all credentials are correct
Before testing, ensure that your app is correctly set up with the necessary credentials for push notifications:
-
iOS: Ensure that the build is signed with the correct certificate matching your Apple Developer account and team credentials. Confirm these credentials are correctly loaded into Pushwoosh's platform configuration.
-
Android: Check that the private and public keys are linked to the correct Firebase project. Make sure the proper keys and credentials are added to the Pushwoosh's platform configuration.
Please refer to the platform integration guide for more info: Pushwoosh Documentation.
Test Push Notification functionality
To verify the basic functionality of sending and receiving push notifications, follow these steps:
-
Initialization Check: Confirm there are no initialization errors in the Pushwoosh SDK logs. Use a physical device or an emulator that supports push notifications to test this. Ensure that the SDK is set to "Debug mode" to record logs properly.
- How to obtain HWID and push token
- How to control the log levels for your app: Android, iOS. Each cross-platform framework has such info as well on its page.
- Registration Check: Confirm that the
/registerDevice
request was sent correctly on the moment you allow the system notification permission. Find this device in your Pushwoosh application User Explorer. It must have a push token. -
Push Deliverability Check:
- Identify the push token or HWID (Hardware ID) of the test device.
- Send a push notification to this device via the Pushwoosh API. While you can use the Pushwoosh control panel or Customer Journey for this, it’s best to use a separate Test/Dev project, because you can't to target to specific tokens or device IDs via UI.
- If the push doesn’t arrive, review the logs for errors at the time of expected receipt. Enable API messaging tracing if needed to analyze the delivery report (responses from gateways).
- Additional features: For any additional or custom SDK features you’ve integrated into your app using Pushwoosh, refer to the relevant documentation. Ensure that the feature implementations in your new build align with the official guides and best practices. Pushwoosh Documentation.
Comments
0 comments
Please sign in to leave a comment.