-
Notifications
You must be signed in to change notification settings - Fork 58
added additional config properties #1377
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
Conversation
There was a problem hiding this 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/warningsOffproperties 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.
...oid_build/maesdk/src/main/java/com/microsoft/applications/events/SanitizerConfiguration.java
Outdated
Show resolved
Hide resolved
|
Need to add JNI for logmanager |
added support for warning mode for iOS and Android.