This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Description
My old project is based on cordova and now I want to use react native to implement it again. However react native did not implement the plugins I used to use in cordova and when I tried to add cordova camera plugin with react-native-cordova-plugin an error occured :
The development server returned response error code: 500
URL: http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false
Unable to resolve module ./Camera from /works/myproject/node_modules/react-native-cordova-plugin/platforms/android/assets/www/cordova.js: Directory works/myproject/node_modules/react-native-cordova-plugin/platforms/android/assets/www/Camera doesn't exist","name":"UnableToResolveError","type":"UnableToResolveError","errors":[{}]}
onResponse
DevServerHelper.java:339
execute
RealCall.java:126
run
NamedRunnable.java:32
runWorker
ThreadPoolExecutor.java:1133
run
ThreadPoolExecutor.java:607
run
Thread.java:761
It seems that there are some errors while integrating the cordova camera plugin with react-native-cordova-plugin. So please check it out.
ps: react-native version :0.43.4
react-native-cordova-plugin: 1.0.1