The list of valid options for platform in the SDK doc/code comment differs from the list shown in the dashboard:
| SDK doc | Dashboard |
|--------------+---------------|
| Android | Android |
| iPhoneOS | iOS |
| WindowsPhone | Windows Phone |
| Blackberry | Blackberry |
| Windows | Windows |
| MacOS | Mac |
| Linux | Linux |
| -- | Fire OS |
| -- | Other |
The docs say
if device details are not specified Amazon Mobile Analytics will make best efforts to determine these values based on the User-Agent header value
Could you point me to the code of this heuristic? I might be missing something but a grep on the codebase for some of the valid platform values doesn't give any results (except in tests).
The list of valid options for platform in the SDK doc/code comment differs from the list shown in the dashboard:
The docs say
Could you point me to the code of this heuristic? I might be missing something but a grep on the codebase for some of the valid platform values doesn't give any results (except in tests).