com.onesignal.unity.ios 3.0.0-beta.6 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -166,8 +166,10 @@ namespace OneSignalSDK {
|
|
|
166
166
|
// If file exists then the below has been completed before from another build
|
|
167
167
|
// The below will not be updated on Append builds
|
|
168
168
|
// Changes would most likely need to be made to support Append builds
|
|
169
|
-
if (ExtensionCreatePlist(_outputPath))
|
|
169
|
+
if (ExtensionCreatePlist(_outputPath)) {
|
|
170
|
+
ExtensionAddPodsToTarget();
|
|
170
171
|
return;
|
|
172
|
+
}
|
|
171
173
|
|
|
172
174
|
var extensionGuid = _project.AddAppExtension(_project.GetMainTargetGuid(),
|
|
173
175
|
ServiceExtensionTargetName,
|
|
@@ -35,18 +35,12 @@ namespace OneSignalSDK {
|
|
|
35
35
|
|
|
36
36
|
public static string GetMainTargetGuid(this PBXProject project)
|
|
37
37
|
=> project.GetUnityMainTargetGuid();
|
|
38
|
-
|
|
39
|
-
public static string GetFrameworkGuid(this PBXProject project)
|
|
40
|
-
=> project.GetUnityFrameworkTargetGuid();
|
|
41
38
|
#else
|
|
42
39
|
public static string GetMainTargetName(this PBXProject project)
|
|
43
40
|
=> PBXProject.GetUnityTargetName();
|
|
44
41
|
|
|
45
42
|
public static string GetMainTargetGuid(this PBXProject project)
|
|
46
43
|
=> project.TargetGuidByName(PBXProject.GetUnityTargetName());
|
|
47
|
-
|
|
48
|
-
public static string GetFrameworkGuid(this PBXProject project)
|
|
49
|
-
=> GetPBXProjectTargetGuid(project);
|
|
50
44
|
#endif
|
|
51
45
|
}
|
|
52
46
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "com.onesignal.unity.ios",
|
|
3
3
|
"displayName": "OneSignal Unity SDK - iOS",
|
|
4
|
-
"version": "3.0.0
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"unity": "2018.4",
|
|
6
6
|
"description": "OneSignal is the market leader in customer engagement, powering mobile push, web push, email, and in-app messages.",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"com.onesignal.unity.core": "3.0.0
|
|
8
|
+
"com.onesignal.unity.core": "3.0.0"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
11
|
"push-notifications",
|