cordova-barcodescanner-plugin
                                
                                
                                
                                    cordova-barcodescanner-plugin copied to clipboard
                            
                            
                            
                        Android build fails because of duplicate uses-feature on camera
The pulgin.xml file has a uses-feature android.hardware.camera.
That's fine but it seems that this causes a duplicate entry. Probably because there is some other plugin that does the same thing. Removing that line from the plugin.xml allowed the build to complete.
I don't know enough about plugin.xml to suggest a correct fix, or I would put in a PR myself. Sorry.
sorry to say, but plugin is discontinued