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

[CHNL-16215] add preloading logic #256

Merged
merged 14 commits into from
Jan 21, 2025
Merged

Conversation

ab1470
Copy link
Contributor

@ab1470 ab1470 commented Jan 21, 2025

Description

This PR adds preloading logic to the KlavyioWebViewController and KlaviyoWebViewModel. This will allow us to preload a URL in the background, then present the KlavyioWebViewController after the URL has finished loading.

Check List

  • Are you changing anything with the public API?
  • Have you tested this change on real device?
  • Are your changes backwards compatible with previous SDK Versions?
  • Have you added unit test coverage for your changes?
  • Have you verified that your changes are compatible with all the operating system version this SDK currently supports?

Manual Test Plan

  1. I wired up an example to the iOS test app and validated that the KlaviyoWebViewController appears only after the website has completed loading.

@ab1470 ab1470 force-pushed the ab/CHNL-16215/add-preloading-logic branch from 9daefe8 to d03650d Compare January 21, 2025 16:02
@ab1470 ab1470 marked this pull request as ready for review January 21, 2025 16:02
@ab1470 ab1470 requested a review from a team as a code owner January 21, 2025 16:02
@ab1470 ab1470 merged commit 98dd1cb into master Jan 21, 2025
14 checks passed
@ab1470 ab1470 deleted the ab/CHNL-16215/add-preloading-logic branch January 21, 2025 18:54
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