Skip to content

Commit

Permalink
Update CRAWKWebView.m
Browse files Browse the repository at this point in the history
Define RCTJSNavigationScheme per CRAlpha#235
  • Loading branch information
lukecyca authored Dec 19, 2019
1 parent 365a24e commit 6c495f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ios/RCTWKWebView/CRAWKWebView.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

#import <objc/runtime.h>

// Workaround per https://github.com/CRAlpha/react-native-wkwebview/issues/235
NSString *const RCTJSNavigationScheme = @"react-js-navigation";

// runtime trick to remove WKWebView keyboard default toolbar
// see: http://stackoverflow.com/questions/19033292/ios-7-uiwebview-keyboard-issue/19042279#19042279
@interface _SwizzleHelperWK : NSObject @end
Expand Down

0 comments on commit 6c495f5

Please sign in to comment.