Hi, guys! I need a short and straight to the point answer to the question - is there a way to detect if headphones are plugged in for both iOS and Android devices? I am making an app that is to be used as an animated theatre guide, but I don’t want it to play audio unless people have the headphones plugged in, because otherwise it will disturb the performance.
Scott Harrison’s “More Info” plugin has a way to check if the headphones are plugged in. See:
https://marketplace.coronalabs.com/plugin/more-info
Rob
Scott Harrison’s “More Info” plugin has a way to check if the headphones are plugged in. See:
https://marketplace.coronalabs.com/plugin/more-info
Rob