Cordova plugin works in ionic view but not android emulator

I have added the plugin to access the contact list.
It says the plugin was successfully installed.
When I run on the android emulator I get an error - uncaught in promise cordova not available
When I upload to ionic view and run the app on my real device then it works.

Any ideas why it might be breaking in the emulator?
The plugin is triggered when I click on a button on the page which should open the contacts list. So its not a timing issue.

Any ideas?

Figured out that when I dont use live reload then it works in the emulator.
Not sure if thats by design or not.