Jump to top

FirebaseAppOptions

interface

Properties

androidClientId

</>

iOS only - The Android client ID used in Google AppInvite when an iOS app has its Android version, for example "12345.apps.googleusercontent.com".

androidClientId: undefined | string;

apiKey

</>

An API key used for authenticating requests from your app, e.g. "AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk", used to identify your app to Google servers.

apiKey: undefined | string;

appId

</>

The Google App ID that is used to uniquely identify an instance of an app.

appId: string;

clientId

</>

iOS only - The OAuth2 client ID for iOS application used to authenticate Google users, for example "12345.apps.googleusercontent.com", used for signing in with Google.

clientId: undefined | string;

databaseURL

</>

The database root URL, e.g. "http://abc-xyz-123.firebaseio.com".

databaseURL: undefined | string;

deepLinkURLScheme

</>

iOS only - The URL scheme used to set up Durable Deep Link service.

deepLinkURLScheme: undefined | string;

gaTrackingId

</>

The tracking ID for Google Analytics, e.g. "UA-12345678-1", used to configure Google Analytics.

gaTrackingId: undefined | string;

messagingSenderId

</>

The Project Number from the Google Developer's console, for example "012345678901", used to configure Google Cloud Messaging.

messagingSenderId: undefined | string;

projectId

</>

The Project ID from the Firebase console, for example "abc-xyz-123".

projectId: string;

storageBucket

</>

The Google Cloud Storage bucket name, e.g. "abc-xyz-123.storage.firebase.com".

storageBucket: undefined | string;