import 'package:flutter_web_plugins/flutter_web_plugins.dart'; import 'web/browser_notification_interop.dart'; import 'web/browser_notification_interop_web.dart'; /// Web platform implementation for the nexo_messaging plugin. /// /// This file is **web-only** and should never be imported by /// Android/iOS/macOS common Dart code. It registers this plugin as a /// Flutter web plugin so that consuming web apps resolve the web /// implementation automatically through the generated registrant. /// /// Foreground permission, notification display, click routing, /// service-worker, and VAPID logic are wired in later tasks. class NexoMessagingWeb { /// The browser notification interop instance used by this plugin. /// On web builds this resolves to [BrowserNotificationInteropImpl]. static BrowserNotificationInterop interop = BrowserNotificationInteropImpl(); /// Register this plugin for web platforms. static void registerWith(Registrar registrar) { // Baseline registration: future tasks will attach interop // mappers (permission request, display, event routing) here. } }