Skip to content

Commit 7d4beac

Browse files
committed
Actually use the flag when sending notification
1 parent 7038aa5 commit 7d4beac

File tree

1 file changed

+2
-1
lines changed
  • TestProjects/com.unity.mobile-notifications-sample/Assets/Scripts

1 file changed

+2
-1
lines changed

TestProjects/com.unity.mobile-notifications-sample/Assets/Scripts/AndroidTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ private void InstantiateAllTestButtons()
146146
SortKey = template.SortKey,
147147
IntentData = template.IntentData,
148148
ShowTimestamp = template.ShowTimestamp,
149-
RepeatInterval = TimeSpan.FromSeconds(template.RepeatInterval)
149+
RepeatInterval = TimeSpan.FromSeconds(template.RepeatInterval),
150+
ShowInForeground = template.ShowInForeground,
150151
},
151152
template.Channel, template.NotificationID
152153
);

0 commit comments

Comments
 (0)