Class NotificationSettings.iOSSettings
Class used to access iOS-specific notification settings.
Inherited Members
Namespace: Unity.Notifications
Assembly: solution.dll
Syntax
public static class NotificationSettings.iOSSettings
Properties
| Name | Description |
|---|---|
| AddRemoteNotificationCapability | Enable this to add the push notification capability to you Xcode project. |
| AddTimeSensitiveEntitlement | Add entitlement to enable notifications with time-sensitive interruption level. |
| DefaultAuthorizationOptions | Configure the notification interaction types your app will include in the authorisation request if RequestAuthorizationOnAppLaunch is enabled. Alternatively you can specify them when creating a |
| NotificationRequestAuthorizationForRemoteNotificationsOnAppLaunch | If this is enabled the app will automatically register your app with APNs after the launch which would enable it to receive remote notifications. You’ll have to manually create a AuthorizationRequest to get the device token. |
| RemoteNotificationForegroundPresentationOptions | The default presentation options for received remote notifications. In order for the specified presentation options to be used your app must had received the authorization to use them (the user might change it at any time). |
| RequestAuthorizationOnAppLaunch | It's recommended to make the authorization request during the app's launch cycle. If this is enabled the user will be shown the authorization pop-up immediately when the app launches. If it’s unchecked you’ll need to manually create an AuthorizationRequest before your app can send or receive notifications. |
| UseAPSReleaseEnvironment | Enable this when signing the app with a production certificate. |
| UseLocationNotificationTrigger | If you intend to use the iOSNotificationLocationTrigger in your notifications you must include the CoreLocation framework in your project. |