FIROptions


@interface FIROptions : NSObject <NSCopying>

This class provides constant fields of Google APIs.

  • Returns the default options. The first time this is called it synchronously reads GoogleService-Info.plist from disk.

    Declaration

    Objective-C

    + (nullable FIROptions *)defaultOptions;
  • An iOS API key used for authenticating requests from your app, e.g. @AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk, used to identify your app to Google servers.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *APIKey;
  • The bundle ID for the application. Defaults to [[NSBundle mainBundle] bundleID] when not set manually or in a plist.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *_Nonnull bundleID;
  • The OAuth2 client ID for iOS application used to authenticate Google users, for example @12345.apps.googleusercontent.com, used for signing in with Google.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *clientID;