I worked with Urban Airship push notifications using Tags. For every new installation UA mantain new
App ID under audience.In my application I have two options for login: 1.Male 2.Female
From UA I sended message by adding proper tag.
Case1:
At first installation, under audience my device registered with selected tag(I logged as Male) and APP ID.
In this case everything works good.
Case2:
If I removed the app from device and install again and logged as different User(Ex: female).
Now under audience my device registered with Female Tag and new App ID. (Now My device registered with new APP ID under UA)
If I send push from UA by adding required Female Tag , push received to my device.
But in few cases message from Male tag also received by device.
Observation:
Now under UA ,my device having two APP ID's with two different tags.
May be , by that reason my device received both tag messages irrespective of selected Tags
Need solution:
Why android maintain new APP ID for every new installation?
How to remove previous APP ID of my device from UA before new installation
(OR)
How to override Previous APP ID with new APP ID
Note:
I installed application in my device with integrating push notification. Device registered with APID and keeps Active as True.
After re-installation of App, new APID generated and shown Active as True. But, previous APID's status of Active still maintained as True. Why previous APID's Active status not changed to False.
In IOS, after new installation previous Device Token's status changed to inactive. Why happen it in android only??
Thanks in advance..