data/services/fcm_setup library

Functions

initFirebaseAndFcm({required NotificationService? notificationService, required void onDeepLink(String route), required bool isAllowedRoute(String route)}) Future<bool>
Boots Firebase + FCM and wires up the deep-link handlers used by push notifications. Returns whether Firebase came up successfully — callers gate downstream work (e.g. token registration) on the result.