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

✨ Support for iOS Simulators by simulating Camera Visuals #437

Closed
2 tasks done
GrabbenD opened this issue Sep 15, 2021 · 10 comments
Closed
2 tasks done

✨ Support for iOS Simulators by simulating Camera Visuals #437

GrabbenD opened this issue Sep 15, 2021 · 10 comments

Comments

@GrabbenD
Copy link

What feature or enhancement are you suggesting?

The ability to emulate a framebuffer for a virtual device in xCode's Simulator and Android Studio's Emulator would make it a lot easier to test if the app behaves correctly in a CICD environment. For instance, this could be achieved by adding support for debug mode with a prerecorded video or image file.

What Platforms whould this feature/enhancement affect?

iOS, Android

Alternatives/Workarounds

None

Additional information

@mrousavy mrousavy changed the title ✨ Framebuffer emulation support ✨ Support for iOS Simulators by simulating Camera Visuals Sep 15, 2021
@mrousavy
Copy link
Owner

Hi! Thanks for the feature request, that's indeed something I'm also missing from VisionCamera!

If you want to take a look at this and implement this yourself, I'd gladly give any pointers and help you out! 💪

Until then, it stays a feature request until I have some free time to take a look at this (hopefully soon 😉)

@rodgomesc
Copy link
Contributor

rodgomesc commented Sep 15, 2021

it would be fantastic if we could emulate a virtual scene in visio camera similar to the one we have in the android emulator, today it's not possible to test camera api on ios without physical hardware right?, and this kind of functionality would be a differential that no other camera lib for react native has

@xeroxoid
Copy link

My 2 cents: https://github.com/teslamotors/react-native-camera-kit somehow does it

@mrousavy mrousavy mentioned this issue May 10, 2022
4 tasks
@AdamSheaHewett

This comment was marked as spam.

@rgomesrn

This comment was marked as spam.

@fervailanti

This comment was marked as spam.

@devartwa

This comment was marked as spam.

@salorsino

This comment was marked as spam.

@mrousavy
Copy link
Owner

Please stop spamming. This is a really nice feature request / nice-to-have, but I currently have other priorities (VisionCamera V3 and my company Margelo), if anyone wants to pay for the development of this feature let me know.

Otherwise I'll leave this open until someone submits a PR to implement this, or I have some free time sometime in the future.

@mrousavy
Copy link
Owner

Update; VisionCamera will never support simulating the Camera on the iOS simulator as it is insanely complex to do that in VisionCamera since it is built upon a Devices API. More info here: #1848 (comment)

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

9 participants