-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
e1-hoursEffort: < 8 hrsEffort: < 8 hrsfrom.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.
Description
Page URL
https://docs.flutter.dev/platform-integration/platform-channels/
Page source
Describe the problem
The code sample for setting up an iOS MethodChannel for an application is slightly outdated.
Most notably it still refers to @UIApplicationMain instead of @main.
Expected fix
The code sample is updated, so that it no longer uses the deprecated annotation.
Preferably it should match what is defined in
modulo the changes for the MethodChannel itself.
Additional context
No response
I would like to fix this problem.
- I will try and fix this problem on docs.flutter.dev.
Metadata
Metadata
Assignees
Labels
e1-hoursEffort: < 8 hrsEffort: < 8 hrsfrom.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.