The Application Version is a default tag that the Pushwoosh SDK automatically collects from your app's build configuration and sends with the /registerDevice request upon the first launch or update.
If you notice this tag is not appearing for your devices, the most common reason is that the version string format is not compatible with our system's validation rules.
Version Format Requirements
The Application Version tag is stored in a format that requires each numerical component of the version string (the numbers separated by dots) to be no greater than 9999.
- Valid example:
3.900.9999 - Invalid example:
3.900.16157(The last component,16157, exceeds the9999limit).
If any component of your app's version string exceeds this limit, our backend will reject the value, and the Application Version tag will not be set for that device.
How to Resolve This
You have two options to ensure your app version is tracked correctly:
Adjust Your Versioning Scheme (Recommended) The best solution is to modify your application's versioning scheme to comply with the
9999limit for each component. This will allow the defaultApplication Versiontag to work as intended.Use a Custom Tag (Alternative) If you cannot change your application's versioning scheme, you can create a custom tag with the String data type. String tags do not have numerical limitations, so you can send any version format to it. You would need to modify your app's integration to send the version number to this new custom tag.
You can learn more about setting up custom tags in our documentation.
Comments
0 comments
Please sign in to leave a comment.