Handling onReceivedSslError on tns release webview


how to handle onReceivedSsl error on webview android?? i i change the file web-view.android.js and add this line

WebViewClientImpl.prototype.onReceivedSslError = function (view, handler, error) {

before return WebViewClientImpl; when i tns run and tns build it running perfect but i doesnt work when i do tns release.