Cordova not avaiable when running in emulator



I’m trying to use some ionic native stuff, I run start my emulator with this command:

ionic cordova emulate android -l -c -s --debug

Then I try to use TTS like this:

this.tss.speak('Hello World')
  .then(() => console.log('Success'))
  .catch((reason: any) => console.log(reason));

But I get this message:

[16:14:28] console.log: cordova_not_available

Full output: