Releases: zoontek/react-native-bootsplash
Releases · zoontek/react-native-bootsplash
4.4.0
4.3.3
- Update
jimp
to0.16.1
, resolving CVE-2022-25851 (#396 by @conceptualspace)
4.3.2
4.3.1
- Update the Android setup documentation (no code changes). It's now recommended to use
onCreate
instead ofloadApp
to initreact-native-bootsplash
as soon as possible (fix #379):
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate;
import com.facebook.react.ReactRootView;
+ import android.os.Bundle;
import com.zoontek.rnbootsplash.RNBootSplash;
public class MainActivity extends ReactActivity {
// …
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ RNBootSplash.init(this); // <- initialize the splash screen
+ super.onCreate(savedInstanceState); // or super.onCreate(null) with react-native-screens
+ }
public static class MainActivityDelegate extends ReactActivityDelegate {
// …
- @Override
- protected void loadApp(String appKey) {
- RNBootSplash.init(getPlainActivity()); // <- initialize the splash screen
- super.loadApp(appKey);
- }
}
}
4.3.0
- Update AndroidX
core-splashscreen
package to1.0.0
Action required:
Update the package accordingly in your android/app/build.gradle
file:
// …
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules
+ implementation "androidx.core:core-splashscreen:1.0.0"
4.2.4
4.2.3
4.2.2
4.2.1
4.2.0
- Update AndroidX
core-splashscreen
package to1.0.0-rc01
- Support for React Native
0.69.0
CLI (fix #362) - Switch the CLI from
chalk
topicocolors
Action required:
Update the package accordingly in your android/app/build.gradle
file:
// …
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules
+ implementation "androidx.core:core-splashscreen:1.0.0-rc01"