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: Add openCamera web support #2105
base: main
Are you sure you want to change the base?
feat: Add openCamera web support #2105
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.
Great work on this @jardelbordignon! great to see some effort to increase web support 🚀
How does this look like? Can we add some screenshots in the PR or a usage example in the example app? (not sure if there are changes needed to make it work in the example app)
Hey! I appreciate the work of maintaining the project.
The way to use it is exactly the same but in a react-native-web app, just follow the official documentation.
|
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 tested it locally with the example app and it works like a charm. Amazing work!
@@ -0,0 +1,5 @@ | |||
/* eslint-disable @typescript-eslint/ban-types */ |
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.
/* eslint-disable @typescript-eslint/ban-types */ |
Is this needed? I removed it locally and TS transpiles correctly without errors
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.
This was to suit my lint setup, but it can be removed.
I'd happily merge this is the example app can be updated to run this on web. |
Is this ready to merge? |
To test the functionality on the web just create a react-native-web app and use the openCamera function as per the official documentation