When using the AeroGear.js file within Cordova (for device registration), it is not possible to specify the full set of supported metadata (like on the native Android/iOS platforms) on the registerWithPushServer function.
Currently the "metadata" is only able to specify the following values:
This comes from the fact that the "registerWithPushServer JS file" has be written for SimplePush requirements, where something like osVersion etc does not make sense.
It would be nice if the registerWithPushServer() was a bit more flexible to accept the entire metadata. The following are currently missing, on the JS library:
- deviceType: The device type of the device or the user agent.
- mobileOperatingSystem: The name of the underlying Operating System.
- osVersion: The version of the used Operating System.