The requirement is around removing records of Apps that are not in use from local database
No Channel ID should be maintained where there has been no activity from the app since last N days (eg: 30 days). Require the API that gets inactive ChannelID for both android and iOS.
Do you wish to remove/uninstall channels that are inactive for over 30 days?
You can use the Channel Listing API to get all of your channels and then filter for all channels who's `last_registration` date is more than 30 days ago.
Let me know if you have any questions or tell us more about your use case and we'll provide more information.
Airship Technical Support
Step1 : User downloads the app and activates PUSH notification.
Step 2: User does not use the app (does not login at all) for next N days
Security requirement is to not have PUSH notification delivered to Channel ID which has not been used by the user for more than N days. Hence, remove the record from local database.
Q1. Does Urban Airship track App usage?
Q2. What timestamp does "last_registration" capture? Is this the last time the user launched the app? Or logged in ? or received a PUSH
Q3. Is Uninstallation of the app only way to mark a record in Urban Airship as "Inactive" ?
Q4. Is the "/api/channels/uninstall" API called when user disables PUSH notification for the app ? And does it update the status of the instance in Urban Airship as "Inactive".
Q1. "By default, it will automatically be marked as inactive after 12 months of inactivity. " Can this be configured to our needs. Like mentioned above reset this to 90 days for our app.
Q2. Is there any notification/feedback sent back to sender if the PUSH notification was NOT delivered to the user as the user has uninstalled the app.
User1 installs the app in a device say DEVICE1 which assigns it a channelID - say CHANNELID1.
the app DOES NOT restrict multiple users to login from the same device. If User2 logs into the same device DEVICE1 , does Urban Airship assign a new Channel ID ?
It will have the same Channel ID. To be able to target a specific user vs a specific device, we recommend implementing our Named Users feature: https://docs.airship.com/guides/audience/tags-named-users/#named-users
This way when a user logs in the channel id is associated with a specific named user. When you log out and in with another user it'll disassociate the previous named user from the channel and associate the new one.