Need help with SSL/TLS error handling in Ionic mobile appilcation with Angular

How to handle Insecure WebView TLS/SSL Error Handler in ionic mobile application?

We are told that SslErrorHandler.proceed() is called even when certificate is invalid in our app. But our app is purely based on angular and ionic and there is no native code done.

Please help and guide.