Camera widget is not opening in native mobile app

When clicking the button to trigger camera widget, getting the following warning in the console and camera widget is not opening. Only happening on Android devices. Possible Unhandled Promise Rejection (id: 2): Error: TypeError: undefined is not a function (near '..._nativeInterface.default.showImagePicker...') tryCallOne@ _callTimer@ _callImmediatesPass@ callImmediates@ callImmediates@[native code] __callImmediates@ __guard@ flushedQueue@ flushedQueue@[native code] callFunctionReturnFlushedQueue@[native code]
1 answers

Make sure you have the latest versions of the native mobile resources module, make it native app, and native template for your builds