Cordova IBeacon plugin doesen't work on Ionic v4

I’m using Ionic Framework v4 stable, and I need to implements IBeacon, but it seems the plugin gives an error. In the Github’s repo there are many open issues.
The error is:

ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'locationManager' of undefined

Thank you for your help.