I am overriding my device back button per the documentation that I attach event listener to backbutton with argument of false after the devicerea
backbutton
false
devicerea
The issue was I was importing cordova.js in an iframe even though it was already in the parent window scope. I didn't know it would break it and thought I had to import cordova.js in the iframe. Removing the from the iframe fixed it.