Skip to content

Commit c000545

Browse files
authored
Merge pull request #557 from OneSignal/release/3.0.6
Release 3.0.6
2 parents 7a6a164 + 49942ef commit c000545

File tree

10 files changed

+27
-16
lines changed

10 files changed

+27
-16
lines changed

OneSignalExample/Assets/OneSignal/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ 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+
## [3.0.6]
9+
### Fixed
10+
- Android builds failing without the Unity iOS module
11+
- Fixed app group name to be a property. Fixes [#545](https://github.com/OneSignal/OneSignal-Unity-SDK/issues/545)
12+
813
## [3.0.5]
914
### Changed
1015
- Updated included Android SDK to [4.8.3](https://github.com/OneSignal/OneSignal-Android-SDK/releases/tag/4.8.3)
@@ -165,7 +170,8 @@ If you run into any problems, please don’t hesitate to [open an issue](https:/
165170
- If you are updating from a previous version of the OneSignal Unity SDK please follow the Unity Asset Store instructions in
166171
the [README](https://github.com/OneSignal/OneSignal-Unity-SDK/README.md#unity-asset-store) to ensure a smooth transition.
167172

168-
[Unreleased]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/3.0.5...HEAD
173+
[Unreleased]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/3.0.6...HEAD
174+
[3.0.6]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/3.0.5...3.0.6
169175
[3.0.5]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/3.0.4...3.0.5
170176
[3.0.4]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/3.0.3...3.0.4
171177
[3.0.3]: https://github.com/OneSignal/OneSignal-Unity-SDK/compare/3.0.2...3.0.3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.5
1+
3.0.6

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": "3.0.1"
8+
"com.onesignal.unity.core": "3.0.6"
99
}
1010
},
1111
"com.onesignal.unity.core": {
@@ -19,7 +19,7 @@
1919
"depth": 0,
2020
"source": "local",
2121
"dependencies": {
22-
"com.onesignal.unity.core": "3.0.5"
22+
"com.onesignal.unity.core": "3.0.6"
2323
}
2424
},
2525
"com.unity.ext.nunit": {

OneSignalExample/ProjectSettings/ProjectSettings.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ PlayerSettings:
134134
16:10: 1
135135
16:9: 1
136136
Others: 1
137-
bundleVersion: 3.0.5
137+
bundleVersion: 3.0.6
138138
preloadedAssets: []
139139
metroInputSource: 0
140140
wsaTransparentSwapchain: 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": "3.0.5",
4+
"version": "3.0.6",
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": "3.0.5"
8+
"com.onesignal.unity.core": "3.0.6"
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
@@ -34,7 +34,7 @@ namespace OneSignalSDK {
3434
/// OneSignal SDK for Unity
3535
/// </summary>
3636
public abstract partial class OneSignal {
37-
public const string Version = "3.0.5";
37+
public const string Version = "3.0.6";
3838

3939
/// <summary>
4040
/// The default static instance of the OneSignal Unity SDK

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": "3.0.5",
4+
"version": "3.0.6",
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/Editor/BuildPostProcessor.cs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
* 6. Observe Badge value is 1. (If it is 3 there is an App Group issue)
4343
*/
4444

45+
#if UNITY_IOS
46+
4547
// Flag if an App Group should created for the main target and the NSE
4648
// Try renaming NOTIFICATION_SERVICE_EXTENSION_TARGET_NAME below first before
4749
// removing ADD_APP_GROUP if you run into Provisioning errors in Xcode that
@@ -75,13 +77,13 @@ public class BuildPostProcessor : IPostprocessBuildWithReport {
7577
private static readonly string PluginLibrariesPath = Path.Combine(PackageName, "Runtime", "Plugins", "iOS");
7678
private static readonly string PluginFilesPath = Path.Combine("Packages", PluginLibrariesPath);
7779

78-
private readonly string _appGroupName = $"group.{PlayerSettings.applicationIdentifier}.onesignal";
79-
8080
private string _outputPath;
8181
private string _projectPath;
82-
82+
8383
private readonly PBXProject _project = new PBXProject();
8484

85+
private string _appGroupName => $"group.{PlayerSettings.applicationIdentifier}.onesignal";
86+
8587
/// <summary>
8688
/// must be between 40 and 50 to ensure that it's not overriden by Podfile generation (40) and that it's
8789
/// added before "pod install" (50)
@@ -279,4 +281,5 @@ private void ExtensionAddPodsToTarget() {
279281
File.WriteAllText(podfilePath, podfile);
280282
}
281283
}
282-
}
284+
}
285+
#endif

com.onesignal.unity.ios/Editor/PBXProjectExtensions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* THE SOFTWARE.
2626
*/
2727

28+
#if UNITY_IOS
2829
using UnityEditor.iOS.Xcode;
2930

3031
namespace OneSignalSDK {
@@ -43,4 +44,5 @@ public static string GetMainTargetGuid(this PBXProject project)
4344
=> project.TargetGuidByName(PBXProject.GetUnityTargetName());
4445
#endif
4546
}
46-
}
47+
}
48+
#endif

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": "3.0.5",
4+
"version": "3.0.6",
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": "3.0.5"
8+
"com.onesignal.unity.core": "3.0.6"
99
},
1010
"keywords": [
1111
"push-notifications",

0 commit comments

Comments
 (0)