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

Can not integrate with cordova-plugin-camera #39

@uuau99999

Description

@uuau99999

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions