Skip to content

Commit

Permalink
Merge pull request #701 from OneSignal/release/5.1.0
Browse files Browse the repository at this point in the history
Release/5.1.0
  • Loading branch information
jinliu9508 committed Mar 1, 2024
2 parents e8cd703 + 0cbace2 commit f6a5168
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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.0.5",
"expression": "5.1.0",
"define": "ONE_SIGNAL_INSTALLED"
}
],
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.0.5",
"expression": "5.1.0",
"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.0.5",
"expression": "5.1.0",
"define": "ONE_SIGNAL_INSTALLED"
}
],
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 = "050006";
public const string VersionHeader = "050100";

internal static event Action<string> OnInitialize;

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:@"050006"];
[OneSignalWrapper setSdkVersion:@"050100"];
[OneSignal initialize:nil withLaunchOptions:launchOptions];

if ([self respondsToSelector:@selector(oneSignalApplication:didFinishLaunchingWithOptions:)])
Expand Down

0 comments on commit f6a5168

Please sign in to comment.