ReGame Notifications
org.regameengine.notifications
Optional notification authorization, local scheduling, native device tokens, foreground delivery, and player-response routing.
Version 1.0.0
MITReGame ≥0.1.0 <1.0.0iOSAndroid- Supports typed permission records and explicit player-initiated prompting.
- Creates Android notification channels and schedules immediate, date, interval, and daily local notifications.
- Returns APNs or FCM device tokens without logging, persisting, or uploading them.
- Routes foreground delivery, notification taps, cold-start responses, and token rotation through native events.
- Activates FCM and Apple Push configuration only when the consuming project explicitly opts in.
- Does not include a hosted push relay or silent headless background gameplay execution.
import * as Notifications from "org.regameengine.notifications"
let permission = await Notifications.requestPermissionsAsync({
"allowAlert": true,
"allowSound": true
})