-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
To reproduce the deprecation warning
- Go to local build root folder, typically located one level up of the engine directory. Then change the
ios_deployment_targetto 17.0: https://github.com/flutter/buildroot/blob/master/build/config/ios/ios_sdk.gni#L19 - Add -Wdeprecated-declarations and -Wdeprecated-implementations in flutter_clags_objc https://github.com/flutter/engine/blob/main/common/config.gni#L60
- Build the local engine like you normally would.
List of deprecated APIs
'statusBarHidden' is deprecated: first deprecated in iOS 13.0 - Use the statusBarManager property of the window scene instead. [-Werror,-Wdeprecated-declarations]
'setStatusBarStyle:' is deprecated: first deprecated in iOS 9.0 - Use -[UIViewController preferredStatusBarStyle] [-Werror,-Wdeprecated-declarations]
[[UIApplication sharedApplication] setStatusBarStyle:statusBarStyle];
'statusBarOrientation' is deprecated: first deprecated in iOS 13.0 - Use the interfaceOrientation property of the window scene instead. [-Werror,-Wdeprecated-declarations]
Flutter does not support iOS 9 anymore so we should be able to remove setStatusBarStyle completely.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team