If you want the plugin to work for the browser you should add platform browser
and run it:
ionic cordova platform add browser
and run it:
ionic cordova run browser
instead of ionic serve
.
If you want the plugin to work for the browser you should add platform browser
and run it:
ionic cordova platform add browser
and run it:
ionic cordova run browser
instead of ionic serve
.