import { CodePush } from '@awesome-cordova-plugins/code-push/ngx';
constructor(private codePush: CodePush) { }
...
this.codePush.sync().subscribe((syncStatus) => console.log(syncStatus));
const downloadProgress = (progress) => { console.log(`Downloaded ${progress.receivedBytes} of ${progress.totalBytes}`); }
this.codePush.sync({}, downloadProgress).subscribe((syncStatus) => console.log(syncStatus));