-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v7.0.0 #364
Merged
Merged
Release v7.0.0 #364
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Adds CTFileDownloadManager class for file downloading Adds callback for each file and all files download * Added unit tests for CTFileDownloadManager * Added unit tests for CTFileDownloadDelegate protocol callback methods. * Updated callback approach to use completion block. Updated unit tests. * - Added class CTFileDownloader to handle file downloading from inapps, file variables. - Added expiry logic for files downloaded. - Added unit tests. * Added public method to get file downloaded path. * Added some unit tests for clearFileAssets method. * - Added logic for handling url download in progress, only one request to the url to download the file. - Added methods for image preloading cases. - Added unit test cases. * - Added thread safety check for updating active and inactive dictionary. - Added changes for CS InApps to use the new CTFileDownloader class for image preloading. - Removed previous usage of CTInAppImagePrefetchManager class for image preloading. * Added callback for File variables only, and code cleanup. * Address comments and improvements * Rename methods * Move duplicate methods to test helper * Move tests to group * Move tests headers and mocks to separate files * Use longer resource timeout * Improve tests * Improve clear expired files * Fix clear expired assets * Save files to directory inside documents Remove all files removes the files inside the directory Add Unit tests * Move to group --------- Co-authored-by: Nikola Zagorchev <nikola.zagorchev@gmail.com>
* Return after completion if error * Ensure dispatch_group_leave is called once for enter * Reuse filepath * Remove unused var
…Controller (#340) * Supported orientations based on the window orientations * Use keyWindow
* feat(MC-1564): Adds PE File type variables support. - Adds new CleverTap APIs onVariablesChangedAndNoDownloadsPending and onceVariablesChangedAndNoDownloadsPending. - Adds new fileIsReady callback in CTVarDelegate when file is downloaded. * - Added logic for _value to return path of downloaded file. - Updated logic to call fileIsReady when delegate is set. * - Used delegate pattern instead of Notification center. - Update fileURL value also when file value has changed. * Added unit tests for File type variables. * Add onFileReady, download file if var defined after applyDiffs * Fix trigger file is ready callback --------- Co-authored-by: Nikola Zagorchev <nikola.zagorchev@gmail.com>
* Delete legacy files * Check file exists before deletion
* Added Support for persistence of user profiles with device Id * Fill the local session cache with the old userProfile values when switching the user * Refactor Event adapter and Trigger Adapter to start using profile attribute names * Added support for User Attribute triggering for Profile Increment and Profile Decrement API * Refractored the CTEventAdapter constructor to incorporate profileAttr parameter * Refractored the logic for evaluating client side and server side in apps by passing them the array as argument * Updated the logic for Profile Increment, Decrement and Remove key * Optimized code to persist profile only when the change in new profile is made * Code cleaning and updated the persistence time to 30 seconds * Adding Unit test cases for CTUserInfoMigrator file * Added support for Profile type Events to be included for server side inapps * Moved the getUserAttribute and updating profile fields to LocalDataStoreFile * Added unit testing for evaluate on User attributes method * Added Unit tests for getUserAttributeChangeProperties * Attached "inapps_eval_profile" and "inapps_suppressed_profile" to the batch sent header for incorporating user profile changes * Fix client-side evaluation for events * Fix batch header and sent * Fix in-app evaluation tests --------- Co-authored-by: Akash Malhotra <> Co-authored-by: “Kushagra <“kushagra@clevertap.com”> Co-authored-by: Nikola Zagorchev <nikola.zagorchev@gmail.com>
…ars. - Fixes expired files were not deleted when downloadFiles is not called.
[PE File Vars] Updated file expiry logic
* [MC-1465] Custom templates define (Custom Templates Part 1) (#327) * [MC-1467] Custom templates Sync (Custom Templates Part 2) (#329) * [MC-1466] Custom templates data in inapp notification (Custom Templates Part 3) (#330) * [MC-1468] Custom templates present and dismiss (Custom Templates Part 4) (#332) * [MC-1470] Custom templates actions (Custom Templates Part 5) (#336) * [MC-1649] Custom functions allow dictionaries (Custom Templates Part 6) (#337) * [MC-1472] In-app actions js interface (Custom Templates Part 7) (#338) * Implement custom templates file arguments (#348) * Add template and template context debug descriptions (#351) * [MC-1823] Fix html view controller presented before scene became active (#352) * tvOS compatibility (#353) * Add SDK version as window variable to the JS interface (#354) * Create the syncPayload and meta outside the syncWithBlock (#356) * Expose activeContextForTemplate (#357) * [MC-1883] File download concurrency (#358) * Enumerate synchronously (#359) * Update docs, Changelog and README (#360) * Update SPM (#362) * Bump version to 7.0.0 (#361)
akashvercetti
requested review from
nzagorchev,
darshanclevertap,
kushCT and
nishant-clevertap
August 7, 2024 06:46
nzagorchev
approved these changes
Aug 7, 2024
darshanclevertap
approved these changes
Aug 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
Fixed
CTInAppHTMLViewController
presented before scene became active.CTInAppDisplayViewController
.