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

Add new property to UPS device registration method for old tokens

XMLWordPrintable

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

      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...

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

              Created:
              Updated:
              Resolved: