areNotificationsEnabled

Checks if push notifications are currently enabled.

Returns true only if both the system-level notifications are enabled for the app AND the app-level notification setting is enabled via enableNotifications. Example:


	  // Check notification status before showing opt-in UI
	  if (!PushwooshNotificationSettings.areNotificationsEnabled()) {
	      showNotificationPermissionDialog();
	  }
	
	  // Conditional feature based on notification status
	  if (PushwooshNotificationSettings.areNotificationsEnabled()) {
	      enableRealtimeUpdates();
	  } else {
	      Log.d("App", "Notifications disabled - using polling");
	  }
	

Return

true if notifications are enabled and will be displayed, false otherwise

See also