Ver código fonte

fix(iOS): javaScriptEnabled property (#826)

Arjan Zuidema 5 anos atrás
pai
commit
d87bb58208
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      ios/RNCWKWebViewManager.m

+ 1
- 0
ios/RNCWKWebViewManager.m Ver arquivo

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