Skip to content

Conversation

@frank-msodsp
Copy link
Contributor

@frank-msodsp frank-msodsp commented Sep 8, 2025

added support for warning mode for iOS and Android.

@frank-msodsp frank-msodsp requested a review from a team as a code owner September 8, 2025 15:50
@frank-msodsp frank-msodsp requested a review from Copilot September 8, 2025 15:54

This comment was marked as outdated.

@frank-msodsp frank-msodsp requested a review from Copilot September 9, 2025 11:33

This comment was marked as outdated.

@frank-msodsp frank-msodsp requested a review from Copilot September 9, 2025 12:17

This comment was marked as outdated.

This comment was marked as outdated.

Copy link
Contributor

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

Adds support for warning mode configuration to iOS and Android sanitizer implementations, allowing control over whether sanitization warnings are enforced or suppressed.

  • Added setWarningsToSanitization/warningsOff properties to sanitizer configuration classes
  • Updated native initialization methods to accept the new warning configuration parameter
  • Enhanced Java configuration class with proper encapsulation and getter/setter methods

Reviewed Changes

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

Show a summary per file
File Description
SanitizerInitConfig.swift Added setWarningsToSanitization property wrapper for iOS
Sanitizer.swift Fixed method name from resetPrivacyGuardInstance to resetSanitizerInstance
ODWSanitizerInitConfig.mm Added initializer with default values for new properties
ODWSanitizerInitConfig.h Added setWarningsToSanitization property declaration and initializer
ODWSanitizer.mm Updated initialization to configure warning behavior
Sanitizer_jni.cpp Modified JNI method to accept warnings parameter
SanitizerConfiguration.java Refactored with private fields, getters/setters, and added warningsOff property
Sanitizer.java Updated to use new configuration methods and pass warnings parameter

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@frank-msodsp
Copy link
Contributor Author

Need to add JNI for logmanager

@ThomsonTan ThomsonTan merged commit d9a99fd into main Sep 10, 2025
12 of 27 checks passed
@ThomsonTan ThomsonTan deleted the frank/addsupportforconfig branch September 10, 2025 18:49
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.

5 participants