Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: CleverTap/clevertap-unity-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.4.2
Choose a base ref
...
head repository: CleverTap/clevertap-unity-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.0.0
Choose a head ref
  • 2 commits
  • 584 files changed
  • 6 contributors

Commits on Jan 15, 2024

  1. Release 3.0.0 (#67)

    * GetCleverTapID return value
    
    * [SDK-3121] Init CleverTapUnityManager on App Launch (#46)
    
    * initial commit to handle notification clicked dor Android 12
    
    * revert stray change
    
    * update to 2.4.1 aar
    
    * update to android 5.2.0 and rebuild package
    
    * fix typo in CleverTapBinding
    
    * update package and changelog
    
    * Use CT Android SDK 5.1.0 (#47)
    
    * Use CT Android SDK 5.1.0
    
    * Update version (#48)
    
    * Feature/sdk 3235/split bindings and clevertap (#50)
    
    * chore(SDK-3235) - Split bindings and clevertap
    
    Added Default abstract CleverTapPlatformBinding class that will serve as interface and base implementation of bindings
    Refcator bindings to split them based on platform
    Added BindingFactory that will instantiate appropriate instance based on platform build
    Added static clevertap class as entrypoint
    Added ClevetapCallback for delegation
    
    * chore(SDK-3235) - Split bindings and clevertap
    
    Additional refactoring
    Restructure CleverTapUnity (SDK)
    Improved CleverTap callback event handlers
    CleverTapUnity (SDK) changed to a more generic approach
    Added initialization of game object in memory and attached platform-specific callback handler
    
    * chore(SDK-3235) - Split bindings and clevertap
    
    Fixed minor issues
    
    * chore(SDK-3235) - Split bindings and clevertap
    
    Adapted code formatting following confluence c# guidelines
    Included directives for each platform
    Fixed unity warning with instantiation of gameObject for CleverTapCallbackHanlder
    Code improvements, simplification and refactoring
    
    * chore(SDK-3235) - Split bindings and clevertap
    
    Fixed typo in BindingFactory
    
    * chore(SDK-3235) - Split bindings and clevertap
    
    Added name to callback GameObject
    
    * chore(SDK-3235) - Split bindings and clevertap
    
    Integrated new arhitecture in existing bindings, callbacks and CleverTapUnity
    Refactor and fixed some issues
    
    * chore(SDK-3235) - Split bindings and clevertap
    
    Added obsolete to existing clevertap methods with message to start using new clevertap arhitecture
    Added example with new clevertap arhitecture
    
    * chore(SDK-3235) - Split bindings and clevertap
    
    Removed Obsolete from CleverTapUnity to show warning when using CleverTapBinding
    
    * chore(SDK-3235) - Split bindings and clevertap
    
    Changed namespace from CleverTapUnitySDK to CleverTap in new arhitecture classes
    Change access modifier on most classes from public to internal in new arhitecture classes
    Added CleverTapVersion, CleverTapLogger and CleverTapAndroidJNI classes
    Code refactoring and improvements
    
    * Merge Profile APIs to develop (#52)
    
    * Release v2.4.1 (#49)
    
    * GetCleverTapID return value
    
    * [SDK-3121] Init CleverTapUnityManager on App Launch (#46)
    
    * initial commit to handle notification clicked for Android 12
    
    * update to 2.4.1 aar
    
    * update package and changelog
    
    * Use CT Android SDK 5.1.0
    
    * Update version (#48)
    
    ---------
    
    Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
    * Profile APIs support for multiple data types (#51)
    
    * overload profile apis to support object
    
    * Update version
    
    * Update package
    
    ---------
    
    Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
    ---------
    
    Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
    * Feature/sdk 3323/variables bindings (#54)
    
    * chore(SDK-3323) - Variables bindings
    
    Added implementation of Var for iOS and Android
    Added implementation of platform variables for iOS and Android
    Added implementation of variables callback handler
    Added variable factory as shared instance
    Added variables methods and callbacks in CleverTap.cs
    Refactoring, improvements and code optimization
    
    * Adding wrapper for Vars on Android
    
    * chore(SDK-3323) - Variables bindings
    
    Fixed some issues
    Refactoring and code improvements
    
    * chore(SDK-3323) - Variables bindings
    
    Fixed issue in CleverTapAndroidJNI
    
    * chore(SDK-3323) - Variables bindings
    
    Update version of clevertap-android-sdk to 5.2.1
    Update clevertapsdk-unity
    Fixed issue with android GetCleverTapID binding
    Fixed issue with callbacks if there are no subscribers
    
    * chore(SDK-3323) - Variables bindings
    
    Minor fix
    
    * Squashed commit of the following:
    
    commit c2e9a7d
    Author: Nikola Zagorchev <nikola.zagorchev@gmail.com>
    Date:   Fri Oct 27 10:39:59 2023 +0300
    
        Merge Profile APIs to develop (#52)
    
        * Release v2.4.1 (#49)
    
        * GetCleverTapID return value
    
        * [SDK-3121] Init CleverTapUnityManager on App Launch (#46)
    
        * initial commit to handle notification clicked for Android 12
    
        * update to 2.4.1 aar
    
        * update package and changelog
    
        * Use CT Android SDK 5.1.0
    
        * Update version (#48)
    
        ---------
    
        Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
        * Profile APIs support for multiple data types (#51)
    
        * overload profile apis to support object
    
        * Update version
    
        * Update package
    
        ---------
    
        Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
        ---------
    
        Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
    * chore(SDK-3323) - Variables bindings
    
    Resolve confits with develop
    
    * Squashed commit of the following:
    
    commit c2e9a7d
    Author: Nikola Zagorchev <nikola.zagorchev@gmail.com>
    Date:   Fri Oct 27 10:39:59 2023 +0300
    
        Merge Profile APIs to develop (#52)
    
        * Release v2.4.1 (#49)
    
        * GetCleverTapID return value
    
        * [SDK-3121] Init CleverTapUnityManager on App Launch (#46)
    
        * initial commit to handle notification clicked for Android 12
    
        * update to 2.4.1 aar
    
        * update package and changelog
    
        * Use CT Android SDK 5.1.0
    
        * Update version (#48)
    
        ---------
    
        Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
        * Profile APIs support for multiple data types (#51)
    
        * overload profile apis to support object
    
        * Update version
    
        * Update package
    
        ---------
    
        Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
        ---------
    
        Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
    * Squashed commit of the following:
    
    commit c2e9a7d
    Author: Nikola Zagorchev <nikola.zagorchev@gmail.com>
    Date:   Fri Oct 27 10:39:59 2023 +0300
    
        Merge Profile APIs to develop (#52)
    
        * Release v2.4.1 (#49)
    
        * GetCleverTapID return value
    
        * [SDK-3121] Init CleverTapUnityManager on App Launch (#46)
    
        * initial commit to handle notification clicked for Android 12
    
        * update to 2.4.1 aar
    
        * update package and changelog
    
        * Use CT Android SDK 5.1.0
    
        * Update version (#48)
    
        ---------
    
        Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
        * Profile APIs support for multiple data types (#51)
    
        * overload profile apis to support object
    
        * Update version
    
        * Update package
    
        ---------
    
        Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
        ---------
    
        Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    
    * chore(SDK-3323) - Variables bindings
    
    Remove old version of clevertapsdk-unity
    
    * Unity Package support (#53)
    
    * Unity Package support
    
    * Updating unity package
    
    * Changes
    
    * fixing iOS variables
    * fixing iOS build system
    
    * Android and iOS changes
    
    * Unity sdk changes
    
    * Fixed issue with GetVariable
    
    * changes
    
    * adding CTTester used for exporting the project
    * adding CTIntegrationTests for development and testing
    * adding build script that exports unity package
    * adding missing variable bindings
    * removing unused files
    
    ---------
    
    Co-authored-by: Milos Jakovljevic <milos1290@gmail.com>
    Co-authored-by: PJClevertap <peter.janjic@clevertap.com>
    
    * chore(SDK-3323) - Variables bindings
    
    Fixed path in CTIntegrationTests/Packages/:
    manifest.json
    packages-lock.json
    
    * chore(SDK-3323) - Variables bindings
    
    Added CleverTapExample
    
    * changes
    
    * adding androidlib
    * renaming export project
    * rebuilding new package
    
    * Fixing export script to include android-lib
    
    * chore(SDK-3498) Variables bindings and dates tests (#56)
    
    Added tests for variables
    Added tests for dates support
    
    ---------
    
    Co-authored-by: Milos Jakovljevic <milos1290@gmail.com>
    Co-authored-by: milos-clevertap <144123971+milos-clevertap@users.noreply.github.com>
    
    * Fixing wrong params sent to iOS SDK
    
    * Fixing sending of variables back to Unity
    
    * chore(SDK-3548) - fix string variables (#61)
    
    - Remove "" from variable if variable is of kind string
    
    * chore(SDK-3553) Additional methods for Variables and fix iOS (#62)
    
    - Added event OnOneTimeVariablesChanged
    - Added StringValue  on Var
    - Added SyncVariables(bool isProduction) for iOS (android will fallback to SyncVariables())
    - Fix JSON validation issue in getVariableValue on iOS
    - Simplified getVariableValue on Android
    
    * Feature/sdk 3554 in apps (#63)
    
    * chore(SDK-3554) - Wrappers InApps implementation
    
    -Added InApps implementation on Android
    -Added InApps implementation on iOS
    
    * chore(SDK-3554) - Unity InApps implementation
    
    - Added InAppsFactory
    - Added CleverTapPlatformInApps
    - Added CleverTapPlatformInApps for Android and iOS
    - Added CleverTapInAppsFetched callback
    - Added mising unity native method for variable
    
    * Fix iOS conflicting type issue for syncVariables
    
    * Add clearInAppResources method
    
    * resolved merged conflicts
    
    * added missing bool in the call
    
    * compilation error fixes
    
    ---------
    
    Co-authored-by: Nikola Zagorchev <nikola.zagorchev@gmail.com>
    Co-authored-by: Alok Kumar <alok@clevertap.com>
    
    * iOS Post Build processor and settings window (#64)
    
    * Add Post Build processor for iOS. Add settings window for the config.
    
    * Add to namespace and format
    
    * Prepare 3.0.0 release (#65)
    
    * Prepare 3.0.0 release
    
    * Update README.md
    
    * Update android-wrapper build.gradle
    
    * Update package
    
    ---------
    
    Co-authored-by: Peter Wilkniss <peter@clevertap.com>
    Co-authored-by: PJClevertap <144137874+PJClevertap@users.noreply.github.com>
    Co-authored-by: Milos Jakovljevic <milos1290@gmail.com>
    Co-authored-by: milos-clevertap <144123971+milos-clevertap@users.noreply.github.com>
    Co-authored-by: Alok Kumar <alok@clevertap.com>
    6 people authored Jan 15, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9823101 View commit details

Commits on Jan 19, 2024

  1. Update 3.0.0 (#71)

    * chore(SDK-3613) - Update AndroidPostImport
    
    - On android-wrapper reimport, remove old version of .androidlib before converting new one
    
    * Use .asset for CleverTap Settings (#69)
    
    * Fix create unitypackage (#70)
    
    * Run postprocessor only if not a package export
    
    * Rename meta files
    Rename meta files otherwise unity will create an empty folder when package is created
    
    * Mark the android-wrapper folder as Android Platform only
    
    * Update unitypackage
    
    ---------
    Co-authored-by: PJClevertap <peter.janjic@clevertap.com>
    nzagorchev authored Jan 19, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    6a4a30e View commit details
Showing 584 changed files with 21,665 additions and 13,897 deletions.
21 changes: 20 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -79,4 +79,23 @@ src/Android/CleverTapUnityPlugin/.gradle/*
/gradle/wrapper/gradle-wrapper.jar
/gradle/wrapper/gradle-wrapper.properties
/gradlew
/gradlew.bat
/gradlew.bat

.DS_Store
.idea/
org.eclipse.buildship.core.prefs
.project
.classpath
Android/.idea/*
.vscode
.vsconfig
Subtester/Assets/Plugins/Android/*.aar
exportlog.txt
IntegrationTests/Assets/RevenueCat/
IntegrationTests/Assets/Plugins/
IntegrationTests/Assets/ExternalDependencyManager/
IntegrationTests/ProjectSettings/AndroidResolverDependencies.xml
Purchases.unitypackage
Purchases-UnityIAP.unitypackage
IntegrationTests/buildiOS/
**.log
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
Change Log
==========

Version 3.0.0 *(15 Jan, 2024)*
-------------------------------------------
- Updated to [CleverTap Android SDK v6.0.0](https://github.com/CleverTap/clevertap-android-sdk/releases/tag/corev6.0.0)
- Updated to [CleverTap iOS SDK v6.0.0](https://github.com/CleverTap/clevertap-ios-sdk/releases/tag/6.0.0)
- Support `DateTime` objects for `ProfilePush`, `OnUserLogin`, `RecordEvent` and `RecordChargedEventWithDetailsAndItems`
- Support for [Product Experiences - Remote Config/Variables](docs/Variables.md)
- Unity Package Manager support
- CleverTap structure and interface changes:
- Use the static `CleverTap.cs` methods.
- `CleverTapBinding.cs` and `CleveTapUnity.cs` are now obsolete. They are still usable with minor changes but will be removed in the future.
- Improved mechanism to handle callbacks - add an event listener for a callback directly through the `CleverTap` static events. _No need_ to set all callbacks in the `CleverTapUnity.cs` _anymore_.
- iOS Settings are configured from Assets -> CleverTap Settings
- CleverTap SDK uses EDM4U for dependency management

Version 2.4.2 *(24 October, 2023)*
-------------------------------------------
- Profile APIs support for multiple data types
8 changes: 8 additions & 0 deletions CTExporter/Assets/CleverTap.meta

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

8 changes: 8 additions & 0 deletions CTExporter/Assets/ExternalDependencyManager.meta

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

8 changes: 8 additions & 0 deletions CTExporter/Assets/ExternalDependencyManager/Editor.meta

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

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

Binary file not shown.
Binary file not shown.

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

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

Binary file not shown.
Binary file not shown.

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

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

Binary file not shown.
Binary file not shown.

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

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

Binary file not shown.
Binary file not shown.

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

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

Loading