Type: Feature Request
Status: Resolved (View Workflow)
Affects Version/s: 1.2.0
Fix Version/s: 1.2.0
Git Pull Request:
Similar Issues:Show 10 results
AGJS-55 UnifiedPush: registerWithPushServer expects object containing channelID AGJS-197 Building a custom version on aerogear.org that only includes 'UnifiedPush Client SDK' results in broken script AGJS-44 registerWithPushServer should not be part of the request returned by navigator.push.register() AGJS-117 UnifiedPush Recipe AGJS-248 Move the SimplePush and UnifiedPush examples to the real js-cookbook AGJS-53 JSDoc for SimplePush and UnifiedPush AGJS-238 Promisfy UnifiedPush client AGJS-195 SimplePush UnifiedPush quickstart is missing AeroGear.ajax AGJS-222 Convert UnifiedPush client lib to es6 modules AGJS-158 UnifiedPushClient - pushServerURL should default
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.