title: IONIC 3 - How to check a possible problem with an plugin?
body: <p>I've an Ionic 3 app that's working fine when compiled without --prod flag (debug mode). When I set the --prod, the app stops on splash screen.</p>
  <p>This works (the app open normal):</p>
  <blockquote>
  <p>ionic cordova run android</p>
  </blockquote>
  <p>This works too:</p>
  <blockquote>
  <p>ionic cordova build android</p>
  </blockquote>
  <p>This doesn't works (the app stops on splash screen):</p>
  <blockquote>
  <p>ionic cordova build android --minifyjs --minifycss --release --aot</p>
  </blockquote>
  <p>Neither this command:</p>
  <pre><code>ionic cordova build android --prod
  </code></pre>
  <p>This is the only information I've when use <code>adb logcat</code></p>
  <pre><code>$ adb logcat| grep CONSOLE
  12-30 06:47:39.312 20569 20569 I chromium: [INFO:CONSOLE(4062)] &quot;Angular is running in the development mode. Call enableProdMode() to enable the production mode.&quot;, source: file:///android_asset/www/build/vendor.js (4062)
  12-30 06:47:39.968 20569 20569 I chromium: [INFO:CONSOLE(1233)] &quot;deviceready has not fired after 5 seconds.&quot;, source: file:///android_asset/www/cordova.js (1233)
  12-30 06:47:39.969 20569 20569 I chromium: [INFO:CONSOLE(1226)] &quot;Channel not fired: onPluginsReady&quot;, source: file:///android_asset/www/cordova.js (1226)
  12-30 06:47:39.969 20569 20569 I chromium: [INFO:CONSOLE(1226)] &quot;Channel not fired: onCordovaReady&quot;, source: file:///android_asset/www/cordova.js (1226)
  12-30 06:47:39.970 20569 20569 I chromium: [INFO:CONSOLE(186993)] &quot;Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.&quot;, source: file:///android_asset/www/build/vendor.js (186993)
  12-30 06:47:40.236 20569 20569 I chromium: [INFO:CONSOLE(3)] &quot;Uncaught FirebaseError: Messaging: This browser doesn't support the API's required to use the firebase SDK. (messaging/unsupported-browser).&quot;, source: file:///android_asset/www/build/polyfills.js (3)
  12-30 06:47:41.334 20569 20569 I chromium: [INFO:CONSOLE(186988)] &quot;Ionic Native: deviceready event fired after 13596 ms&quot;, source: file:///android_asset/www/build/vendor.js (186988)
  </code></pre>
  <p>I've tried to debug on production mode changing the <code>build.grandle</code> file, without success:</p>
  <pre><code>    buildTypes {
          release {
              debuggable true
              minifyEnabled false
              signingConfig signingConfigs.release
          }
      }
  </code></pre>
  <p>This is my ionic info:</p>
  <pre><code>$ ionic info
  
  Ionic:
  
     Ionic CLI          : 6.12.3 (/usr/local/lib/node_modules/@ionic/cli)
     Ionic Framework    : ionic-angular 3.9.2
     @ionic/app-scripts : 3.2.3
  
  Cordova:
  
     Cordova CLI       : 8.1.2 (cordova-lib@8.1.1)
     Cordova Platforms : android 8.1.0
     Cordova Plugins   : cordova-plugin-ionic-webview 1.2.1, (and 26 other plugins)
  
  Utility:
  
     cordova-res (update available: 0.15.2) : 0.8.1
     native-run                             : 1.3.0
  
  System:
  
     Android SDK Tools : 26.1.1 (/home/diego/Android/Sdk)
     NodeJS            : v12.20.0 (/usr/local/bin/node)
     npm               : 6.14.10
     OS                : Linux 5.4
  </code></pre>
  <p>My cordova plugin list output:</p>
  <pre><code>$ cordova plugin list
  cordova-plugin-actionsheet 2.3.3 &quot;ActionSheet&quot;
  cordova-plugin-add-swift-support 2.0.2 &quot;AddSwiftSupport&quot;
  cordova-plugin-android-permissions 1.1.2 &quot;Permissions&quot;
  cordova-plugin-androidx 1.0.2 &quot;cordova-plugin-androidx&quot;
  cordova-plugin-androidx-adapter 1.1.3 &quot;cordova-plugin-androidx-adapter&quot;
  cordova-plugin-background-mode 0.7.3 &quot;BackgroundMode&quot;
  cordova-plugin-camera 4.1.0 &quot;Camera&quot;
  cordova-plugin-device 2.0.3 &quot;Device&quot;
  cordova-plugin-dialogs 2.0.2 &quot;Notification&quot;
  cordova-plugin-file 6.0.2 &quot;File&quot;
  cordova-plugin-filechooser 1.2.0 &quot;File Chooser&quot;
  cordova-plugin-firebase-lib 4.1.0 &quot;Google Firebase Plugin&quot;
  cordova-plugin-geolocation 4.1.0 &quot;Geolocation&quot;
  cordova-plugin-googlemaps 2.7.1 &quot;cordova-plugin-googlemaps&quot;
  cordova-plugin-inappbrowser 3.2.0 &quot;InAppBrowser&quot;
  cordova-plugin-ionic-webview 1.2.1 &quot;cordova-plugin-ionic-webview&quot;
  cordova-plugin-nativeaudio 3.0.9 &quot;Cordova Native Audio&quot;
  cordova-plugin-photo-library 2.2.1 &quot;Photo Library&quot;
  cordova-plugin-request-location-accuracy 2.3.0 &quot;Request Location Accuracy&quot;
  cordova-plugin-screen-orientation 3.0.2 &quot;Screen Orientation&quot;
  cordova-plugin-splashscreen 5.0.4 &quot;Splashscreen&quot;
  cordova-plugin-statusbar 2.4.3 &quot;StatusBar&quot;
  cordova-plugin-vibration 3.1.1 &quot;Vibration&quot;
  cordova-plugin-whitelist 1.3.4 &quot;Whitelist&quot;
  cordova-plugin-x-socialsharing 5.6.8 &quot;SocialSharing&quot;
  cordova-plugin-youtube-video-player 1.0.6 &quot;CordovaYoutubeVideoPlayer&quot;
  cordova-support-google-services 1.4.1 &quot;cordova-support-google-services&quot;
  es6-promise-plugin 4.2.2 &quot;Promise&quot;
  in.lucasdup.bringtofront 0.0.1 &quot;Bring to Front&quot;
  uk.co.workingedge.phonegap.plugin.launchnavigator 5.0.5 &quot;Launch Navigator&quot;
  </code></pre>
  <p>I appreciate any help.</p>
  <p>Thanks you.</p>