Skip to content

Commit fd2b8b0

Browse files
shepherd-ljinliu9508
authored andcommitted
Merge pull request #653 from OneSignal/release/5.0.4
Release 5.0.4
2 parents bce2df4 + d442478 commit fd2b8b0

File tree

10 files changed

+30
-61
lines changed

10 files changed

+30
-61
lines changed

OneSignalExample/Assets/OneSignal/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
## [5.0.4]
89
### Changed
910
- Updated included Android SDK to [5.0.3](https://github.com/OneSignal/OneSignal-Android-SDK/releases/tag/5.0.3)
1011

@@ -252,7 +253,8 @@ If you run into any problems, please don’t hesitate to [open an issue](https:/
252253
- If you are updating from a previous version of the OneSignal Unity SDK please follow the Unity Asset Store instructions in
253254
the [README](https://github.com/OneSignal/OneSignal-Unity-SDK/README.md#unity-asset-store) to ensure a smooth transition.
254255

255-
[Unreleased]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.3...HEAD
256+
[Unreleased]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.4...HEAD
257+
[5.0.4]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.3...5.0.4
256258
[5.0.3]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.2...5.0.3
257259
[5.0.2]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.1...5.0.2
258260
[5.0.1]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/5.0.0...5.0.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.3
1+
5.0.4

OneSignalExample/Packages/packages-lock.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"depth": 0,
66
"source": "local",
77
"dependencies": {
8-
"com.onesignal.unity.core": "5.0.3"
8+
"com.onesignal.unity.core": "5.0.4"
99
}
1010
},
1111
"com.onesignal.unity.core": {
@@ -19,7 +19,7 @@
1919
"depth": 0,
2020
"source": "local",
2121
"dependencies": {
22-
"com.onesignal.unity.core": "5.0.3"
22+
"com.onesignal.unity.core": "5.0.4"
2323
}
2424
},
2525
"com.unity.ext.nunit": {

OneSignalExample/ProjectSettings/ProjectSettings.asset

Lines changed: 16 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--- !u!129 &1
44
PlayerSettings:
55
m_ObjectHideFlags: 0
6-
serializedVersion: 26
6+
serializedVersion: 23
77
productGUID: 7d6b2d203c60927499aa292c96ccec42
88
AndroidProfiler: 0
99
AndroidFilterTouchesWhenObscured: 0
@@ -48,15 +48,14 @@ PlayerSettings:
4848
defaultScreenHeightWeb: 600
4949
m_StereoRenderingPath: 0
5050
m_ActiveColorSpace: 0
51-
m_SpriteBatchVertexThreshold: 300
5251
m_MTRendering: 1
5352
mipStripping: 0
5453
numberOfMipsStripped: 0
55-
numberOfMipsStrippedPerMipmapLimitGroup: {}
5654
m_StackTraceTypes: 010000000100000001000000010000000100000001000000
5755
iosShowActivityIndicatorOnLoading: -1
5856
androidShowActivityIndicatorOnLoading: -1
5957
iosUseCustomAppBackgroundBehavior: 0
58+
iosAllowHTTPDownload: 1
6059
allowedAutorotateToPortrait: 1
6160
allowedAutorotateToPortraitUpsideDown: 1
6261
allowedAutorotateToLandscapeRight: 1
@@ -86,7 +85,6 @@ PlayerSettings:
8685
hideHomeButton: 0
8786
submitAnalytics: 1
8887
usePlayerLog: 1
89-
dedicatedServerOptimizations: 0
9088
bakeCollisionMeshes: 0
9189
forceSingleInstance: 0
9290
useFlipModelSwapchain: 1
@@ -121,21 +119,22 @@ PlayerSettings:
121119
switchNVNShaderPoolsGranularity: 33554432
122120
switchNVNDefaultPoolsGranularity: 16777216
123121
switchNVNOtherPoolsGranularity: 16777216
124-
switchGpuScratchPoolGranularity: 2097152
125-
switchAllowGpuScratchShrinking: 0
126122
switchNVNMaxPublicTextureIDCount: 0
127123
switchNVNMaxPublicSamplerIDCount: 0
128-
switchNVNGraphicsFirmwareMemory: 32
129-
switchMaxWorkerMultiple: 8
130124
stadiaPresentMode: 0
131125
stadiaTargetFramerate: 0
132126
vulkanNumSwapchainBuffers: 3
133127
vulkanEnableSetSRGBWrite: 0
134128
vulkanEnablePreTransform: 0
135129
vulkanEnableLateAcquireNextImage: 0
136130
vulkanEnableCommandBufferRecycling: 1
137-
loadStoreDebugModeEnabled: 0
138-
bundleVersion: 5.0.3
131+
m_SupportedAspectRatios:
132+
4:3: 1
133+
5:4: 1
134+
16:10: 1
135+
16:9: 1
136+
Others: 1
137+
bundleVersion: 5.0.4
139138
preloadedAssets: []
140139
metroInputSource: 0
141140
wsaTransparentSwapchain: 0
@@ -146,13 +145,11 @@ PlayerSettings:
146145
enable360StereoCapture: 0
147146
isWsaHolographicRemotingEnabled: 0
148147
enableFrameTimingStats: 0
149-
enableOpenGLProfilerGPURecorders: 1
150148
useHDRDisplay: 0
151-
hdrBitDepth: 0
149+
D3DHDRBitDepth: 0
152150
m_ColorGamuts: 00000000
153151
targetPixelDensity: 30
154152
resolutionScalingMode: 0
155-
resetResolutionOnWindowResize: 0
156153
androidSupportedAspectRatio: 1
157154
androidMaxAspectRatio: 2.1
158155
applicationIdentifier:
@@ -178,15 +175,12 @@ PlayerSettings:
178175
APKExpansionFiles: 0
179176
keepLoadedShadersAlive: 0
180177
StripUnusedMeshComponents: 0
181-
strictShaderVariantMatching: 0
182178
VertexChannelCompressionMask: 4054
183179
iPhoneSdkVersion: 988
184180
iOSTargetOSVersionString: 12.0
185181
tvOSSdkVersion: 0
186182
tvOSRequireExtendedGameController: 0
187183
tvOSTargetOSVersionString: 12.0
188-
VisionOSSdkVersion: 0
189-
VisionOSTargetOSVersionString: 1.0
190184
uIPrerenderedIcon: 0
191185
uIRequiresPersistentWiFi: 0
192186
uIRequiresFullScreen: 1
@@ -234,10 +228,8 @@ PlayerSettings:
234228
appleDeveloperTeamID:
235229
iOSManualSigningProvisioningProfileID:
236230
tvOSManualSigningProvisioningProfileID:
237-
VisionOSManualSigningProvisioningProfileID:
238231
iOSManualSigningProvisioningProfileType: 0
239232
tvOSManualSigningProvisioningProfileType: 0
240-
VisionOSManualSigningProvisioningProfileType: 0
241233
appleEnableAutomaticSigning: 0
242234
iOSRequireARKit: 0
243235
iOSAutomaticallyDetectAndAddCapabilities: 1
@@ -252,15 +244,13 @@ PlayerSettings:
252244
useCustomLauncherGradleManifest: 0
253245
useCustomBaseGradleTemplate: 0
254246
useCustomGradlePropertiesTemplate: 1
255-
useCustomGradleSettingsTemplate: 0
256247
useCustomProguardFile: 0
257248
AndroidTargetArchitectures: 3
258249
AndroidTargetDevices: 0
259250
AndroidSplashScreenScale: 0
260251
androidSplashScreen: {fileID: 0}
261252
AndroidKeystoreName:
262253
AndroidKeyaliasName:
263-
AndroidEnableArmv9SecurityFeatures: 0
264254
AndroidBuildApkPerCpuArchitecture: 0
265255
AndroidTVCompatibility: 0
266256
AndroidIsGame: 1
@@ -274,6 +264,7 @@ PlayerSettings:
274264
banner: {fileID: 0}
275265
androidGamepadSupportLevel: 0
276266
chromeosInputEmulation: 1
267+
AndroidMinifyWithR8: 0
277268
AndroidMinifyRelease: 0
278269
AndroidMinifyDebug: 0
279270
AndroidValidateAppBundleSize: 1
@@ -470,16 +461,13 @@ PlayerSettings:
470461
m_Kind: 4
471462
m_SubKind: App Store
472463
m_BuildTargetBatching: []
473-
m_BuildTargetShaderSettings: []
474464
m_BuildTargetGraphicsJobs: []
475465
m_BuildTargetGraphicsJobMode: []
476466
m_BuildTargetGraphicsAPIs:
477467
- m_BuildTarget: AndroidPlayer
478468
m_APIs: 0b00000008000000
479469
m_Automatic: 0
480470
m_BuildTargetVRSettings: []
481-
m_DefaultShaderChunkSizeInMB: 16
482-
m_DefaultShaderChunkCount: 0
483471
openGLRequireES31: 0
484472
openGLRequireES31AEP: 0
485473
openGLRequireES32: 0
@@ -489,9 +477,7 @@ PlayerSettings:
489477
iPhone: 1
490478
tvOS: 1
491479
m_BuildTargetGroupLightmapEncodingQuality: []
492-
m_BuildTargetGroupHDRCubemapEncodingQuality: []
493480
m_BuildTargetGroupLightmapSettings: []
494-
m_BuildTargetGroupLoadStoreDebugModeSettings: []
495481
m_BuildTargetNormalMapEncoding: []
496482
m_BuildTargetDefaultTextureCompressionFormat: []
497483
playModeTestRunnerEnabled: 0
@@ -504,20 +490,17 @@ PlayerSettings:
504490
locationUsageDescription:
505491
microphoneUsageDescription:
506492
bluetoothUsageDescription:
507-
macOSTargetOSVersion: 10.13.0
508493
switchNMETAOverride:
509494
switchNetLibKey:
510495
switchSocketMemoryPoolSize: 6144
511496
switchSocketAllocatorPoolSize: 128
512497
switchSocketConcurrencyLimit: 14
513498
switchScreenResolutionBehavior: 2
514499
switchUseCPUProfiler: 0
515-
switchEnableFileSystemTrace: 0
516500
switchUseGOLDLinker: 0
517501
switchLTOSetting: 0
518502
switchApplicationID: 0x01004b9000490000
519503
switchNSODependencies:
520-
switchCompilerFlags:
521504
switchTitleNames_0:
522505
switchTitleNames_1:
523506
switchTitleNames_2:
@@ -591,6 +574,7 @@ PlayerSettings:
591574
switchReleaseVersion: 0
592575
switchDisplayVersion: 1.0.0
593576
switchStartupUserAccount: 0
577+
switchTouchScreenUsage: 0
594578
switchSupportedLanguagesMask: 0
595579
switchLogoType: 0
596580
switchApplicationErrorCodeCategory:
@@ -632,7 +616,6 @@ PlayerSettings:
632616
switchNativeFsCacheSize: 32
633617
switchIsHoldTypeHorizontal: 0
634618
switchSupportedNpadCount: 8
635-
switchEnableTouchScreen: 1
636619
switchSocketConfigEnabled: 0
637620
switchTcpInitialSendBufferSize: 32
638621
switchTcpInitialReceiveBufferSize: 64
@@ -645,7 +628,6 @@ PlayerSettings:
645628
switchNetworkInterfaceManagerInitializeEnabled: 1
646629
switchPlayerConnectionEnabled: 1
647630
switchUseNewStyleFilepaths: 0
648-
switchUseLegacyFmodPriorities: 1
649631
switchUseMicroSleepForYield: 1
650632
switchEnableRamDiskSupport: 0
651633
switchMicroSleepForYieldTime: 25
@@ -720,7 +702,6 @@ PlayerSettings:
720702
ps4videoRecordingFeaturesUsed: 0
721703
ps4contentSearchFeaturesUsed: 0
722704
ps4CompatibilityPS5: 0
723-
ps4AllowPS5Detection: 0
724705
ps4GPU800MHz: 1
725706
ps4attribEyeToEyeDistanceSettingVR: 0
726707
ps4IncludedModules: []
@@ -733,7 +714,6 @@ PlayerSettings:
733714
webGLMemorySize: 32
734715
webGLExceptionSupport: 1
735716
webGLNameFilesAsHashes: 0
736-
webGLShowDiagnostics: 0
737717
webGLDataCaching: 1
738718
webGLDebugSymbols: 0
739719
webGLEmscriptenArgs:
@@ -746,13 +726,6 @@ PlayerSettings:
746726
webGLLinkerTarget: 1
747727
webGLThreadsSupport: 0
748728
webGLDecompressionFallback: 0
749-
webGLInitialMemorySize: 32
750-
webGLMaximumMemorySize: 2048
751-
webGLMemoryGrowthMode: 2
752-
webGLMemoryLinearGrowthStep: 16
753-
webGLMemoryGeometricGrowthStep: 0.2
754-
webGLMemoryGeometricGrowthCap: 96
755-
webGLPowerPreference: 2
756729
scriptingDefineSymbols:
757730
0: IS_ONESIGNAL_EXAMPLE_APP
758731
additionalCompilerArguments: {}
@@ -761,7 +734,6 @@ PlayerSettings:
761734
Android: 1
762735
Standalone: 1
763736
il2cppCompilerConfiguration: {}
764-
il2cppCodeGeneration: {}
765737
managedStrippingLevel:
766738
Android: 1
767739
EmbeddedLinux: 1
@@ -783,9 +755,11 @@ PlayerSettings:
783755
suppressCommonWarnings: 1
784756
allowUnsafeCode: 0
785757
useDeterministicCompilation: 1
758+
enableRoslynAnalyzers: 1
786759
additionalIl2CppArgs:
787760
scriptingRuntimeVersion: 1
788761
gcIncremental: 1
762+
assemblyVersionValidation: 1
789763
gcWBarrierValidation: 0
790764
apiCompatibilityLevelPerPlatform:
791765
Android: 3
@@ -867,22 +841,15 @@ PlayerSettings:
867841
luminVersion:
868842
m_VersionCode: 1
869843
m_VersionName:
870-
hmiPlayerDataPath:
871-
hmiForceSRGBBlit: 1
872-
embeddedLinuxEnableGamepadInput: 1
873-
hmiLogStartupTiming: 0
874-
hmiCpuConfiguration:
875844
apiCompatibilityLevel: 6
876845
activeInputHandler: 0
877-
windowsGamepadBackendHint: 0
878846
cloudProjectId:
879847
framebufferDepthMemorylessMode: 0
880848
qualitySettingsNames: []
881849
projectName:
882850
organizationId:
883851
cloudEnabled: 0
884852
legacyClampBlendShapeWeights: 0
885-
hmiLoadingImage: {fileID: 0}
886-
platformRequiresReadableAssets: 0
853+
playerDataPath:
854+
forceSRGBBlit: 1
887855
virtualTexturingSupportEnabled: 0
888-
insecureHttpOption: 0

com.onesignal.unity.android/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "com.onesignal.unity.android",
33
"displayName": "OneSignal Unity SDK - Android",
4-
"version": "5.0.3",
4+
"version": "5.0.4",
55
"unity": "2018.4",
66
"description": "OneSignal is the market leader in customer engagement, powering mobile push, web push, email, and in-app messages.",
77
"dependencies": {
8-
"com.onesignal.unity.core": "5.0.3"
8+
"com.onesignal.unity.core": "5.0.4"
99
},
1010
"keywords": [
1111
"push-notifications",

com.onesignal.unity.core/Runtime/OneSignal.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace OneSignalSDK {
4040
/// OneSignal SDK for Unity
4141
/// </summary>
4242
public static partial class OneSignal {
43-
public const string Version = "5.0.3";
43+
public const string Version = "5.0.4";
4444

4545
/// <summary>
4646
/// The default static instance of the OneSignal Unity SDK

com.onesignal.unity.core/Runtime/OneSignalPlatform.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
namespace OneSignalSDK {
4040
public abstract class OneSignalPlatform {
41-
public const string VersionHeader = "050003";
41+
public const string VersionHeader = "050004";
4242

4343
internal static event Action<string> OnInitialize;
4444

com.onesignal.unity.core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.onesignal.unity.core",
33
"displayName": "OneSignal Unity SDK - Core",
4-
"version": "5.0.3",
4+
"version": "5.0.4",
55
"unity": "2018.4",
66
"description": "OneSignal is the market leader in customer engagement, powering mobile push, web push, email, and in-app messages.",
77
"dependencies": {

com.onesignal.unity.ios/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ - (void)setOneSignalUnityDelegate:(id <UIApplicationDelegate>)delegate {
9696

9797
- (BOOL)oneSignalApplication:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
9898
[OneSignalWrapper setSdkType:@"unity"];
99-
[OneSignalWrapper setSdkVersion:@"050003"];
99+
[OneSignalWrapper setSdkVersion:@"050004"];
100100
[OneSignal initialize:nil withLaunchOptions:launchOptions];
101101

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

com.onesignal.unity.ios/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "com.onesignal.unity.ios",
33
"displayName": "OneSignal Unity SDK - iOS",
4-
"version": "5.0.3",
4+
"version": "5.0.4",
55
"unity": "2018.4",
66
"description": "OneSignal is the market leader in customer engagement, powering mobile push, web push, email, and in-app messages.",
77
"dependencies": {
8-
"com.onesignal.unity.core": "5.0.3"
8+
"com.onesignal.unity.core": "5.0.4"
99
},
1010
"keywords": [
1111
"push-notifications",

0 commit comments

Comments
 (0)