FirebaseValidator class

Validates the presence and content of GoogleService-Info.plist.

Constructors

FirebaseValidator(String projectRoot)
Creates an instance targeting the Flutter project at projectRoot.

Properties

hashCode int
The hash code for this object.
no setterinherited
projectRoot String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkBundleIdMatch(String projectRoot) String?
Returns a warning message if the Bundle ID in GoogleService-Info.plist does not match PRODUCT_BUNDLE_IDENTIFIER in project.pbxproj, or null if they match or either value cannot be read.
fileExists() bool
Returns true if GoogleService-Info.plist exists at the expected path.
isValid() bool
Returns true if the plist contains the required Firebase keys (GOOGLE_APP_ID, BUNDLE_ID, PROJECT_ID).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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