I am currently upgrading a project from ionic v1 to ionic v3, but I am having trouble. ionic.Platform cannot be used in ionic3. Can someone tell me how to solve this problem?
enable() {
console.log("bts : enabling...");
this.quitTalkingWDT();
if (ionic.Platform.isIOS()) {
console.log("bts : iOS...");
return null;
} else {
console.log("bts : non-iOS...");
return this.Ble.enable();
}
}