Skip to content

Request From Flutter Team: Migrate UNUserNotificationCenterDelegate API usage #602

Description

@hellohuanlin

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions