Ziggeo / ReactNativeSDK

React Native SDK
Apache License 2.0
7 stars 6 forks source link

Ziggeo.setCamera() undefined function #67

Closed jessypouliot98 closed 3 years ago

jessypouliot98 commented 3 years ago

As of update 1.5.0 AND 1.5.1 the Ziggeo.setCamera() function calls an undefined function on the native side.

        Ziggeo.setAppToken(ZIGGEO_APP_TOKEN);
        Ziggeo.setCameraSwitchEnabled(true);
        Ziggeo.setCoverSelectorEnabled(true);
        Ziggeo.setCamera(Ziggeo.REAR_CAMERA); // Here it logs a warning and prevent actual record modal from opening. Commenting this fixes it, but we do not have the ability to set default camera.

This has only been tested on Android as of now

3akat commented 3 years ago

please take a look at the version 1.5.2

jessypouliot98 commented 3 years ago

It works !