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

Add new property to UPS device registration method for old tokens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • None

    Description

      For FCM token inconsistencies, during development (upgrading app, un-re-install), it may result in bogus tokens sitting on the UPS for the device, leading to issues w/ duplicated messages or just incorrect tokens.

      Also, the canonical IDs seems to be inconsistently applied to FCM's InstanceID tokens

      So, we need to add a property to UPS's register method : oldToken
      this is string (or array of strings?).

      If not empty, the registration tiggers a service call which:

      • looks up the installations matching the given token(s)
      • removes them from the database

      Let's not bake this into the Installation metadata, since it's not really belonging there...

      Attachments

        Issue Links

          Activity

            People

              supittma@redhat.com Summers Pittman (Inactive)
              mwessend@redhat.com Matthias Wessendorf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: