Skip to content

Commit

Permalink
Release 4.0.0 (#85)
Browse files Browse the repository at this point in the history
* Unity Native support (#83)
---------

Co-authored-by: Alok Kumar <[email protected]>
  • Loading branch information
nzagorchev and AlokKumar-CT authored Aug 7, 2024
1 parent 4b875e9 commit b6a2ab3
Show file tree
Hide file tree
Showing 165 changed files with 7,738 additions and 161 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Change Log
==========

Version 4.0.0 *(07 August, 2024)*
-------------------------------------------
- Added native support for WebGL, Mac and Windows platform

Version 3.1.0 *(24 April, 2024)*
-------------------------------------------
- Updated to [CleverTap Android SDK v6.2.1](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev6.2.1)
Expand Down
12 changes: 6 additions & 6 deletions CTExporter/Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"dependencies": {
"com.unity.collab-proxy": "2.2.0",
"com.unity.feature.2d": "2.0.0",
"com.unity.ide.rider": "3.0.25",
"com.unity.ide.visualstudio": "2.0.21",
"com.unity.collab-proxy": "2.3.1",
"com.unity.feature.2d": "2.0.1",
"com.unity.ide.rider": "3.0.28",
"com.unity.ide.visualstudio": "2.0.22",
"com.unity.test-framework": "1.1.33",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.7.5",
"com.unity.timeline": "1.7.6",
"com.unity.ugui": "1.0.0",
"com.unity.visualscripting": "1.9.1",
"com.unity.visualscripting": "1.9.4",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",
Expand Down
43 changes: 22 additions & 21 deletions CTExporter/Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"dependencies": {
"com.unity.2d.animation": {
"version": "9.0.4",
"version": "9.1.1",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.2d.common": "8.0.1",
"com.unity.2d.common": "8.0.2",
"com.unity.2d.sprite": "1.0.0",
"com.unity.collections": "1.1.0",
"com.unity.modules.animation": "1.0.0",
Expand All @@ -14,7 +14,7 @@
"url": "https://packages.unity.com"
},
"com.unity.2d.aseprite": {
"version": "1.0.1",
"version": "1.1.4",
"depth": 1,
"source": "registry",
"dependencies": {
Expand All @@ -26,7 +26,7 @@
"url": "https://packages.unity.com"
},
"com.unity.2d.common": {
"version": "8.0.1",
"version": "8.0.2",
"depth": 2,
"source": "registry",
"dependencies": {
Expand All @@ -46,12 +46,12 @@
"url": "https://packages.unity.com"
},
"com.unity.2d.psdimporter": {
"version": "8.0.2",
"version": "8.0.5",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.2d.animation": "9.0.1",
"com.unity.2d.common": "8.0.1",
"com.unity.2d.animation": "9.1.1",
"com.unity.2d.common": "8.0.2",
"com.unity.2d.sprite": "1.0.0"
},
"url": "https://packages.unity.com"
Expand All @@ -63,12 +63,12 @@
"dependencies": {}
},
"com.unity.2d.spriteshape": {
"version": "9.0.2",
"version": "9.0.3",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.mathematics": "1.1.0",
"com.unity.2d.common": "8.0.1",
"com.unity.2d.common": "8.0.2",
"com.unity.modules.physics2d": "1.0.0"
},
"url": "https://packages.unity.com"
Expand All @@ -95,16 +95,17 @@
"url": "https://packages.unity.com"
},
"com.unity.burst": {
"version": "1.8.9",
"version": "1.8.15",
"depth": 3,
"source": "registry",
"dependencies": {
"com.unity.mathematics": "1.2.1"
"com.unity.mathematics": "1.2.1",
"com.unity.modules.jsonserialize": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.collab-proxy": {
"version": "2.2.0",
"version": "2.3.1",
"depth": 0,
"source": "registry",
"dependencies": {},
Expand All @@ -128,22 +129,22 @@
"url": "https://packages.unity.com"
},
"com.unity.feature.2d": {
"version": "2.0.0",
"version": "2.0.1",
"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.2d.animation": "9.0.4",
"com.unity.2d.animation": "9.1.1",
"com.unity.2d.pixel-perfect": "5.0.3",
"com.unity.2d.psdimporter": "8.0.2",
"com.unity.2d.psdimporter": "8.0.5",
"com.unity.2d.sprite": "1.0.0",
"com.unity.2d.spriteshape": "9.0.2",
"com.unity.2d.spriteshape": "9.0.3",
"com.unity.2d.tilemap": "1.0.0",
"com.unity.2d.tilemap.extras": "3.1.2",
"com.unity.2d.aseprite": "1.0.1"
"com.unity.2d.aseprite": "1.1.4"
}
},
"com.unity.ide.rider": {
"version": "3.0.25",
"version": "3.0.28",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -152,7 +153,7 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.visualstudio": {
"version": "2.0.21",
"version": "2.0.22",
"depth": 0,
"source": "registry",
"dependencies": {
Expand Down Expand Up @@ -188,7 +189,7 @@
"url": "https://packages.unity.com"
},
"com.unity.timeline": {
"version": "1.7.5",
"version": "1.7.6",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -209,7 +210,7 @@
}
},
"com.unity.visualscripting": {
"version": "1.9.1",
"version": "1.9.4",
"depth": 0,
"source": "registry",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions CTExporter/ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2022.3.11f1
m_EditorVersionWithRevision: 2022.3.11f1 (d00248457e15)
m_EditorVersion: 2022.3.32f1
m_EditorVersionWithRevision: 2022.3.32f1 (c8300dc0a3fa)

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ android {
}
}

repositories {
mavenCentral()
}

dependencies {
compileOnly fileTree('libs')

implementation 'com.clevertap.android:clevertap-android-sdk:6.2.1'
implementation 'com.google.firebase:firebase-messaging:23.0.6'
implementation 'androidx.core:core:1.9.0'
Expand Down
2 changes: 1 addition & 1 deletion CleverTap/Plugins/iOS/CleverTapUnityManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@
- (void)fetchInApps:(int)callbackId;
- (void)clearInAppResources:(BOOL)expiredOnly;

@end
@end
3 changes: 1 addition & 2 deletions CleverTap/Plugins/iOS/CleverTapUnityManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -895,8 +895,7 @@ - (void)syncVariables
[clevertap syncVariables];
}

- (void)syncVariables:(BOOL)isProduction
{
- (void)syncVariables:(BOOL)isProduction {
[clevertap syncVariables:isProduction];
}

Expand Down
2 changes: 1 addition & 1 deletion CleverTap/Runtime/Android.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Android/AndroidCallbackHandler.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Android/AndroidPlatformBinding.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Android/AndroidPlatformInApps.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Android/AndroidPlatformVariable.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Android/AndroidVar.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Android/CleverTapAndroidJNI.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/CleverTap.asmdef.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/CleverTap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -450,4 +450,4 @@ public static void ClearInAppResources(bool expiredOnly) =>

#endregion
}
}
}
2 changes: 1 addition & 1 deletion CleverTap/Runtime/CleverTap.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Common.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions CleverTap/Runtime/Common/BindingFactory.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if UNITY_ANDROID
#if UNITY_ANDROID && !UNITY_EDITOR
using CleverTapSDK.Android;
#elif UNITY_IOS
#elif UNITY_IOS && !UNITY_EDITOR
using CleverTapSDK.IOS;
#else
using CleverTapSDK.Native;
Expand All @@ -13,9 +13,9 @@ internal static class BindingFactory {
internal static CleverTapPlatformBindings CleverTapBinding { get => cleverTapBinding; }

static BindingFactory() {
#if UNITY_ANDROID
#if UNITY_ANDROID && !UNITY_EDITOR
cleverTapBinding = new AndroidPlatformBinding();
#elif UNITY_IOS
#elif UNITY_IOS && !UNITY_EDITOR
cleverTapBinding = new IOSPlatformBinding();
#else
cleverTapBinding = new UnityNativePlatformBinding();
Expand Down
2 changes: 1 addition & 1 deletion CleverTap/Runtime/Common/BindingFactory.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Common/CleverTapCallbackHandler.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions CleverTap/Runtime/Common/CleverTapPlatformBindings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ internal virtual JSONArray GetAllInboxMessages() {
}

internal virtual string GetCleverTapID() {
return "testCleverTapID";
return string.Empty;
}

internal virtual JSONClass GetDisplayUnitForID(string unitID) {
Expand Down Expand Up @@ -174,15 +174,15 @@ internal virtual void ProfileDecrementValueForKey(string key, int val) {
}

internal virtual string ProfileGet(string key) {
return "test";
return string.Empty;
}

internal virtual string ProfileGetCleverTapAttributionIdentifier() {
return "testAttributionIdentifier";
return string.Empty;
}

internal virtual string ProfileGetCleverTapID() {
return "testCleverTapID";
return string.Empty;
}

internal virtual void ProfileIncrementValueForKey(string key, double val) {
Expand Down
2 changes: 1 addition & 1 deletion CleverTap/Runtime/Common/CleverTapPlatformBindings.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Common/CleverTapPlatformInApps.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Common/CleverTapPlatformVariable.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Common/Delegates.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CleverTap/Runtime/Common/InAppsFactory.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b6a2ab3

Please sign in to comment.