Lincoln-University-Edu / lsu

Lincoln State University App API
2 stars 0 forks source link

Firebase push notification topics #13

Open FreckledNinja opened 4 years ago

FreckledNinja commented 4 years ago

Firebase push notifications don't support topics with whitespace characters in them. Thus majors, entities, keywords etc that would be used as topics need to be trimmed and include only non-whitespace characters.

e.g "Stage And Screen" => "StageAndScreen", " Soul"=>"Soul"

nikasulo commented 4 years ago

Please explain to me how the push notifications will work again and what the APIs involvement in the process is

FreckledNinja commented 4 years ago

Whenever there are any new posts, the API should send notifications using the names (e.g name of entity or major), keywords, and pretty much any other useful metadata as topics.

So if an organization e.g Computer Science club posts an event for using the keywords Internship, Skill Development, Algorithms, Data Science, a push notification should be triggered with topics - ComputerScience, Internship, SkillDevelopment, DataScience