-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
PixelCopy is taking screenshots of layers outside of the composable #101
Labels
bug
Something isn't working
Comments
Same here. |
Any news? |
Merged
This issue has been fixed and released in version 2.0.0. |
Amazing work. Bravo! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was studying how the inners of this library and discovered there's a slight problem with the
drawBitmapWithPixelCopy()
method which is used to capture theView
into bitmap.You can test this by modifying the library to force use
drawBitmapWithPixelCopy()
overview.drawToBitmap()
.Add
throw java.lang.IllegalArgumentException("force throw")
before this line and use any SDK Android Oreo or above.Copy and use the composable below.
Any help is very much appreciated by our team!
The text was updated successfully, but these errors were encountered: