Class PushNotificationSettings
A class for configuring the Push Notifications SDK.
Some of the fields in this class are platform specific, and are prefixed with the platform they relate to. However, it is not required to use a separate settings object on each platform, as the SDK will automatically only retrieve settings for the platform it is running on.
Namespace: Unity.Services.PushNotifications
Syntax
public class PushNotificationSettings : object
Fields
AndroidApiKey
The Firebase API Key for the project to use for Firebase Cloud Messaging. This should match the project you have configured in the Push Notification dashboard.
Declaration
public string AndroidApiKey
Field Value
| Type | Description |
|---|---|
| String |
AndroidApplicationId
The Firebase application ID for the project to use for Firebase Cloud Messaging. This should match the project you have configured in the Push Notification dashboard.
Declaration
public string AndroidApplicationId
Field Value
| Type | Description |
|---|---|
| String |
AndroidProjectId
The Firebase project ID for the project to use for Firebase Cloud Messaging. This should match the project you have configured in the Push Notification dashboard.
Declaration
public string AndroidProjectId
Field Value
| Type | Description |
|---|---|
| String |
AndroidSenderId
The Firebase sender ID for the project to use for Firebase Cloud Messaging. This should match the project you have configured in the Push Notification dashboard.
Declaration
public string AndroidSenderId
Field Value
| Type | Description |
|---|---|
| String |