This plugin currently invokes the UNUserNotificationCenterDelegate API during plugin registration (code here). In applications adopting the UIScene lifecycle, Flutter defers this invocation until after the UIScene is connected. This delay creates a conflict, as Apple requires the UNUserNotificationCenterDelegate API (apple doc) to be called before AppDelegate.didFinishLaunching returns.
To ensure correct execution timing, we recommend that plugins expose a shared instance and a specific API for app developers to call directly within their AppDelegate.didFinishLaunching.
For detailed instructions, please see the official UIScene adoption guide for plugins.
┆Issue is synchronized with this Jira Task by Unito
This plugin currently invokes the UNUserNotificationCenterDelegate API during plugin registration (code here). In applications adopting the UIScene lifecycle, Flutter defers this invocation until after the UIScene is connected. This delay creates a conflict, as Apple requires the UNUserNotificationCenterDelegate API (apple doc) to be called before AppDelegate.didFinishLaunching returns.
To ensure correct execution timing, we recommend that plugins expose a shared instance and a specific API for app developers to call directly within their AppDelegate.didFinishLaunching.
For detailed instructions, please see the official UIScene adoption guide for plugins.
┆Issue is synchronized with this Jira Task by Unito