title: ionic run android: build/run succeeds, but results in blank screen
body: <p>My ionic app was running fine in the desktop browser and on ios, but not showing up at all on android. It wasn't explicitly failing, but it just resulted in a blank, white screen with no sign of life.</p>
  
  <p>The same result happened both in android emulation and on an actual android device. The app would load, with its icon and everything, but its view was completely blank and empty.</p>
  
  <p>SO has lots of questions about explicit ionic android build errors and platform-irrelevant errors, but nothing that quite matched what I was seeing.</p>
  
  <p>I set up my android device to debug through Chrome Canary on my Mac, and was able to see the javascript console while it ran... looked like it was having trouble loading key data from an external url!</p>
  
  <p>A little research showed me that this is a feature of Android Cordova, not a bug... and that <strong>the solution is to add the Whitelist Cordova plugin to ionic, whitelist the domains in question in config.xml</strong>, and rerun... that solved the problem!</p>
  
  <p>The bigger mistake was that I was using resolve sections in my ui-router states, but had never thought about what to do if the promises in question never resolve!</p>