React Native dynamic splash screen?
I would like to add a dynamic splash screen to my app that takes an image from an external webserver. For Android I would usually use a mipmap and create a layout like this: <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="#color/gray"/> <item> <bitmap android:gravity="center" android:src="#mipmap/splash_screen"/> </item> </layer-list> The question is if I can download an image and store it to the mimap folders with ReactNative so that Android will take it on the next start? Of course I'm open to alternative ideas.
Yes you can, and the easiest way is to bundle it with your project. For example with a project created using react-native init you should see the mipmaps in $(PROJECT_ROOT)/app/src/main/res.
Is it possible to track when an app enters “Doze on the Go” (AKA Doze Light, Doze Extended, and Doze 2)?
wrong Uri when insert data on database
missing permissions required by BluetoothAdapter.isEnabled.BLUETOOTH
How to display data from SQLite database in different textviews as childs in Expandable ListView
Listen to ACTION_SCREEN_ON and ACTION_SCREEN_OFF
Unable to get provider - rarely crash on kitkat
Be warned when google fit start a session
Debugger not hitting break point in the android application
Data positioning in a TableLayout - Android Studio
Android request permission doesn't work for notifications permissions
What is the off-screen menu key in Android 4.x?
The Android RatingBar has “bad” threshold for certain devices, fix?
View pager not swipe smoothly
Custom linting lib in android
Not execute Volley JSON onResponse function
take a screenshot of a nested RelativeLayout