The Essentials
Alright, listen up. Sendify is all about making real-time notifications stupidly simple. To achieve that, we give you one main component:NotificationFeed. That’s it. No fluff, no nonsense.
NotificationFeed
This bad boy does all the heavy lifting. It fetches notifications, listens for real-time updates, and makes you look like a genius.
How to Use It
First, do you even have your API keys set up?
If not, what are you even doing here? Go back and actually follow the installation guide. I’ll wait. (But seriously, you need them for this to work, genius.)Now, let’s use NotificationFeed like a pro.
About userId (a.k.a. The Most Important Thing Here)
Listen up, because this is crucial. The userId MUST BE UNIQUE per user. That means:
- An email? Sure.
- A database ID? Perfect.
- A completely random string you pulled out of thin air? Sure, as long as it’s actually unique per user. Don’t make it weird.
- The same
userIdfor all users? Absolutely not. Don’t do that. Ever.