Hello Everyone,
I’m making my first app for the CWC assignment and it’s an event app. I’d like to use this for my company as well, so I’m trying to set up local notifications. I’ve found a ton of tutorials on interval notifications and calendar notifications, but for the most part they function in the same way where the user is setting up the notifications. I’ll like to have the ability to set up multiple local notifications for my users, so they will receive preset notifications throughout the event.
To date, I’ve put made 3 apps from 7 tutorials and have spent up to 14 hours trying to learn enough to figure it out, but it feels like it’s time to ask for help. Any support would be greatly appreciated.
I’ve been doing some digging and I think I found what I like but I can’t figure out how to implement it due, because I’m a beginner. Does that look real to you?
You could do it this way, but really only if you know the exact date / time you want these local notifications to be scheduled, for every user that’s downloaded the app
Otherwise you’d have to use push notifications from a server
If all the notification dates are known in advance - use Local Notifications.
This is a simple tutorial that covers it.
If all the notification dates are not known in advance, but will happen live - use Push Notifications sent from a server. If I were you I’d hook this up with Firebase. If you don’t have experience with Cloud Functions and/or APIs, this is about to be a bit of a rabbit hole, but it’s definitely worth learning.
I’ll know all the dates and times in advance so I’d like to use the local notifications, but I’ve attempted to put it all in a file and it never builds. I’m assuming it’s considerably easier for someone who has experience. Are there specific classes/lessons here that would help me understand how to do that? Or maybe other tutorials?