app_notification_service ๐ฆ
OneSignal Notification Integrationโ
-
Weโve implemented the entire notification flow โ from handling permissions to capturing the player ID.
-
app_notification_service package has OneSignalService class that implements abstract interface class NotificationServiceInterface to provide methods to fetch notifications id and to handle notification permission.
-
NotificationCubit syncs
PlayerId
with the backend and stores it in local storage viaHive
. Integrated at app entry point for seamless setup.