Skip to content

Commit dd4c212

Browse files
authored
Merge pull request #191 from Unity-Technologies/ios/authorisation-status-update
Add missing authorisation statuses
2 parents 2653cec + eda0f8a commit dd4c212

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

com.unity.mobile.notifications/Runtime/iOS/iOSNotificationSettings.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,19 @@ public enum AuthorizationStatus
1414
/// <summary>
1515
/// The application is not authorized to post notifications.
1616
/// </summary>
17-
Denied,
17+
Denied = 1,
1818
/// <summary>
1919
/// The application is authorized to post notifications.
2020
/// </summary>
21-
Authorized
21+
Authorized = 2,
22+
/// <summary>
23+
/// The application is authorized to post non-interruptive user notifications.
24+
/// </summary>
25+
Provisional = 3,
26+
/// <summary>
27+
/// The application is temporarily authorized to post notifications. Only available to app clips.
28+
/// </summary>
29+
Ephemeral = 4,
2230
}
2331

2432
/// <summary>

0 commit comments

Comments
 (0)