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

feat: Add openCamera web support #2105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jardelbordignon
Copy link

To test the functionality on the web just create a react-native-web app and use the openCamera function as per the official documentation

Copy link
Contributor

@mateoguzmana mateoguzmana left a 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)

@jardelbordignon
Copy link
Author

jardelbordignon commented Apr 10, 2023 via email

Copy link
Contributor

@mateoguzmana mateoguzmana left a 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 */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/* eslint-disable @typescript-eslint/ban-types */

Is this needed? I removed it locally and TS transpiles correctly without errors

Copy link
Author

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.

@Johan-dutoit
Copy link
Collaborator

I'd happily merge this is the example app can be updated to run this on web.

@NeriRos
Copy link

NeriRos commented Aug 28, 2023

Is this ready to merge?

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.

None yet

5 participants