Skip to content

Commit 4089855

Browse files
authored
Merge pull request #13 from VirtueSky/dev
Dev
2 parents 4f26072 + 1eab95d commit 4089855

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
### 1: Download the repo and drop it into folder `Assets`
2424
### 2: Add the line below to `Packages/manifest.json`
2525

26-
for version `2.9.7`
26+
for version `2.9.8`
2727
```csharp
28-
"com.virtuesky.sunflower":"https://github.com/VirtueSky/sunflower.git#2.9.7",
28+
"com.virtuesky.sunflower":"https://github.com/VirtueSky/sunflower.git#2.9.8",
2929
```
3030

3131
## Includes modules

VirtueSky/ControlPanel/ConstantPackage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
public class ConstantPackage
44
{
5-
public const string VersionSunflower = "2.9.7";
5+
public const string VersionSunflower = "2.9.8";
66
public const string PackageNameInAppPurchase = "com.unity.purchasing";
77
public const string MaxVersionInAppPurchase = "4.12.2";
88
public const string PackageNameNewtonsoftJson = "com.unity.nuget.newtonsoft-json";

VirtueSky/Notifications/Runtime/NotificationIOS.cs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Collections.Generic;
44
using Unity.Notifications.iOS;
55
using UnityEngine;
6-
using VirtueSky.Threading.Tasks;
6+
using Cysharp.Threading.Tasks;
77

88
namespace VirtueSky.Notifications
99
{
@@ -23,7 +23,8 @@ internal static async UniTask RequestAuthorization()
2323
}
2424
}
2525

26-
private static async UniTask RegisterNotificationChannel(string identifier, string title, string subtitle, string body, iOSNotificationTrigger trigger)
26+
private static async UniTask RegisterNotificationChannel(string identifier, string title, string subtitle,
27+
string body, iOSNotificationTrigger trigger)
2728
{
2829
await RequestAuthorization();
2930

@@ -42,7 +43,8 @@ private static async UniTask RegisterNotificationChannel(string identifier, stri
4243
Body = body,
4344
Subtitle = subtitle,
4445
ShowInForeground = true,
45-
ForegroundPresentationOption = (PresentationOption.Alert | PresentationOption.Badge | PresentationOption.Sound),
46+
ForegroundPresentationOption =
47+
(PresentationOption.Alert | PresentationOption.Badge | PresentationOption.Sound),
4648
CategoryIdentifier = "category_a",
4749
ThreadIdentifier = "thread1",
4850
Trigger = trigger,
@@ -60,7 +62,8 @@ private static async UniTask RegisterNotificationChannel(string identifier, stri
6062
}
6163
}
6264

63-
internal static void Schedule(string identifier, string title, string subtitle, string text, TimeSpan fireTime, bool repeat)
65+
internal static void Schedule(string identifier, string title, string subtitle, string text, TimeSpan fireTime,
66+
bool repeat)
6467
{
6568
var interval = fireTime;
6669
if (interval <= TimeSpan.Zero) interval = TimeSpan.FromSeconds(1);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "com.virtuesky.sunflower",
33
"displayName": "Sunflower",
44
"description": "Core ScriptableObject Architecture for building Unity games",
5-
"version": "2.9.7",
5+
"version": "2.9.8",
66
"unity": "2022.3",
77
"category": "virtuesky",
88
"license": "MIT",

0 commit comments

Comments
 (0)