Ionic / Angular hybrid app, issue with getting a shake event working
问题 This is for a Ionic/Angular hybrid app. I'm trying get a shake event to fire using cordova-plugin-shake. It's supposed to reload a random image. So far a random image is showing up on load, but it's not working when testing a shake event in the simulator. I'm getting the error ReferenceError: shake is not defined However the docs say You do not need to reference any JavaScript, the Cordova plugin architecture will add a shake object to your root automatically when you build. What am I missing