Uploaded image for project: 'AeroGear JavaScript'
  1. AeroGear JavaScript
  2. AGJS-55

UnifiedPush: registerWithPushServer expects object containing channelID

    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: unifiedpush
    • Labels:
      None

      Description

      When using the AeroGear.js file within Cordova (for device registration), a little hack is needed to get the "DeviceToken" registered:

      var tokenContainer = {};
      tokenContainer.channelID = deviceToken; // or = regID; on Android.....
      

      Would be nice if the registerWithPushServer() was a bit more flexible

        Gliffy Diagrams

          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: