Friday, 24 May 2019

How to explicitly fail cordova/ionic build if a plugin couldnot be installed?

I have a very important plugin required by my app. In the build server, while adding platform or building using cordova cli , cordova tries to fetch a plugin. When plugin fetch is unsuccessfull, it silently shows error but the cordova build is still successfull. Ideally the build should fail if it cant fetch that plugin.

How can I explicity fail the cordova build in that case so that I wont ship the unwanted build to device?



from How to explicitly fail cordova/ionic build if a plugin couldnot be installed?

No comments:

Post a Comment