Camera widget is not opening in native mobile app

0
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...') http://192.168.1.34:8083/index.bundle?platform=android&dev=true&minify=false:429601:36 tryCallOne@http://192.168.1.34:8083/index.bundle?platform=android&dev=true&minify=false:42471:16 http://192.168.1.34:8083/index.bundle?platform=android&dev=true&minify=false:42572:27 _callTimer@http://192.168.1.34:8083/index.bundle?platform=android&dev=true&minify=false:46026:17 _callImmediatesPass@http://192.168.1.34:8083/index.bundle?platform=android&dev=true&minify=false:46062:19 callImmediates@http://192.168.1.34:8083/index.bundle?platform=android&dev=true&minify=false:46281:33 callImmediates@[native code] __callImmediates@http://192.168.1.34:8083/index.bundle?platform=android&dev=true&minify=false:21180:35 http://192.168.1.34:8083/index.bundle?platform=android&dev=true&minify=false:20957:34 __guard@http://192.168.1.34:8083/index.bundle?platform=android&dev=true&minify=false:21163:15 flushedQueue@http://192.168.1.34:8083/index.bundle?platform=android&dev=true&minify=false:20956:21 flushedQueue@[native code] callFunctionReturnFlushedQueue@[native code]
asked
1 answers
0

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

answered