"enable" function from Bluetooth not working

#1

I’m using the bluetooth native plugin and when I try to use the enable function, i get an error saying that then() of undefined can't be read

My code is:

this.platform.ready().then(() => {
      this.bluettoh.enable().then(res => console.log(res))
    })