Browse Source

fix(iOS) exported view property "injectedJavaScriptBeforeContentLoadedForMainFrameOnly" now has correct name.

Jamie Birch 4 years ago
parent
commit
14de90b098
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ios/RNCWebViewManager.m

+ 1
- 1
ios/RNCWebViewManager.m View File

@@ -53,7 +53,7 @@ RCT_EXPORT_VIEW_PROPERTY(onContentProcessDidTerminate, RCTDirectEventBlock)
53 53
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScript, NSString)
54 54
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptBeforeContentLoaded, NSString)
55 55
 RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptForMainFrameOnly, BOOL)
56
-RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptForMainFrameOnlyBeforeContentLoaded, BOOL)
56
+RCT_EXPORT_VIEW_PROPERTY(injectedJavaScriptBeforeContentLoadedForMainFrameOnly, BOOL)
57 57
 RCT_EXPORT_VIEW_PROPERTY(javaScriptEnabled, BOOL)
58 58
 RCT_EXPORT_VIEW_PROPERTY(allowFileAccessFromFileURLs, BOOL)
59 59
 RCT_EXPORT_VIEW_PROPERTY(allowsInlineMediaPlayback, BOOL)