[CameraPreview Plugin] Question : How to use CameraPreview Plugin in order to use iphone rear camera?

Forge Component
(3)
Published on 14 Aug (11 days ago) by Hugo 
3 votes
Published on 14 Aug (11 days ago) by Hugo 

It’s nice to meet you.

I want to make simple Augmented Reality application that operating on mobile device.

In order to make that application , I need to  use smartphone rear camera .

So I want to use CameraPreview Plugin, but I have no idea that how to use this one.

Would you tell me how to use this one detail?

I use iphone as device.

I look forward to hearing back from you. 

Hi Furkan,

Thank you for your prompt response.

I will check.

Hi Furken,

I checked "Example Usage " and download Simple camera.oap.

And I tried to that application on iphone8,but it's not working well.

When I start application,message appears.

Message is "Error:CameraPreview is not defined".

Do you have any solution?

Regards.

Solution

Nariyasu Tahara wrote:

Hi Furken,

I checked "Example Usage " and download Simple camera.oap.

And I tried to that application on iphone8,but it's not working well.

When I start application,message appears.

Message is "Error:CameraPreview is not defined".

Do you have any solution?

Regards.


Hi Nariyasu,

There is a new version of the Plugin component and sample app, both can be retrieved from forge.

This app only works if you generate the native app for iOS or Android, so you need to install the app and run on your device and not on the browser.


Best regards,

Daniel Martins


Solution