Skip to content

Conversation

@shachartransmit
Copy link
Collaborator

Version 0.1.8

Enhanced Configuration Options

  • Added new tracking configuration options: Enhanced SDK initialization with more granular control over data collection
    • enableTrackingNavigationData: Control app navigation pattern tracking (default: true)
    • enableTrackingStaticData: Control device/app static information tracking (default: true)
  • Updated default behavior: All tracking options now default to true for improved security coverage
  • Enhanced TSConfiguration interface: Added support for the new tracking options while maintaining backward compatibility

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds new configuration options for SDK initialization to provide more granular control over data collection. The changes enhance the TSConfiguration interface with two new tracking flags while updating default behaviors and correcting documentation issues.

Changes:

  • Added enableTrackingNavigationData and enableTrackingStaticData configuration options
  • Changed default values from false to true for all tracking options
  • Fixed spelling error in README documentation ("whe" → "when")

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/index.tsx Added two new optional boolean properties to TSConfiguration interface
ios/TsAccountprotection.swift Updated iOS implementation to support new tracking options with true defaults
example/src/App.tsx Updated example app to demonstrate all four tracking configuration options
RELEASE_NOTES.md Added version 0.1.8 release notes documenting new features and 0.1.7 updates
README.md Fixed typo, updated initialization method name, and added advanced configuration documentation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

componentDidMount(): void {
// Setup the module as soon your component is ready
await TSAccountProtectionSDKModule.initializeSDK();
await TSAccountProtectionSDKModule.initializeSDKIOS();
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

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

The method name initializeSDKIOS appears inconsistent with the method used elsewhere in the documentation. In the advanced configuration example below (line 106), the method is called initializeIOS. Consider using the same method name throughout the documentation for consistency.

Suggested change
await TSAccountProtectionSDKModule.initializeSDKIOS();
await TSAccountProtectionSDKModule.initializeIOS();

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Both methods exists. This use is proper.

@shachartransmit shachartransmit merged commit b0460c2 into main Jan 22, 2026
3 of 5 checks passed
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.

2 participants