HomeKit is not working with Cordova & Ionic

We are developing Hybrid application using Ionic 1 and Angular JS. For HomeKit integration we develop one Cordova plugin. Cordova plugin worked on debug mode but not working in release mode. We are not getting list of homes. Same code is working in native iOS application.

Below are our configuration details:
Ionic 2.2.3
Cordova 6.5.0
Node 6.10.2
XCode 10.2.1
iOS 12.3.1
iOS device iPhone 8+

Could you please guide us to fix this issue.
Thanks in advance