An "Unknown Platform" test device, or a QR scan that never registers anything, almost always comes from the auto-configuration deep link not reaching the SDK. Work through the checks below.
1. Declare the deep link in the app
The QR code encodes a deep link with the scheme pushwoosh-YOUR_PUSHWOOSH_APP_ID, which the Pushwoosh SDK parses to register the device. The app must be able to receive it:
-
Android — add
DeepLinkActivitywith this scheme toAndroidManifest.xml. -
iOS — add the URL scheme to
Info.plist.
Without this the link opens and nothing happens, and the entry can appear with no platform information. This is a one-time setup — see the test devices guide.
2. Open the link in the native browser
Many QR readers open scanned links inside their own in-app webview, which cannot hand the deep link to your app. Use the reader's "Open in Browser" action so the link is handled by the system browser.
3. Make sure the device is already registered
Launch the app once with the Pushwoosh SDK integrated so a /registerDevice call succeeds, then scan the code. Auto-configuration by QR is supported for iOS and Android only.
4. Update the SDK
Older SDK builds can omit platform information during test-device registration. Update to the latest release of the Pushwoosh SDK (and of your cross-platform plugin, if you use one) and try again.
5. Fall back to manual registration
If the QR flow still fails, add the device by hand:
- Take the device HWID from a successful
/registerDeviceAPI call. - Go to Settings > Test Devices and click Create test device > Push.
- Fill in Device name and Device HWID, and explicitly select the correct Device Type (iOS, Android, Web). Setting it here resolves the "Unknown Platform" display.
You can also register a device from the app itself: turn on Add test devices from the app on the Test Devices page and send the app to the background and back to the foreground 6 times within 30 seconds. See the Test Devices page.
Comments
0 comments
Please sign in to leave a comment.