Push Notifications based on a query.
My app works based on postal code(zip code).When a new entry is made into the database that corresponds with the users postal code, I want it to push a notification.
So I do not want the notification to go to everyone all the time, just some members with that correct postal code.
How do I make it do this, do I need to get information unique to the device and store it within the app database, so when the device id, and postcode matches it sends a notification? Or do I have the app do the work and it decides whether or not to show it?
Not sure what is best or less memory and time, solution ?