Skip to content

Commit 6c495f5

Browse files
authored
Update CRAWKWebView.m
Define RCTJSNavigationScheme per CRAlpha#235
1 parent 365a24e commit 6c495f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ios/RCTWKWebView/CRAWKWebView.m

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
#import <objc/runtime.h>
1616

17+
// Workaround per https://github.com/CRAlpha/react-native-wkwebview/issues/235
18+
NSString *const RCTJSNavigationScheme = @"react-js-navigation";
19+
1720
// runtime trick to remove WKWebView keyboard default toolbar
1821
// see: http://stackoverflow.com/questions/19033292/ios-7-uiwebview-keyboard-issue/19042279#19042279
1922
@interface _SwizzleHelperWK : NSObject @end

0 commit comments

Comments
 (0)