sendEvent is not sending events in iOS

We are using sendEvent function in the app platform to send events to the mobile app and open some URLs in webview. Our code is working fine in Android Applications but the same code is not working in the iOS application. Our customer is using ionic for building the mobile application.