Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-4583

UnifiedPush: registerWithPushServer takes only limited amount of metadata

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      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:

      • deviceToken
      • alias
      • category

      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.

      http://staging.aerogear.org/docs/specs/aerogear-client-push/

        Attachments

          Activity

            People

            Assignee:
            mwessendorf Matthias Wessendorf
            Reporter:
            mwessendorf Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: