Opt for push notifications

Hey guys.

I’m building an app and want to give the user the ability to opt for push notifications.

They should be able to toggle to receive notifications for the following:

  • when listings have been posted in a selected category/categories;
  • when listings have been posted in a selected country/countries;
  • when listings that have met certain criteria have been posted;
  • when listings that have met certain criteria have been posted in a selected category/categories;
  • when listings that have met certain criteria have been posted in a selected country/countries;

I’ve added the toggle function that leads to a new page with a list of categories and one for countries, as well as the lists with certain criteria. When a listing is posted, and the user has opted for any of the points listed above, it triggers a notification. When the user selects an item from these lists, the notification/s will show on a new screen which will be the notification screen. I’m not really sure how this should be displayed. Also am I wrong to only have 1 collection for notifications? I’ve got a true/false variable for each of the points listed above. I’ve also got a relationship to countries, to categories and to users. If I’ve missed anything, any help would be greatly appreciated.

Cheers :v:
Josh

Hello,

You should consider adding a “true or false” property in the database and user with a toggle subscribe to these notification, and the one who has them on, receive the notification.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.