Search docs/


This plugin provides functions for working with Serial connections

Stuck on a Cordova issue?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!


ionic cordova plugin add cordovarduinonpm install @ionic-native/serial
Ionic Native Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us

Supported Platforms

  • Android
  • Ubuntu


import { Serial } from '@ionic-native/serial/ngx';

constructor(private serial: Serial) { }


this.serial.requestPermission().then(() => {{
    baudRate: 9800,
    dataBits: 4,
    stopBits: 1,
    parity: 0,
    dtr: true,
    rts: true,
    sleepOnPause: false
  }).then(() => {
    console.log('Serial connection opened');
}).catch((error: any) => console.log(error));