Integrate auto-update-apk to ionic/cordova project



How do you include a java class in ionic/cordova app? I would like to integrate o my project but I have to download small AutoUpdateApk java class and include it in the code and I have no idea how to do this.

Anyone have an idea?