initializeNotifications function
Implementation
Future<String?> initializeNotifications() async {
return await initializeNotifify(
androidFirebaseOptions: DefaultFirebaseOptions.android,
handleMessageTap: _handleMessageTap,
isEnabledCheck: _isEnabled,
shouldShowCheck: _shouldShow,
appName: appName,
appIdPrefix: appIdPrefix,
pushServer: pushServer,
ntfyServer: ntfyServer,
winApplicationId:
Env.windowsApplicationId.isNotEmpty ? Env.windowsApplicationId : null,
currentClientsGen: _genCurrentClients,
);
}