Open device camera using Linking


#1

Is there any way to open the device camera using something like Linking.openURL(‘camera’)?

I’m looking to launch the device’s camera app and not trying to use the Expo camera component.


#2

Hey @rohansh20,

You won’t be able to achieve this with a standard Expo project as it will require you to make some native code configurations in order to be able to access the device’s camera rather than a Camera API.

Cheers,

Adam


#3

Thanks for replying @adamjnav, seemed that way to me too.

It’s pretty weird though. I’m just looking to launch the camera, not looking to use the captured image or anything. Should be as simple as launching the phone or the mail app.


closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.