AeroGear JavaScript
  1. AeroGear JavaScript
  2. AGJS-56

UnifiedPush: registerWithPushServer takes only limited amount of metadata

    Details

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

      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/

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: