Ionic app about "headphone jack" is possible?


i need develop an app with the following functionality

Pressing the button connected into headphone jack will increase the value of a counter.

in the play store there is app that use the headphone jack like mSwitch or other

Is there an ionic plugin to use the headphone jack?.


thanks . i will read about that plugin.