Skip to content

Commit 560d4c4

Browse files
Expose [Splashscreen show] native method to JS
We need to be able to invoke `SplashScreen.show()` during in-app deep linking.
1 parent 31243df commit 560d4c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ios/SplashScreen.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,8 @@ + (void) jsLoadError:(NSNotification*)notification
4848
[SplashScreen hide];
4949
}
5050

51+
RCT_EXPORT_METHOD(show) {
52+
[SplashScreen show];
53+
}
54+
5155
@end

0 commit comments

Comments
 (0)