Closed devtobo closed 4 years ago
Problem: If the plugin is already installed, iosAddTarget.js will not be triggered. You have to remove and re add the plugin each times.
These issues are related: https://github.com/j3k0/cordova-plugin-openwith/issues/60 https://github.com/EternallLight/cordova-plugin-openwith-ios/issues/19
Solution, change hook from after_plugin_install to after_plugin_add which is triggered even if the plugin is already installed
Problem: If the plugin is already installed, iosAddTarget.js will not be triggered. You have to remove and re add the plugin each times.
These issues are related: https://github.com/j3k0/cordova-plugin-openwith/issues/60 https://github.com/EternallLight/cordova-plugin-openwith-ios/issues/19
Solution, change hook from after_plugin_install to after_plugin_add which is triggered even if the plugin is already installed