Browse Source

fix(iOS): javaScriptEnabled property (#826)

Arjan Zuidema 5 years ago
parent
commit
d87bb58208
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      ios/RNCWKWebViewManager.m

+ 1
- 0
ios/RNCWKWebViewManager.m View File

49
 RCT_EXPORT_VIEW_PROPERTY(onLoadingProgress, RCTDirectEventBlock)
49
 RCT_EXPORT_VIEW_PROPERTY(onLoadingProgress, RCTDirectEventBlock)
50
 RCT_EXPORT_VIEW_PROPERTY(onShouldStartLoadWithRequest, RCTDirectEventBlock)
50
 RCT_EXPORT_VIEW_PROPERTY(onShouldStartLoadWithRequest, RCTDirectEventBlock)
51
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScript, NSString)
51
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScript, NSString)
52
+RCT_EXPORT_VIEW_PROPERTY(javaScriptEnabled, BOOL)
52
 RCT_EXPORT_VIEW_PROPERTY(allowsInlineMediaPlayback, BOOL)
53
 RCT_EXPORT_VIEW_PROPERTY(allowsInlineMediaPlayback, BOOL)
53
 RCT_EXPORT_VIEW_PROPERTY(mediaPlaybackRequiresUserAction, BOOL)
54
 RCT_EXPORT_VIEW_PROPERTY(mediaPlaybackRequiresUserAction, BOOL)
54
 #if WEBKIT_IOS_10_APIS_AVAILABLE
55
 #if WEBKIT_IOS_10_APIS_AVAILABLE