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

UnifiedPush: registerWithPushServer expects object containing channelID

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.2.0
    • 1.2.0
    • None
    • 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

      Attachments

        Activity

          People

            mwessend@redhat.com Matthias Wessendorf
            mwessend@redhat.com Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: