Skip to content

'UIAccessibilityVoiceOverStatusChanged' is deprecated in flutter/engine #128732

@cyanglaz

Description

@cyanglaz

To reproduce the deprecation warning

  1. Go to local build root folder, typically located one level up of the engine directory. Then change the ios_deployment_target to 17.0: https://github.com/flutter/buildroot/blob/master/build/config/ios/ios_sdk.gni#L19
  2. Add -Wdeprecated-declarations and -Wdeprecated-implementations in flutter_clags_objc https://github.com/flutter/engine/blob/main/common/config.gni#L60
  3. Build the local engine like you normally would.

List of deprecated APIs

'UIAccessibilityVoiceOverStatusChanged' is deprecated: first deprecated in iOS 11.0 [-Werror,-Wdeprecated-declarations]

Flutter does not support iOS versions below 11.0, we can safely replace this with UIAccessibilityVoiceOverStatusDidChangeNotification

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions