Sending push notifications using expo-notifications and Convex actions
This sounds exactly what I’m looking for? Do you some examples that you can share of how you’ve set this up?
6 Replies
Yep, here's a gist with my code:
https://gist.github.com/reeceyang/54c2e6bb9cfefa351c6fe1f92c9f8b8e
Gist
Sending push notifications using expo-notifications and Convex actions
Sending push notifications using expo-notifications and Convex actions - pushNotifications.ts
I spent the last 30 minutes listening to @alixi 's tracks on SoundCloud. It is definitely not helping me read Convex software docs, but I am liking this upbeat avant-garde music
I really like this shot of the Charles River:
https://www.youtube.com/watch?v=tMq0ZurNycA
ALIXI
YouTube
alixi @ SEASONSFEST 2023
soundcloud: soundcloud.com/aliximusic
twitter: twitter.com/aliximusic/
spotify: open.spotify.com/artist/0bzWS6Q4P3c5xDWxL9a1n0
commissions: alixi.link/
instagram: instagram.com/aliximusic/
youtube: youtube.com/@aliximusic/
bandcamp: alixi.bandcamp.com/
newgrounds: alixi.newgrounds.com/
I also live in Boston
omg thanks glad you enjoyed 😆
i'm currently a student here
this doesn't cover all use cases, and i've commented some areas where i was confused by the Expo docs. however, it's been working pretty well for my app with around 10 devices/10 notifications per day
I also have a vitest test suite for the sendMessage and handleTickets handlers, but I've been meaning to update them to use the new convex-test library
+1 on @alixi 's music. just checked it out. very rad
If you get a good template / code snippets for notifications, post it in #show-and-tell 🙏