Skip to content

Commit

Permalink
Merge pull request #709 from OneSignal/release/5.1.1
Browse files Browse the repository at this point in the history
Release 5.1.1
  • Loading branch information
jinliu9508 authored Mar 9, 2024
2 parents 979b700 + 48d3cf8 commit 6b1216d
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"versionDefines": [
{
"name": "com.onesignal.unity.core",
"expression": "5.1.0",
"expression": "5.1.1",
"define": "ONE_SIGNAL_INSTALLED"
}
],
Expand Down
8 changes: 7 additions & 1 deletion OneSignalExample/Assets/OneSignal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ 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.1.1]
### Changed
- Updated included Android SDK to [5.1.6](https://github.com/OneSignal/OneSignal-Android-SDK/releases/tag/5.1.6)
- Updated included iOS SDK to [5.1.3](https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/5.1.3)

## [5.1.0]
### Fixed
- iOS crash when calling OneSignal.User.PushSubscription.Id and OneSignal.User.PushSubscription.Token when they are null.
Expand Down Expand Up @@ -286,7 +291,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.1.0...HEAD
[Unreleased]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.1.1...HEAD
[5.1.1]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.1.0...5.1.1
[5.1.0]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.6...5.1.0
[5.0.6]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.5...5.0.6
[5.0.5]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.4...5.0.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"versionDefines": [
{
"name": "com.onesignal.unity.core",
"expression": "5.1.0",
"expression": "5.1.1",
"define": "ONE_SIGNAL_INSTALLED"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"versionDefines": [
{
"name": "com.onesignal.unity.core",
"expression": "5.1.0",
"expression": "5.1.1",
"define": "ONE_SIGNAL_INSTALLED"
}
],
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.1.0
5.1.1
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.1.0"
"com.onesignal.unity.core": "5.1.1"
}
},
"com.onesignal.unity.core": {
Expand All @@ -19,7 +19,7 @@
"depth": 0,
"source": "local",
"dependencies": {
"com.onesignal.unity.core": "5.1.0"
"com.onesignal.unity.core": "5.1.1"
}
},
"com.unity.ai.navigation": {
Expand Down
2 changes: 1 addition & 1 deletion OneSignalExample/ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ PlayerSettings:
vulkanEnableLateAcquireNextImage: 0
vulkanEnableCommandBufferRecycling: 1
loadStoreDebugModeEnabled: 0
bundleVersion: 5.1.0
bundleVersion: 5.1.1
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.1.0",
"version": "5.1.1",
"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.1.0"
"com.onesignal.unity.core": "5.1.1"
},
"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.1.0";
public const string Version = "5.1.1";

/// <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 = "050100";
public const string VersionHeader = "050101";

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.1.0",
"version": "5.1.1",
"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 @@ -95,7 +95,7 @@ - (void)setOneSignalUnityDelegate:(id <UIApplicationDelegate>)delegate {

- (BOOL)oneSignalApplication:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[OneSignalWrapper setSdkType:@"unity"];
[OneSignalWrapper setSdkVersion:@"050100"];
[OneSignalWrapper setSdkVersion:@"050101"];
[OneSignal initialize:nil withLaunchOptions: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.1.0",
"version": "5.1.1",
"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.1.0"
"com.onesignal.unity.core": "5.1.1"
},
"keywords": [
"push-notifications",
Expand Down

0 comments on commit 6b1216d

Please sign in to comment.