Translate .once calls of errorFound and codeFound using Cordova's exec function.