vaenow / cordova-plugin-app-update

App updater for Cordova/PhoneGap
MIT License
299 stars 146 forks source link

Prevent INSTALL_FAILED_CONFLICTING_PROVIDER error again! #79

Closed loban closed 6 years ago

loban commented 6 years ago

I had previously made a pull request to fix this problem, which occurs if you try to install two cordova apps with this plugin, due to a conflicting hard-coded provider name specified in plugin.xml. The solution was to make the provider name dynamic (using applicationId).

However, several commits later, the fix was removed due to additional java code that could not handle the dynamic provider name. This patch both re-applies the dynamic provider, and adds java code to handle it.

Cheers!

loban commented 6 years ago

This fixes issue https://github.com/vaenow/cordova-plugin-app-update/issues/67

loban commented 6 years ago

This pull request was made from the wrong branch! Please refer to the correct pull request #80.