title: Blank screen when using --prod and --release to build Ionic 3 Angular 4 app
body: <p>I have seen tons of people having problem similar to mine, but none of the solutions I have seen there could help me, so I am not duplicating already asked questions.</p>
  
  <p>I have this environment:
  cli packages: (/usr/local/lib/node_modules)</p>
  
  <pre><code>@ionic/cli-utils  : 1.19.1
  ionic (Ionic CLI) : 3.19.1
  </code></pre>
  
  <p>global packages:</p>
  
  <pre><code>cordova (Cordova CLI) : 7.1.0
  </code></pre>
  
  <p>local packages:</p>
  
  <pre><code>@ionic/app-scripts : 3.1.8
  Cordova Platforms  : android 6.3.0 ios 4.4.0
  Ionic Framework    : ionic-angular 3.9.2
  </code></pre>
  
  <p>System:</p>
  
  <pre><code>ios-deploy : 1.9.1
  ios-sim    : 5.0.12
  Node       : v7.0.0
  npm        : 5.3.0
  OS         : macOS High Sierra
  Xcode      : Xcode 9.2 Build version 9C40b
  </code></pre>
  
  <p>And I have these plugins:</p>
  
  <pre><code>com.googlemaps.ios 2.5.0 "Google Maps SDK for iOS"
  cordova-plugin-add-swift-support 1.7.0 "AddSwiftSupport"
  cordova-plugin-android-permissions 1.0.0 "Permissions"
  cordova-plugin-camera 2.4.1 "Camera"
  cordova-plugin-compat 1.2.0 "Compat"
  cordova-plugin-console 1.0.5 "Console"
  cordova-plugin-crosswalk-webview 2.3.0 "Crosswalk WebView Engine"
  cordova-plugin-device 1.1.4 "Device"
  cordova-plugin-geolocation 2.4.3 "Geolocation"
  cordova-plugin-mauron85-background-geolocation 2.3.2 "CDVBackgroundGeolocation"
  cordova-plugin-nativegeocoder 2.0.4 "NativeGeocoder"
  cordova-plugin-network-information 1.3.4 "Network Information"
  cordova-plugin-splashscreen 4.1.0 "Splashscreen"
  cordova-plugin-statusbar 2.2.2 "StatusBar"
  cordova-plugin-swift-support 3.1.1 "SwiftSupport"
  cordova-plugin-whitelist 1.3.1 "Whitelist"
  cordova-sqlite-storage 0.7.14 "Cordova sqlite storage plugin"
  ionic-plugin-keyboard 2.2.1 "Keyboard"
  phonegap-plugin-barcodescanner 7.0.1 "BarcodeScanner"
  </code></pre>
  
  <p>When I check with:
  <strong>% sudo ionic doctor check</strong>                                                                                                                                                  </p>
  
  <blockquote>
    <p>✔ Detecting issues: 16 / 16 complete - done! 
    [OK] Detected 0 issues.
    Aww yeah! </p>
  </blockquote>
  
  <p>When I run the app using this command it works perfectly, I see the blank screen but after few seconds it goes to the Login Page I have:</p>
  
  <pre><code>% sudo ionic cordova run android -l -c
  </code></pre>
  
  <p>But, if I try to build the production/release version I see a blank screen right after hiding the Splash Screen with the spinner:</p>
  
  <pre><code>% sudo ionic cordova run android --prod --release
  </code></pre>
  
  <p>I wonder if would be something related to White List Plugin and permissions, would that be? But what?</p>
  
  <p>As you can see I am using Crosswalk, would be something related to it?</p>
  
  <p>What is the <strong>real</strong> difference between those two commands? What could I do to find out what is really happening when I use <strong>--prod</strong> and <strong>--release</strong>?</p>