-
Notifications
You must be signed in to change notification settings - Fork 44
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
feat: support masking private views #516
base: dev
Are you sure you want to change the base?
Conversation
android/src/main/java/com/instabug/flutter/util/privateViews/PixelCopyManager.java
Outdated
Show resolved
Hide resolved
android/src/main/java/com/instabug/flutter/util/privateViews/PrivateViewManager.java
Outdated
Show resolved
Hide resolved
android/src/main/java/com/instabug/flutter/util/privateViews/PrivateViewManager.java
Outdated
Show resolved
Hide resolved
android/src/main/java/com/instabug/flutter/util/privateViews/PrivateViewManager.java
Outdated
Show resolved
Hide resolved
internalCore._setScreenshotCaptor(new ScreenshotCaptor() { | ||
@Override | ||
public void capture(@NonNull ScreenshotRequest screenshotRequest) { | ||
privateViewManager.mask(screenshotRequest.getListener()); | ||
} | ||
}); |
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.
I see the privateViewManager
frequently switching to the main thread through ThreadManager.runOnMainThread
, are there possibilities of the screenshot captor being called on a background thread?
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.
noo,, access flutter view need to be on the main thread
* feat: add private view page * fix private view screen
Description of the change
Type of change
Related issues
JIRA ID: MOB-16098
Checklists
Development
Code review