Skip to content
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

LP Parity Features #637

Merged
merged 223 commits into from
Jul 9, 2024
Merged

Conversation

CTLalit
Copy link
Collaborator

@CTLalit CTLalit commented Jul 8, 2024

Hygiene PR:

Contains merged features:

  • Custom InApp templates
  • User attribute triggering
  • File type support in custom inapps
  • PE file type support

https://wizrocket.atlassian.net/browse/SDK-3784
https://wizrocket.atlassian.net/browse/SDK-3782

vasct and others added 30 commits March 7, 2024 19:08
…itions

feat(MC-1457): Create custom in-app templates definitions
…napp-templates

Task/merge develop to custom inapp templates
task(MC-1458): Add custom code templates data in CTInAppNotification
Add TemplatePresenter to the template definitions
Add TemplateContext API for handling template invocations. Merge template args overrides
with default values and provide access to the values.
Integrate template presentation in the current in-app display flow
task(MC-1460): Implement template presenting
- Migrates userProfiles DB by changing schema
- Adds logic for new user login
- Adds support to store multiple users
- Passes deviceInfo to LocalDataStore
- Migrates userProfiles DB for multiple instances
- Fixes single row issue when stoing in table
Insert visual functions to front of inAppQueue when triggered
Refactor InAppController inAppNotificationDidClick to inAppNotificationActionTriggered
Move common notification handling logic to InAppController from InAppNotificationActivity
and CTInAppBaseFragment
…unctions

Move map argument methods to the base classes CustomTemplateContext and
CustomTemplate.Builder
Add access to active template contexts in CleverTapAPI
- Shifts backfilling of deviceID to onUpgrade
- Removes logic for backfilling from DBAdapter
task(MC-1462): Implement in-app function execution
task(MC-1464): Custom code templates support for html in-apps
…-actions

task(MC-1648): Allow map arguments and argument nesting in functions
- Changes logic to fit the idea that userProfiles table will always have only one entry before migration
…texts

task(MC-1646): Store active template contexts in TemplatesManager
- All profiles specific to the accountId will be migrated together
…p-api

Add define method for custom in-app templates CleverTapAPI
… table (#614)

- Fixes the same during migration
- Removes the "$D_" prefix from date related property values
- Removes the "$set" and "$add" key from incorrectly stored multi-valued properties
* task(SDK-3814) - Moves persistence after inapp evaluation

- Delays the persistence to after inapp evaluation
- Constructs a map of userAtttibutes to be used for evaluation

* task(SDK-3817) - Adds date related parsing

* task(SDK-3817) - Adds evaluation and triggering for userattributes (#612)

* task(SDK-3817) - Adds evaluation and triggering for userattributes

* task(SDK-3817) - Fixes indentation

* task(SDK-3817) - Fixes logic for evaluation

* task(SDK-3817) - Cleanup
 - Fixes variable names
 - Adds comments
 - Adds formatting

* task(SDK-3817) - Cleanup

- Kotlin specific improvements
piyush-kukadiya and others added 14 commits July 5, 2024 12:36
- adds better mechanism in FileResourcesRepoImpl.kt to register for file download callbacks
- removes unnescessary runnable
- moves global callback for files in CTVariables which is the right class
- adds flag for first file fetch completed
- breaks down applyVariableDiffs() which is longer method
- adds method to startFilesDownload which gets called after first api call (app_launch/wzrk_fetch)
- ignores urls which are in cache to prefetch load -> only pending urls are sent forward to listen to their completion callback.
Include action file arguments in CustomTemplateInAppData::getFileArgs…
Feature/file type support SDK-3856 SDK-3844
@CTLalit CTLalit requested review from vasct and piyush-kukadiya July 8, 2024 12:54
@CTLalit CTLalit closed this Jul 8, 2024
@CTLalit CTLalit reopened this Jul 8, 2024
* task(MC-1790) - Fixes incorrectly attached inapps_eval and inapps_suppressed

- Separates the eval and suppressed for profile and normal events and attaches based on the type of queue

* task(MC-1790) - Updates tests

* task(MC-1790) - Increases readability

---------

Co-authored-by: CTLalit <[email protected]>
@CTLalit CTLalit changed the title Feature/custom inapp templates LP Parity Features Jul 8, 2024
CTLalit and others added 3 commits July 9, 2024 02:11
…android-sdk into feature/custom_inapp_templates

# Conflicts:
#	clevertap-core/src/main/java/com/clevertap/android/sdk/InAppNotificationActivity.java
…android-sdk into feature/custom_inapp_templates

# Conflicts:
#	clevertap-core/src/main/java/com/clevertap/android/sdk/inapp/CTInAppNativeInterstitialFragment.java
#	clevertap-core/src/main/java/com/clevertap/android/sdk/inapp/CTInAppNotification.java
@CTLalit CTLalit merged commit 6dc2316 into feat/bugs/core700qa Jul 9, 2024
3 checks passed
@CTLalit CTLalit deleted the feature/custom_inapp_templates branch July 9, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants