cordova-plugin-code-push icon indicating copy to clipboard operation
cordova-plugin-code-push copied to clipboard

Use Cordova Hooks to remove all manual installation steps

Open sergey-akhalkov opened this issue 7 years ago • 3 comments

We probably could remove all manual installation steps by using Cordova Hooks feature. To achieve it we could use after_plugin_add event. The similar approach is supported by react-native-code-push: https://github.com/Microsoft/react-native-code-push/blob/master/scripts/postlink/android/postlink.js

sergey-akhalkov avatar Mar 23 '17 15:03 sergey-akhalkov

@iageoghe, @panarasi what do you think? This is a great proposal - my intuition is to do it only if it is quick and easy, given our other work items

richardhuaaa avatar Apr 06 '17 21:04 richardhuaaa

It sounds like something that would add value to the end-user pretty quickly. I think your intuition is correct; it doesn't look complex but might take a bit of testing as the manual steps have a bit of logic in them - retrieving keys, if you are using , etc.

iageoghe avatar Apr 06 '17 21:04 iageoghe

Hi @iageoghe, @silhouettes, got it, so we'll implement it when we have time, thank you for the feedback!

sergey-akhalkov avatar Apr 07 '17 08:04 sergey-akhalkov