App starts but cordova plugins not working in final apk

Hi everyone, I am trying to build my first apk. I followed this tutorial: https://www.airpair.com/ionic-framework/posts/production-ready-apps-with-ionic-framework . The problem is that when I run the app the cordova plugins are not working (eg: Cannot read property ‘toast’ of undefined) Any hint of what coud be the problem?

Post what you see in console when inspecting your app on device using Chrome remote debugging.

Hi, Thanks for your reply. In the end I followed the process showed on those links and everything worked fine:
http://blog.ionic.io/minifying-your-source-code/
http://ionicframework.com/docs/guide/publishing.html