Skip to content

Conversation

@alessioprestileo
Copy link

I'm trying to use this library within an app built with expo and ejected to expokit.
When I try to use the DocumentScanner component in my .tsx file I get the error you can see in the screenshot.
I fixed the error by making a couple of changes in 'DocumentScannerViewManager.java', following the suggestion from https://stackoverflow.com/questions/51640154/android-view-contextthemewrapper-cannot-be-cast-to-android-app-activity.

Screenshot 2019-03-19 at 14 07 22

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.

1 participant