From 17ffb465e4d2a284fb7a7e29b7a2894031b989be Mon Sep 17 00:00:00 2001 From: Shepherd Date: Wed, 30 Aug 2023 15:32:36 -0400 Subject: [PATCH 1/2] Bumped version to 5.0.2 --- OneSignalExample/Assets/OneSignal/CHANGELOG.md | 4 +++- OneSignalExample/Assets/OneSignal/VERSION | 2 +- OneSignalExample/ProjectSettings/ProjectSettings.asset | 2 +- com.onesignal.unity.android/package.json | 4 ++-- com.onesignal.unity.core/package.json | 2 +- com.onesignal.unity.ios/package.json | 4 ++-- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/OneSignalExample/Assets/OneSignal/CHANGELOG.md b/OneSignalExample/Assets/OneSignal/CHANGELOG.md index 1be7a9ced..78328e11a 100644 --- a/OneSignalExample/Assets/OneSignal/CHANGELOG.md +++ b/OneSignalExample/Assets/OneSignal/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [5.0.2] ### Fixed - Stop foreground notifications from displaying after calling prevent default on iOS @@ -236,7 +237,8 @@ If you run into any problems, please don’t hesitate to [open an issue](https:/ - If you are updating from a previous version of the OneSignal Unity SDK please follow the Unity Asset Store instructions in the [README](https://github.com/OneSignal/OneSignal-Unity-SDK/README.md#unity-asset-store) to ensure a smooth transition. -[Unreleased]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.1...HEAD +[Unreleased]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.2...HEAD +[5.0.2]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.1...5.0.2 [5.0.1]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.0...5.0.1 [5.0.0]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.0-beta.3...5.0.0 [5.0.0-beta.3]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.0-beta.2...5.0.0-beta.3 diff --git a/OneSignalExample/Assets/OneSignal/VERSION b/OneSignalExample/Assets/OneSignal/VERSION index 32f3eaad0..3e827a3a1 100755 --- a/OneSignalExample/Assets/OneSignal/VERSION +++ b/OneSignalExample/Assets/OneSignal/VERSION @@ -1 +1 @@ -5.0.1 \ No newline at end of file +5.0.2 \ No newline at end of file diff --git a/OneSignalExample/ProjectSettings/ProjectSettings.asset b/OneSignalExample/ProjectSettings/ProjectSettings.asset index f6c838006..d70a81423 100644 --- a/OneSignalExample/ProjectSettings/ProjectSettings.asset +++ b/OneSignalExample/ProjectSettings/ProjectSettings.asset @@ -134,7 +134,7 @@ PlayerSettings: 16:10: 1 16:9: 1 Others: 1 - bundleVersion: 5.0.1 + bundleVersion: 5.0.2 preloadedAssets: [] metroInputSource: 0 wsaTransparentSwapchain: 0 diff --git a/com.onesignal.unity.android/package.json b/com.onesignal.unity.android/package.json index 50881ed6d..c72d1794f 100644 --- a/com.onesignal.unity.android/package.json +++ b/com.onesignal.unity.android/package.json @@ -1,11 +1,11 @@ { "name": "com.onesignal.unity.android", "displayName": "OneSignal Unity SDK - Android", - "version": "5.0.1", + "version": "5.0.2", "unity": "2018.4", "description": "OneSignal is the market leader in customer engagement, powering mobile push, web push, email, and in-app messages.", "dependencies": { - "com.onesignal.unity.core": "5.0.1" + "com.onesignal.unity.core": "5.0.2" }, "keywords": [ "push-notifications", diff --git a/com.onesignal.unity.core/package.json b/com.onesignal.unity.core/package.json index 248d4df98..23696be70 100644 --- a/com.onesignal.unity.core/package.json +++ b/com.onesignal.unity.core/package.json @@ -1,7 +1,7 @@ { "name": "com.onesignal.unity.core", "displayName": "OneSignal Unity SDK - Core", - "version": "5.0.1", + "version": "5.0.2", "unity": "2018.4", "description": "OneSignal is the market leader in customer engagement, powering mobile push, web push, email, and in-app messages.", "dependencies": { diff --git a/com.onesignal.unity.ios/package.json b/com.onesignal.unity.ios/package.json index bff4e3a72..d2aaf00a5 100644 --- a/com.onesignal.unity.ios/package.json +++ b/com.onesignal.unity.ios/package.json @@ -1,11 +1,11 @@ { "name": "com.onesignal.unity.ios", "displayName": "OneSignal Unity SDK - iOS", - "version": "5.0.1", + "version": "5.0.2", "unity": "2018.4", "description": "OneSignal is the market leader in customer engagement, powering mobile push, web push, email, and in-app messages.", "dependencies": { - "com.onesignal.unity.core": "5.0.1" + "com.onesignal.unity.core": "5.0.2" }, "keywords": [ "push-notifications", From e207a4d8af4f70b8fcddf82ca5d62fad299a6de6 Mon Sep 17 00:00:00 2001 From: Shepherd Date: Wed, 30 Aug 2023 15:38:45 -0400 Subject: [PATCH 2/2] Bump version numbers to 5.0.2 --- OneSignalExample/Packages/packages-lock.json | 4 ++-- com.onesignal.unity.core/Runtime/OneSignal.cs | 2 +- com.onesignal.unity.core/Runtime/OneSignalPlatform.cs | 2 +- .../Runtime/Plugins/iOS/UIApplication+OneSignalUnity.mm | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OneSignalExample/Packages/packages-lock.json b/OneSignalExample/Packages/packages-lock.json index 44ccb8cb1..0a106e542 100644 --- a/OneSignalExample/Packages/packages-lock.json +++ b/OneSignalExample/Packages/packages-lock.json @@ -5,7 +5,7 @@ "depth": 0, "source": "local", "dependencies": { - "com.onesignal.unity.core": "5.0.1" + "com.onesignal.unity.core": "5.0.2" } }, "com.onesignal.unity.core": { @@ -19,7 +19,7 @@ "depth": 0, "source": "local", "dependencies": { - "com.onesignal.unity.core": "5.0.1" + "com.onesignal.unity.core": "5.0.2" } }, "com.unity.ext.nunit": { diff --git a/com.onesignal.unity.core/Runtime/OneSignal.cs b/com.onesignal.unity.core/Runtime/OneSignal.cs index b59619552..94a75ffde 100755 --- a/com.onesignal.unity.core/Runtime/OneSignal.cs +++ b/com.onesignal.unity.core/Runtime/OneSignal.cs @@ -40,7 +40,7 @@ namespace OneSignalSDK { /// OneSignal SDK for Unity /// public static partial class OneSignal { - public const string Version = "5.0.1"; + public const string Version = "5.0.2"; /// /// The default static instance of the OneSignal Unity SDK diff --git a/com.onesignal.unity.core/Runtime/OneSignalPlatform.cs b/com.onesignal.unity.core/Runtime/OneSignalPlatform.cs index 405e58302..ff91532e5 100644 --- a/com.onesignal.unity.core/Runtime/OneSignalPlatform.cs +++ b/com.onesignal.unity.core/Runtime/OneSignalPlatform.cs @@ -38,7 +38,7 @@ namespace OneSignalSDK { public abstract class OneSignalPlatform { - public const string VersionHeader = "050001"; + public const string VersionHeader = "050002"; internal static event Action OnInitialize; diff --git a/com.onesignal.unity.ios/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.mm b/com.onesignal.unity.ios/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.mm index 77ea1c4d4..09031a521 100644 --- a/com.onesignal.unity.ios/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.mm +++ b/com.onesignal.unity.ios/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.mm @@ -96,7 +96,7 @@ - (void)setOneSignalUnityDelegate:(id )delegate { - (BOOL)oneSignalApplication:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [OneSignalWrapper setSdkType:@"unity"]; - [OneSignalWrapper setSdkVersion:@"050001"]; + [OneSignalWrapper setSdkVersion:@"050002"]; [OneSignal setLaunchOptions:launchOptions]; if ([self respondsToSelector:@selector(oneSignalApplication:didFinishLaunchingWithOptions:)])