IosManager class final

Manages iOS-specific native configurations for Flutter projects.

This class provides methods to:

  • Add/remove key-value pairs to Info.plist
  • Add iOS permission usage descriptions
  • Add URL schemes for deep linking
  • Get current configuration status

Constructors

IosManager(String projectRoot)
Creates a new IosManager for the Flutter project at projectRoot.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isIosProjectPresent bool
Returns true if the ios/ directory exists in the project.
no setter
projectRoot String
The root directory of the Flutter project.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPermissionDescription(String permissionKey, String description) OperationResult
Adds a permission usage description to Info.plist.
addPlistKey(String key, String value, {PlistValueType valueType = PlistValueType.string}) OperationResult
Adds a key-value pair to the iOS Info.plist file.
addUrlScheme(String scheme) OperationResult
Adds a URL scheme to the Info.plist for deep linking.
getPermissionKeys() List<String>
Gets the list of permission keys currently in Info.plist.
getUrlSchemes() List<String>
Gets the list of URL schemes currently in Info.plist.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removePlistKey(String key) OperationResult
Removes a key-value pair from the iOS Info.plist file.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited