Skip to content

Commit

Permalink
Merge pull request #636 from OneSignal/release/5.0.2
Browse files Browse the repository at this point in the history
Release 5.0.2
  • Loading branch information
shepherd-l authored Sep 1, 2023
2 parents 64ebca3 + e207a4d commit a2339d4
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 13 deletions.
4 changes: 3 additions & 1 deletion OneSignalExample/Assets/OneSignal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion OneSignalExample/Assets/OneSignal/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.1
5.0.2
4 changes: 2 additions & 2 deletions OneSignalExample/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion OneSignalExample/ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions com.onesignal.unity.android/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion com.onesignal.unity.core/Runtime/OneSignal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace OneSignalSDK {
/// OneSignal SDK for Unity
/// </summary>
public static partial class OneSignal {
public const string Version = "5.0.1";
public const string Version = "5.0.2";

/// <summary>
/// The default static instance of the OneSignal Unity SDK
Expand Down
2 changes: 1 addition & 1 deletion com.onesignal.unity.core/Runtime/OneSignalPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

namespace OneSignalSDK {
public abstract class OneSignalPlatform {
public const string VersionHeader = "050001";
public const string VersionHeader = "050002";

internal static event Action<string> OnInitialize;

Expand Down
2 changes: 1 addition & 1 deletion com.onesignal.unity.core/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ - (void)setOneSignalUnityDelegate:(id <UIApplicationDelegate>)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:)])
Expand Down
4 changes: 2 additions & 2 deletions com.onesignal.unity.ios/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit a2339d4

Please sign in to comment.