Skip to content
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

Snapshot record/verify to support large views #68

Closed
sahithi3390 opened this issue Oct 14, 2019 · 1 comment
Closed

Snapshot record/verify to support large views #68

sahithi3390 opened this issue Oct 14, 2019 · 1 comment

Comments

@sahithi3390
Copy link

After upgrading from Karumi 2.0 to Karumi 3.0.2, I get the following error when tried to record/verify the snapshot of screens with heightPixels >= 9000 (Which is used to take the snapshot of entire screen without having to scroll)

java.lang.RuntimeException: java.lang.IllegalStateException: View too large: (1440, 9000)

Function called - ViewHelpers.setupView(view)
.setExactHeightPx(screenHeight)
.setExactWidthPx(displayMetrics.widthPixels)
.layout()
where screenHeight = 9000 and displayMetrics.widthPixels returns 1440

@sahithi3390 sahithi3390 changed the title Karumi shot to support large views Snapshot record/verify to support large views Oct 14, 2019
@pedrovgs
Copy link
Owner

pedrovgs commented Nov 8, 2019

Hi @sahithi3390 I'm afraid there is nothing we can do to fix this issue. The exception you are facing is not generated by our code but the Facebook's library code. You can see the exception here

Please, open this issue in Facebook's library repository so they can help you 😃

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

No branches or pull requests

2 participants