Push Token Storage
AppBoost automatically stores Expo push tokens in Supabase when both are configured.
Setup
- Create the
expo_push_tokenstable and RLS policies - see Database - Configure push notifications - see Expo Push
Tokens are stored automatically. Anonymous users get user_id: null, logged-in users get their Supabase auth ID linked. If RevenueCat is configured, the revenuecat_id is also stored to help correlate push tokens with subscription data.
Send from Backend
Query tokens from the expo_push_tokens table and send them to the Expo Push API . You can filter by user_id to target specific users or send to all tokens for broadcast notifications.