Console.log, on device, works on Cordova but not on Ionic


I tried to console.log on my device. It just don’t work. On browser it’s ok, but on device, none. It seems that the problem it’s with ionic since I created an app with cordova and it worked.

I tried everything, since setting window.cordova.logged.__deviceReady(); to reinstalling cordova, ionic and etc. None worked.

This is happening with any Ionic starter pack, since blank to sidemenu.

My info:

Cordova CLI: 6.1.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic CLI Version: 1.7.7
Ionic App Lib Version: 0.6.3
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v5.6.0
Xcode version: Xcode 7.3 Build version 7D175

Do you use a special build process --> like removing inline comments during minify/packaging?