Firebase.AppOptions

Options that control the creation of a Firebase App.

Summary

See also:FirebaseApp

Inheritance

Inherits from: SystemIDisposable

Constructors and Destructors

AppOptions()
Create AppOptions.

Properties

ApiKey
string
Gets or sets the API key used to authenticate requests from your app.
AppId
string
Gets or sets the App Id.
DatabaseUrl
System.Uri
The database root URL, e.g. "http://abc-xyz-123.firebaseio.com".
MessageSenderId
string
Gets or sets the messaging sender Id.
StorageBucket
string
Gets or sets the Google Cloud Storage bucket name, e.g.

Public functions

Dispose()
void

Properties

ApiKey

string ApiKey

Gets or sets the API key used to authenticate requests from your app.

For example, "AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk" used to identify your app to Google servers.

This only needs to be specified if your application does not include google-services.json or GoogleService-Info.plist in its resources.

AppId

string AppId

Gets or sets the App Id.

This is the mobilesdk_app_id in the Android google-services.json config file or PROJECT_ID in the GoogleService-Info.plist.

This only needs to be specified if your application does not include google-services.json or GoogleService-Info.plist in its resources.

DatabaseUrl

System.Uri DatabaseUrl

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

MessageSenderId

string MessageSenderId

Gets or sets the messaging sender Id.

This only needs to be specified if your application does not include google-services.json or GoogleService-Info.plist in its resources.

StorageBucket

string StorageBucket

Gets or sets the Google Cloud Storage bucket name, e.g.

"abc-xyz-123.storage.firebase.com".

Public functions

AppOptions

 AppOptions()

Create AppOptions.

To create a FirebaseApp object, the Firebase application identifier and API key should be set using AppId and ApiKey respectively.

See also:FirebaseApp.Create().

Dispose

void Dispose()

Send feedback about...

Need help? Visit our support page.