GitHub repository: tkhtechnology/audiotoggle
Description: Cordova plugin for switching between speaker and earpiece when playing audio