Skip to content

Commit 474566b

Browse files
committed
Add sound type support in test project
1 parent 4607c1a commit 474566b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

TestProjects/Main/Assets/Scripts/ScriptableObjects/iOSNotificationTemplateTimeTrigger.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public class iOSNotificationTemplateTimeTrigger : ScriptableObject
3636
[Header("Time Trigger")]
3737
public Int32 TimeTriggerInterval;
3838
public bool Repeats = false;
39+
public NotificationSoundType SoundType;
3940

4041
[Serializable]
4142
public struct UserDataItem

TestProjects/Main/Assets/Scripts/iOSTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ private void InstantiateAllTestButtons()
226226
ForegroundPresentationOption = template.PresentationOptions,
227227
Badge = template.Badge,
228228
Data = template.Data,
229+
SoundType = template.SoundType,
229230
Trigger = new iOSNotificationTimeIntervalTrigger()
230231
{
231232
TimeInterval = TimeSpan.FromSeconds(template.TimeTriggerInterval),

0 commit comments

Comments
 (0)