Skip to content

Releases: zoontek/react-native-bootsplash

4.4.0

03 Dec 13:54
Compare
Choose a tag to compare

4.3.3

11 Nov 10:52
Compare
Choose a tag to compare

4.3.2

14 Aug 13:26
Compare
Choose a tag to compare
  • Avoid Git hooks setup on postinstall (546b2aa, fix #384)

4.3.1

12 Aug 08:40
Compare
Choose a tag to compare
  • Update the Android setup documentation (no code changes). It's now recommended to use onCreate instead of loadApp to init react-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

08 Aug 14:13
Compare
Choose a tag to compare
  • Update AndroidX core-splashscreen package to 1.0.0

Action required:

Update the package accordingly in your android/app/build.gradlefile:

// …

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

07 Aug 23:33
Compare
Choose a tag to compare
  • Fix a regression in the CLI that prevented asset generation when the ios folder does not exists (Fix #377)

4.2.3

30 Jun 14:20
Compare
Choose a tag to compare
  • Declare splashScreenView as final to silent warning (fix #367)

4.2.2

27 Jun 10:50
Compare
Choose a tag to compare
  • Avoid calling applyThemesSystemBarAppearance in a side effect on Android 12+.

4.2.1

25 Jun 10:15
Compare
Choose a tag to compare
  • Fix iOS asset generation fails for CLI < 0.69.0 (fix #365)

4.2.0

23 Jun 10:13
176e0df
Compare
Choose a tag to compare
  • Update AndroidX core-splashscreen package to 1.0.0-rc01
  • Support for React Native 0.69.0 CLI (fix #362)
  • Switch the CLI from chalk to picocolors

Action required:

Update the package accordingly in your android/app/build.gradlefile:

// …

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"