import { CloudSettings } from '@awesome-cordova-plugins/cloud-settings/ngx';
constructor(private cloudSettings: CloudSettings) { }
...
this.cloudSettings.exists()
.then((exists: boolean) => console.log("Saved settings exist: " + exists) )
this.cloudSettings.load()
.then((settings: any) => this.settings = settings)
.catch((error: any) => console.error(error));
this.cloudSettings.save(this.settings)
.then((savedSettings: any) => console.log("Saved settings: " + JSON.stringify(savedSettings)))
.catch((error: any) => console.error(error));