bloxlab / BarcodeScannerWP8

Cordova plugin to enable barcode scanning on Windows Phone 8
6 stars 5 forks source link

Plugin target conflicts with existing plugin for iOS/Android #3

Open aserraric opened 10 years ago

aserraric commented 10 years ago

The WP-plugin targets the same function call as the iOS/Android plugin, namely "cordova.plugins.barcodeScanner". Since they are both set to clobber, they will overwrite each other in a Cordova project that targets both WP and iOS/Android.

Short of merging this with the other plugin, you can avoid this by making the <js-module> platform specific (by putting it under <platform name="wp8">).

quape commented 10 years ago

Good idea. And can't we just merge this together to get a working plugin for all platforms?