com.onesignal.unity.ios 5.0.0-beta.3 → 5.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.
- package/Editor/BuildPostProcessor.cs +1 -1
- package/Editor/OneSignaliOSDependencies.xml +1 -1
- package/Editor/PBXProjectExtensions.cs +1 -1
- package/LICENSE.md +1 -1
- package/Runtime/AssemblyInfo.cs +1 -1
- package/Runtime/OneSignaliOS.cs +1 -5
- package/Runtime/OneSignaliOSInit.cs +1 -1
- package/Runtime/Plugins/iOS/OneSignalBridgeUtil.h +1 -1
- package/Runtime/Plugins/iOS/OneSignalBridgeUtil.mm +1 -1
- package/Runtime/Plugins/iOS/OneSignalUnityBridge.mm +1 -5
- package/Runtime/Plugins/iOS/OneSignalUnityBridgeDebug.mm +1 -1
- package/Runtime/Plugins/iOS/OneSignalUnityBridgeInAppMessages.mm +1 -1
- package/Runtime/Plugins/iOS/OneSignalUnityBridgeLiveActivities.mm +1 -1
- package/Runtime/Plugins/iOS/OneSignalUnityBridgeLocation.mm +1 -1
- package/Runtime/Plugins/iOS/OneSignalUnityBridgeNotifications.mm +1 -1
- package/Runtime/Plugins/iOS/OneSignalUnityBridgeSession.mm +1 -1
- package/Runtime/Plugins/iOS/OneSignalUnityBridgeUser.mm +1 -5
- package/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.h +1 -1
- package/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.mm +1 -1
- package/Runtime/Utilities/WaitingProxy.cs +1 -1
- package/Runtime/iOSDebugManager.cs +1 -1
- package/Runtime/iOSDisplayableNotification.cs +1 -1
- package/Runtime/iOSInAppMessagesManager.cs +1 -1
- package/Runtime/iOSLiveActivitiesManager.cs +1 -1
- package/Runtime/iOSLocationManager.cs +2 -3
- package/Runtime/iOSNotificationsManager.cs +1 -1
- package/Runtime/iOSPushSubscription.cs +1 -1
- package/Runtime/iOSSessionManager.cs +1 -1
- package/Runtime/iOSUserManager.cs +1 -1
- package/package.json +2 -2
package/LICENSE.md
CHANGED
package/Runtime/AssemblyInfo.cs
CHANGED
package/Runtime/OneSignaliOS.cs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Modified MIT License
|
|
3
3
|
*
|
|
4
|
-
* Copyright
|
|
4
|
+
* Copyright 2023 OneSignal
|
|
5
5
|
*
|
|
6
6
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -50,7 +50,6 @@ namespace OneSignalSDK.iOS {
|
|
|
50
50
|
public sealed partial class OneSignaliOS : OneSignalPlatform {
|
|
51
51
|
[DllImport("__Internal")] private static extern void _setConsentGiven(bool consent);
|
|
52
52
|
[DllImport("__Internal")] private static extern void _setConsentRequired(bool required);
|
|
53
|
-
[DllImport("__Internal")] private static extern void _setLaunchURLsInApp(bool launchInApp);
|
|
54
53
|
[DllImport("__Internal")] private static extern void _initialize(string appId);
|
|
55
54
|
[DllImport("__Internal")] private static extern void _login(string externalId);
|
|
56
55
|
[DllImport("__Internal")] private static extern void _loginWithJwtBearerToken(string externalId, string jwtBearerToken);
|
|
@@ -113,9 +112,6 @@ namespace OneSignalSDK.iOS {
|
|
|
113
112
|
set => _setConsentRequired(value);
|
|
114
113
|
}
|
|
115
114
|
|
|
116
|
-
public override void SetLaunchURLsInApp(bool launchInApp)
|
|
117
|
-
=> _setLaunchURLsInApp(launchInApp);
|
|
118
|
-
|
|
119
115
|
public override void Initialize(string appId) {
|
|
120
116
|
_initialize(appId);
|
|
121
117
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Modified MIT License
|
|
3
3
|
*
|
|
4
|
-
* Copyright
|
|
4
|
+
* Copyright 2023 OneSignal
|
|
5
5
|
*
|
|
6
6
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -64,8 +64,4 @@ extern "C" {
|
|
|
64
64
|
void _setConsentRequired(bool required) {
|
|
65
65
|
[OneSignal setConsentRequired:required];
|
|
66
66
|
}
|
|
67
|
-
|
|
68
|
-
void _setLaunchURLsInApp(bool launchInApp) {
|
|
69
|
-
[OneSignal setLaunchURLsInApp:launchInApp];
|
|
70
|
-
}
|
|
71
67
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Modified MIT License
|
|
3
3
|
*
|
|
4
|
-
* Copyright
|
|
4
|
+
* Copyright 2023 OneSignal
|
|
5
5
|
*
|
|
6
6
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -87,10 +87,6 @@ extern "C" {
|
|
|
87
87
|
[OneSignal.User setLanguage:TO_NSSTRING(languageCode)];
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
/*id<OSPushSubscription> _userGetPushSubscription() {
|
|
91
|
-
return OneSignal.User.pushSubscription;
|
|
92
|
-
}*/
|
|
93
|
-
|
|
94
90
|
void _userAddAlias(const char* aliasLabel, const char* aliasId) {
|
|
95
91
|
[OneSignal.User addAliasWithLabel:TO_NSSTRING(aliasLabel)
|
|
96
92
|
id:TO_NSSTRING(aliasId)];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Modified MIT License
|
|
3
3
|
*
|
|
4
|
-
* Copyright
|
|
4
|
+
* Copyright 2023 OneSignal
|
|
5
5
|
*
|
|
6
6
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
* of this software and associated documentation files (the "Software"), to deal
|
|
@@ -41,9 +41,8 @@ namespace OneSignalSDK.iOS.Location {
|
|
|
41
41
|
set => _locationSetIsShared(value);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
public
|
|
44
|
+
public void RequestPermission() {
|
|
45
45
|
_locationRequestPermission();
|
|
46
|
-
return Task.FromResult(true);
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
}
|
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": "5.0.0
|
|
4
|
+
"version": "5.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": "5.0.0
|
|
8
|
+
"com.onesignal.unity.core": "5.0.0"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
11
|
"push-notifications",
|