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

bug(MC-2299): Fix c2a param not tracked for open_url and close actions #681

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

vasct
Copy link
Contributor

@vasct vasct commented Oct 29, 2024

This fixes tracking callToAction if it exists as a parameter to the links opened from the in-apps webview. There is also a frontend fix directly in the in-app HTML, that would use triggerAction instead of opening links.

@vasct vasct marked this pull request as ready for review October 31, 2024 09:31
final String[] parts = actionParts.split("__dl__");
String callToAction = formData.getString(Constants.KEY_C2A);
if (callToAction != null) {
final String[] parts = callToAction.split("__dl__");
Copy link
Contributor

@Anush-Shand Anush-Shand Nov 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

__ dl__ Can be extracted as a constant?

@vasct vasct merged commit 7aff990 into develop Nov 4, 2024
4 checks passed
@vasct vasct deleted the fix/inapp-open-url-missing-c2a branch November 4, 2024 10:03
CTLalit added a commit that referenced this pull request Nov 29, 2024
* bug(MC-2299): Fix c2a param not tracked for open_url and close actions (#681)

* refactor(MC-2362): Add parsing of url params on open-url action (#684)

* task(MC-2360): Add normalized event and property names evaluation (#685)

* task(MC-2360): Add normalized event and property names evaluation

* chore(MC-1987): Update HTML template for In-Apps preview (#680)

* chore(MC-1987): Update HTML template for In-Apps preview

* Add normalized names check to discarded events check (#688)

* bug(SDK-4107): Make clevertap instance singleton (#687)

- initialises singleton clevertap instance in application class
- uses singleton ct instance in whole app

* Update preview in-app html template (#690)

Applies fix for new lines and special js symbols

* Bug/v2/sdk 4183 (#698)

* feat(SDK-4183): Event properties normalisation

- backend sends normalised event properties, we need to compare on sdk side based on normalised event which client app might fire

* feat(SDK-4183): Charged event product props normalisation

- normalises product item prop keys

* chore(SDK-4183): reformatting

* test(SDK-4183): adds test to check normalisation

* test(SDK-4183): adds test to check normalisation in non charged events

* feat(SDK-4183): changes normalisation to follow LP logic (#700)

* feat(SDK-4183): changes normalisation to follow LP logic

- makes changes to event names and properties and also to charged event logic
- tries exact name match first
- tries match with normalised event name
- tries match after normalising both event name/property and triggers we get from BE

* tests(SDK-4183): adds test cases for nomalisation logic

- adds for both charged and normal events.

* Release corev7.0.3 (#699)

* feat(SDK-4183): updates docs for core SDK release 7.0.3

* feat(SDK-4163): updates the release date

- changes title from bug fixes -> new features

* feat(SDK-4163): updates the release date in changelog

---------

Co-authored-by: Vassil Angelov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants