Xcode resources folder not updating
In React Native, image decoding is done in a different thread.
In practice, you already need to handle the case when the image is not downloaded yet, so displaying the placeholder for a few more frames while it is decoding does not require any code change.
You run "ionic resources" and then browse the file system and you can see that it did not copy the images over to the android platform folder.
@ghenry22 I guess it's probably something wrong on my side.
Also you have to specify image dimensions manually.
Many of the images you will display in your app will not be available at compile time, or you will want to load some dynamically to keep the binary size down.
If there's an exact match, React Native will pick it, otherwise it's going to use the first one that's at least 50% bigger in order to avoid blur when resizing from a close size.
If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app (via Xcode asset catalogs or Android drawable folder): This approach provides no safety checks.
It's up to you to guarantee that those images are available in the application.
Expected behavior: Android icon and launch screen would be generated and added to the Android platform Steps to reproduce: Create a new project by running: "ionic start Test Resources --v2" copy your and into the resources folder run "ionic resources" Navigate to ./Test Resources/platforms/android/res" folders You will see that the icon and splash images are still using the default Cordova images.
** Notes ** This works for i OS, but not Android Ionic info: (run Cordova CLI: 6.4.0 Ionic CLI Version: 2.2.1 Ionic App Lib Version: 2.2.0 ios-deploy version: 1.9.0 ios-sim version: 3.1.1 OS: mac OS Sierra Node Version: v6.9.4 Xcode version: Xcode 8.2.1 Build version 8C1002 I have now confirmed that I was on Android platform 6.0.
Unlike with static resources, In some cases you might only want to display an image if it is already in the local cache, i.e.