Skip to content

Commit 49adcee

Browse files
committed
Add support for react-native-screens 4.16.0+ in expo
1 parent 57d2238 commit 49adcee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/expo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const withMainActivity: Expo.ConfigPlugin<Props> = (config) =>
107107
comment: " //",
108108
tag: "bootsplash-init",
109109
offset: 0,
110-
anchor: /super\.onCreate\(null\)/,
110+
anchor: /super\.onCreate\((null|savedInstanceState)\)/,
111111
newSrc:
112112
" RNBootSplash.init(this, R.style.BootTheme)" +
113113
(language === "java" ? ";" : ""),

0 commit comments

Comments
 (0)