-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(autocapture): auto capture element interactions (#224)
* feat: add PostHogExampleAutocapture sample project * feat: add base autocapture integration * feat(autocapture): process captured events * feat(autocapture): add support for debouncing events for * feat(autocapture): update CHANGELOG.md * feat(autocapture): add support for UIScrollView * feat(autocapture): add support for UISwitch * feat(autocapture): add support for UIPickerView * feat(autocapture): add autocapture configuration * feat(autocapture): fix UITextField sample * feat(autocapture): fix support for UITextField * fix(autocapture): replace with hedgelog * feat(autocapture): sanitize text similar to js sdk * fix(autocapture): revert view controller name * refactor(autocapture): route events to shared instance * feat(autocapture): skip sensitive inputs and ph-no-capture * fix(autocapture): invalidate and clear debounce timers on stop * feat(tests): add unit tests * chore: format and lint * chore(autocapture): lint file name * ci(test): run iOS tests * ci(tests): run on latest iOS version available * ci(test): revert iOS tests runs are failing on CI both for make test and make test-ios. Will address in another PR * feat(autocapture): simplify configuration options * fix: lint * chore: revert new formats * chore: revert workflow changes
- Loading branch information
Showing
143 changed files
with
11,538 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ jobs: | |
with: | ||
xcode-version: latest-stable | ||
- name: Test SDK | ||
run: make test | ||
run: make test |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// AutocaptureEventProcessing.swift | ||
// PostHog | ||
// | ||
// Created by Yiannis Josephides on 30/10/2024. | ||
// | ||
|
||
#if os(iOS) || targetEnvironment(macCatalyst) | ||
import Foundation | ||
|
||
protocol AutocaptureEventProcessing: AnyObject { | ||
func process(source: PostHogAutocaptureEventTracker.EventSource, event: PostHogAutocaptureEventTracker.EventData) | ||
} | ||
#endif |
Oops, something went wrong.