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.
Files changed (30) hide show
  1. package/Editor/BuildPostProcessor.cs +1 -1
  2. package/Editor/OneSignaliOSDependencies.xml +1 -1
  3. package/Editor/PBXProjectExtensions.cs +1 -1
  4. package/LICENSE.md +1 -1
  5. package/Runtime/AssemblyInfo.cs +1 -1
  6. package/Runtime/OneSignaliOS.cs +1 -5
  7. package/Runtime/OneSignaliOSInit.cs +1 -1
  8. package/Runtime/Plugins/iOS/OneSignalBridgeUtil.h +1 -1
  9. package/Runtime/Plugins/iOS/OneSignalBridgeUtil.mm +1 -1
  10. package/Runtime/Plugins/iOS/OneSignalUnityBridge.mm +1 -5
  11. package/Runtime/Plugins/iOS/OneSignalUnityBridgeDebug.mm +1 -1
  12. package/Runtime/Plugins/iOS/OneSignalUnityBridgeInAppMessages.mm +1 -1
  13. package/Runtime/Plugins/iOS/OneSignalUnityBridgeLiveActivities.mm +1 -1
  14. package/Runtime/Plugins/iOS/OneSignalUnityBridgeLocation.mm +1 -1
  15. package/Runtime/Plugins/iOS/OneSignalUnityBridgeNotifications.mm +1 -1
  16. package/Runtime/Plugins/iOS/OneSignalUnityBridgeSession.mm +1 -1
  17. package/Runtime/Plugins/iOS/OneSignalUnityBridgeUser.mm +1 -5
  18. package/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.h +1 -1
  19. package/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.mm +1 -1
  20. package/Runtime/Utilities/WaitingProxy.cs +1 -1
  21. package/Runtime/iOSDebugManager.cs +1 -1
  22. package/Runtime/iOSDisplayableNotification.cs +1 -1
  23. package/Runtime/iOSInAppMessagesManager.cs +1 -1
  24. package/Runtime/iOSLiveActivitiesManager.cs +1 -1
  25. package/Runtime/iOSLocationManager.cs +2 -3
  26. package/Runtime/iOSNotificationsManager.cs +1 -1
  27. package/Runtime/iOSPushSubscription.cs +1 -1
  28. package/Runtime/iOSSessionManager.cs +1 -1
  29. package/Runtime/iOSUserManager.cs +1 -1
  30. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,5 +1,5 @@
1
1
  <dependencies>
2
2
  <iosPods>
3
- <iosPod name="OneSignalXCFramework" version="5.0.0-beta-04" addToAllTargets="true" />
3
+ <iosPod name="OneSignalXCFramework" version="5.0.1" addToAllTargets="true" />
4
4
  </iosPods>
5
5
  </dependencies>
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  Modified MIT License
2
2
 
3
- Copyright 2020 OneSignal
3
+ Copyright 2023 OneSignal
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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 Task<bool> RequestPermissionAsync() { // iOS not async yet
44
+ public void RequestPermission() {
45
45
  _locationRequestPermission();
46
- return Task.FromResult(true);
47
46
  }
48
47
  }
49
48
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * Modified MIT License
3
3
  *
4
- * Copyright 2022 OneSignal
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
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-beta.3",
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-beta.3"
8
+ "com.onesignal.unity.core": "5.0.0"
9
9
  },
10
10
  "keywords": [
11
11
  "push-notifications",