Joshua Smith 4 년 전
부모
커밋
7e657cc9ed
No account linked to committer's email address
8개의 변경된 파일43개의 추가작업 그리고 46개의 파일을 삭제
  1. 1
    1
      .all-contributorsrc
  2. 13
    13
      README.md
  3. 4
    4
      apple/RNCWebView.m
  4. 4
    4
      docs/Custom-Android.md
  5. 7
    10
      docs/Guide.md
  6. 11
    11
      docs/README.portuguese.md
  7. 2
    2
      package.json
  8. 1
    1
      react-native-webview.podspec

+ 1
- 1
.all-contributorsrc 파일 보기

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "projectName": "react-native-webview",
3
-  "projectOwner": "react-native-community",
3
+  "projectOwner": "react-native-webview",
4 4
   "repoType": "github",
5 5
   "repoHost": "https://github.com",
6 6
   "files": [

+ 13
- 13
README.md 파일 보기

@@ -1,9 +1,9 @@
1 1
 # React Native WebView - a Modern, Cross-Platform WebView for React Native
2 2
 
3
-[![star this repo](http://githubbadges.com/star.svg?user=react-native-community&repo=react-native-webview&style=flat)](https://github.com/react-native-community/react-native-webview)
3
+[![star this repo](http://githubbadges.com/star.svg?user=react-native-webview&repo=react-native-webview&style=flat)](https://github.com/react-native-webview/react-native-webview)
4 4
 [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
5 5
 [![All Contributors](https://img.shields.io/badge/all_contributors-16-orange.svg?style=flat-square)](#contributors)
6
-[![Known Vulnerabilities](https://snyk.io/test/github/react-native-community/react-native-webview/badge.svg?style=flat-square)](https://snyk.io/test/github/react-native-community/react-native-webview)
6
+[![Known Vulnerabilities](https://snyk.io/test/github/react-native-webview/react-native-webview/badge.svg?style=flat-square)](https://snyk.io/test/github/react-native-webview/react-native-webview)
7 7
 [![NPM Version](https://img.shields.io/npm/v/react-native-webview.svg?style=flat-square)](https://www.npmjs.com/package/react-native-webview)
8 8
 [![Lean Core Extracted](https://img.shields.io/badge/Lean%20Core-Extracted-brightgreen.svg?style=flat-square)][lean-core-issue]
9 9
 
@@ -37,19 +37,19 @@ This project follows [semantic versioning](https://semver.org/). We do not hesit
37 37
 
38 38
 Current Version: ![version](https://img.shields.io/npm/v/react-native-webview.svg)
39 39
 
40
-- [10.0.0](https://github.com/react-native-community/react-native-webview/releases/tag/v10.0.0) - Android Gradle plugin is only required when opening the project stand-alone
41
-- [9.0.0](https://github.com/react-native-community/react-native-webview/releases/tag/v9.0.0) - props updates to injectedJavaScript are no longer immutable.
42
-- [8.0.0](https://github.com/react-native-community/react-native-webview/releases/tag/v8.0.0) - onNavigationStateChange now triggers with hash url changes
43
-- [7.0.1](https://github.com/react-native-community/react-native-webview/releases/tag/v7.0.1) - Removed UIWebView
44
-- [6.0.**2**](https://github.com/react-native-community/react-native-webview/releases/tag/v6.0.2) - Update to AndroidX. Make sure to enable it in your project's `android/gradle.properties`. See [Getting Started Guide](docs/Getting-Started.md).
45
-- [5.0.**1**](https://github.com/react-native-community/react-native-webview/releases/tag/v5.0.0) - Refactored the old postMessage implementation for communication from webview to native.
46
-- [4.0.0](https://github.com/react-native-community/react-native-webview/releases/tag/v4.0.0) - Added cache (enabled by default).
47
-- [3.0.0](https://github.com/react-native-community/react-native-webview/releases/tag/v3.0.0) - WKWebview: Add shared process pool so cookies and localStorage are shared across webviews in iOS (enabled by default).
48
-- [2.0.0](https://github.com/react-native-community/react-native-webview/releases/tag/v2.0.0) - First release this is a replica of the core webview component
40
+- [10.0.0](https://github.com/react-native-webview/react-native-webview/releases/tag/v10.0.0) - Android Gradle plugin is only required when opening the project stand-alone
41
+- [9.0.0](https://github.com/react-native-webview/react-native-webview/releases/tag/v9.0.0) - props updates to injectedJavaScript are no longer immutable.
42
+- [8.0.0](https://github.com/react-native-webview/react-native-webview/releases/tag/v8.0.0) - onNavigationStateChange now triggers with hash url changes
43
+- [7.0.1](https://github.com/react-native-webview/react-native-webview/releases/tag/v7.0.1) - Removed UIWebView
44
+- [6.0.**2**](https://github.com/react-native-webview/react-native-webview/releases/tag/v6.0.2) - Update to AndroidX. Make sure to enable it in your project's `android/gradle.properties`. See [Getting Started Guide](docs/Getting-Started.md).
45
+- [5.0.**1**](https://github.com/react-native-webview/react-native-webview/releases/tag/v5.0.0) - Refactored the old postMessage implementation for communication from webview to native.
46
+- [4.0.0](https://github.com/react-native-webview/react-native-webview/releases/tag/v4.0.0) - Added cache (enabled by default).
47
+- [3.0.0](https://github.com/react-native-webview/react-native-webview/releases/tag/v3.0.0) - WKWebview: Add shared process pool so cookies and localStorage are shared across webviews in iOS (enabled by default).
48
+- [2.0.0](https://github.com/react-native-webview/react-native-webview/releases/tag/v2.0.0) - First release this is a replica of the core webview component
49 49
 
50 50
 **Upcoming:**
51 51
 
52
-- this.webView.postMessage() removal (never documented and less flexible than injectJavascript) -> [how to migrate](https://github.com/react-native-community/react-native-webview/issues/809)
52
+- this.webView.postMessage() removal (never documented and less flexible than injectJavascript) -> [how to migrate](https://github.com/react-native-webview/react-native-webview/issues/809)
53 53
 - Kotlin rewrite
54 54
 - Maybe Swift rewrite
55 55
 
@@ -78,7 +78,7 @@ For more, read the [API Reference](./docs/Reference.md) and [Guide](./docs/Guide
78 78
 
79 79
 ## Contributing
80 80
 
81
-See [Contributing.md](https://github.com/react-native-community/react-native-webview/blob/master/docs/Contributing.md)
81
+See [Contributing.md](https://github.com/react-native-webview/react-native-webview/blob/master/docs/Contributing.md)
82 82
 
83 83
 ## Contributors
84 84
 

+ 4
- 4
apple/RNCWebView.m 파일 보기

@@ -99,7 +99,7 @@ static NSDictionary* customCertificatesForHost;
99 99
   BOOL _savedKeyboardDisplayRequiresUserAction;
100 100
 
101 101
   // Workaround for StatusBar appearance bug for iOS 12
102
-  // https://github.com/react-native-community/react-native-webview/issues/62
102
+  // https://github.com/react-native-webview/react-native-webview/issues/62
103 103
   BOOL _isFullScreenVideoOpen;
104 104
 #if !TARGET_OS_OSX
105 105
   UIStatusBarStyle _savedStatusBarStyle;
@@ -165,7 +165,7 @@ static NSDictionary* customCertificatesForHost;
165 165
       name:UIKeyboardWillShowNotification object:nil];
166 166
 
167 167
     // Workaround for StatusBar appearance bug for iOS 12
168
-    // https://github.com/react-native-community/react-native-webview/issues/62
168
+    // https://github.com/react-native-webview/react-native-webview/issues/62
169 169
       [[NSNotificationCenter defaultCenter] addObserver:self
170 170
                                                selector:@selector(showFullScreenVideoStatusBars)
171 171
                                                    name:UIWindowDidBecomeVisibleNotification
@@ -282,7 +282,7 @@ static NSDictionary* customCertificatesForHost;
282 282
     _webView.scrollView.scrollEnabled = _scrollEnabled;
283 283
     _webView.scrollView.pagingEnabled = _pagingEnabled;
284 284
       //For UIRefreshControl to work correctly, the bounces should always be true
285
-    _webView.scrollView.bounces = _pullToRefreshEnabled || _bounces; 
285
+    _webView.scrollView.bounces = _pullToRefreshEnabled || _bounces;
286 286
     _webView.scrollView.showsHorizontalScrollIndicator = _showsHorizontalScrollIndicator;
287 287
     _webView.scrollView.showsVerticalScrollIndicator = _showsVerticalScrollIndicator;
288 288
     _webView.scrollView.directionalLockEnabled = _directionalLockEnabled;
@@ -1155,7 +1155,7 @@ static NSDictionary* customCertificatesForHost;
1155 1155
 - (void)setPullToRefreshEnabled:(BOOL)pullToRefreshEnabled
1156 1156
 {
1157 1157
     _pullToRefreshEnabled = pullToRefreshEnabled;
1158
-    
1158
+
1159 1159
     if (pullToRefreshEnabled) {
1160 1160
         [self addPullToRefreshControl];
1161 1161
     } else {

+ 4
- 4
docs/Custom-Android.md 파일 보기

@@ -1,6 +1,6 @@
1 1
 While the built-in web view has a lot of features, it is not possible to handle every use-case in React Native. You can, however, extend the web view with native code without forking React Native or duplicating all the existing web view code.
2 2
 
3
-Before you do this, you should be familiar with the concepts in [native UI components](https://reactnative.dev/docs/native-components-android). You should also familiarise yourself with the [native code for web views](https://github.com/react-native-community/react-native-webview/blob/master/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java), as you will have to use this as a reference when implementing new features—although a deep understanding is not required.
3
+Before you do this, you should be familiar with the concepts in [native UI components](https://reactnative.dev/docs/native-components-android). You should also familiarise yourself with the [native code for web views](https://github.com/react-native-webview/react-native-webview/blob/master/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java), as you will have to use this as a reference when implementing new features—although a deep understanding is not required.
4 4
 
5 5
 ## Native Code
6 6
 
@@ -105,7 +105,7 @@ public class NavigationCompletedEvent extends Event<NavigationCompletedEvent> {
105 105
 
106 106
 You can trigger the event in your web view client. You can hook existing handlers if your events are based on them.
107 107
 
108
-You should refer to [RNCWebViewManager.java](https://github.com/react-native-community/react-native-webview/blob/master/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java) in the react-native-webview codebase to see what handlers are available and how they are implemented. You can extend any methods here to provide extra functionality.
108
+You should refer to [RNCWebViewManager.java](https://github.com/react-native-webview/react-native-webview/blob/master/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java) in the react-native-webview codebase to see what handlers are available and how they are implemented. You can extend any methods here to provide extra functionality.
109 109
 
110 110
 ```java
111 111
 public class NavigationCompletedEvent extends Event<NavigationCompletedEvent> {
@@ -199,7 +199,7 @@ If you want to add custom props to your native component, you can use `nativeCon
199 199
 
200 200
 For events, the event handler must always be set to a function. This means it isn't safe to use the event handler directly from `this.props`, as the user might not have provided one. The standard approach is to create a event handler in your class, and then invoking the event handler given in `this.props` if it exists.
201 201
 
202
-If you are unsure how something should be implemented from the JS side, look at [WebView.android.js](https://github.com/react-native-community/react-native-webview/blob/master/js/WebView.android.js) in the React Native source.
202
+If you are unsure how something should be implemented from the JS side, look at [WebView.android.js](https://github.com/react-native-webview/react-native-webview/blob/master/js/WebView.android.js) in the React Native source.
203 203
 
204 204
 ```javascript
205 205
 export default class CustomWebView extends Component {
@@ -213,7 +213,7 @@ export default class CustomWebView extends Component {
213 213
     finalUrl: 'about:blank',
214 214
   };
215 215
 
216
-  _onNavigationCompleted = event => {
216
+  _onNavigationCompleted = (event) => {
217 217
     const { onNavigationCompleted } = this.props;
218 218
     onNavigationCompleted && onNavigationCompleted(event);
219 219
   };

+ 7
- 10
docs/Guide.md 파일 보기

@@ -55,7 +55,7 @@ class MyWeb extends Component {
55 55
 
56 56
 ### Loading local HTML files
57 57
 
58
-Note: This is currently not working as discussed in [#428](https://github.com/react-native-community/react-native-webview/issues/428) and [#518](https://github.com/react-native-community/react-native-webview/issues/518). Possible workarounds include bundling all assets with webpack or similar, or running a [local webserver](https://github.com/futurepress/react-native-static-server).
58
+Note: This is currently not working as discussed in [#428](https://github.com/react-native-webview/react-native-webview/issues/428) and [#518](https://github.com/react-native-webview/react-native-webview/issues/518). Possible workarounds include bundling all assets with webpack or similar, or running a [local webserver](https://github.com/futurepress/react-native-static-server).
59 59
 
60 60
 <details><summary>Show non-working method</summary>
61 61
 
@@ -302,8 +302,7 @@ export default class App extends Component {
302 302
       <View style={{ flex: 1 }}>
303 303
         <WebView
304 304
           source={{
305
-            uri:
306
-              'https://github.com/react-native-community/react-native-webview',
305
+            uri: 'https://github.com/react-native-webview/react-native-webview',
307 306
           }}
308 307
           onMessage={(event) => {}}
309 308
           injectedJavaScript={runFirst}
@@ -322,7 +321,7 @@ By setting `injectedJavaScriptForMainFrameOnly: false`, the JavaScript injection
322 321
 
323 322
 _Under the hood_
324 323
 
325
-> On iOS, ~~`injectedJavaScript` runs a method on WebView called `evaluateJavaScript:completionHandler:`~~ – this is no longer true as of version `8.2.0`. Instead, we use a `WKUserScript` with injection time `WKUserScriptInjectionTimeAtDocumentEnd`. As a consequence, `injectedJavaScript` no longer returns an evaluation value nor logs a warning to the console. In the unlikely event that your app depended upon this behaviour, please see migration steps [here](https://github.com/react-native-community/react-native-webview/pull/1119#issuecomment-574919464) to retain equivalent behaviour.
324
+> On iOS, ~~`injectedJavaScript` runs a method on WebView called `evaluateJavaScript:completionHandler:`~~ – this is no longer true as of version `8.2.0`. Instead, we use a `WKUserScript` with injection time `WKUserScriptInjectionTimeAtDocumentEnd`. As a consequence, `injectedJavaScript` no longer returns an evaluation value nor logs a warning to the console. In the unlikely event that your app depended upon this behaviour, please see migration steps [here](https://github.com/react-native-webview/react-native-webview/pull/1119#issuecomment-574919464) to retain equivalent behaviour.
326 325
 > On Android, `injectedJavaScript` runs a method on the Android WebView called `evaluateJavascriptWithFallback`
327 326
 
328 327
 #### The `injectedJavaScriptBeforeContentLoaded` prop
@@ -344,8 +343,7 @@ export default class App extends Component {
344 343
       <View style={{ flex: 1 }}>
345 344
         <WebView
346 345
           source={{
347
-            uri:
348
-              'https://github.com/react-native-community/react-native-webview',
346
+            uri: 'https://github.com/react-native-webview/react-native-webview',
349 347
           }}
350 348
           injectedJavaScriptBeforeContentLoaded={runFirst}
351 349
         />
@@ -357,9 +355,9 @@ export default class App extends Component {
357 355
 
358 356
 This runs the JavaScript in the `runFirst` string before the page is loaded. In this case, the value of `window.isNativeApp` will be set to true before the web code executes.
359 357
 
360
-By setting `injectedJavaScriptBeforeContentLoadedForMainFrameOnly: false`, the JavaScript injection will occur on all frames (not just the top frame) if supported for the given platform. However, although support for `injectedJavaScriptBeforeContentLoadedForMainFrameOnly: false` has been implemented for iOS and macOS, [it is not clear](https://github.com/react-native-community/react-native-webview/pull/1119#issuecomment-600275750) that it is actually possible to inject JS into iframes at this point in the page lifecycle, and so relying on the expected behaviour of this prop when set to `false` is not recommended.
358
+By setting `injectedJavaScriptBeforeContentLoadedForMainFrameOnly: false`, the JavaScript injection will occur on all frames (not just the top frame) if supported for the given platform. However, although support for `injectedJavaScriptBeforeContentLoadedForMainFrameOnly: false` has been implemented for iOS and macOS, [it is not clear](https://github.com/react-native-webview/react-native-webview/pull/1119#issuecomment-600275750) that it is actually possible to inject JS into iframes at this point in the page lifecycle, and so relying on the expected behaviour of this prop when set to `false` is not recommended.
361 359
 
362
-> On iOS, ~~`injectedJavaScriptBeforeContentLoaded` runs a method on WebView called `evaluateJavaScript:completionHandler:`~~ – this is no longer true as of version `8.2.0`. Instead, we use a `WKUserScript` with injection time `WKUserScriptInjectionTimeAtDocumentStart`. As a consequence, `injectedJavaScriptBeforeContentLoaded` no longer returns an evaluation value nor logs a warning to the console. In the unlikely event that your app depended upon this behaviour, please see migration steps [here](https://github.com/react-native-community/react-native-webview/pull/1119#issuecomment-574919464) to retain equivalent behaviour.
360
+> On iOS, ~~`injectedJavaScriptBeforeContentLoaded` runs a method on WebView called `evaluateJavaScript:completionHandler:`~~ – this is no longer true as of version `8.2.0`. Instead, we use a `WKUserScript` with injection time `WKUserScriptInjectionTimeAtDocumentStart`. As a consequence, `injectedJavaScriptBeforeContentLoaded` no longer returns an evaluation value nor logs a warning to the console. In the unlikely event that your app depended upon this behaviour, please see migration steps [here](https://github.com/react-native-webview/react-native-webview/pull/1119#issuecomment-574919464) to retain equivalent behaviour.
363 361
 > On Android, `injectedJavaScript` runs a method on the Android WebView called `evaluateJavascriptWithFallback`
364 362
 > Note on Android Compatibility: For applications targeting `Build.VERSION_CODES.N` or later, JavaScript state from an empty WebView is no longer persisted across navigations like `loadUrl(java.lang.String)`. For example, global variables and functions defined before calling `loadUrl(java.lang.String)` will not exist in the loaded page. Applications should use the Android Native API `addJavascriptInterface(Object, String)` instead to persist JavaScript objects across navigations.
365 363
 
@@ -388,8 +386,7 @@ export default class App extends Component {
388 386
         <WebView
389 387
           ref={(r) => (this.webref = r)}
390 388
           source={{
391
-            uri:
392
-              'https://github.com/react-native-community/react-native-webview',
389
+            uri: 'https://github.com/react-native-webview/react-native-webview',
393 390
           }}
394 391
         />
395 392
       </View>

+ 11
- 11
docs/README.portuguese.md 파일 보기

@@ -1,9 +1,9 @@
1 1
 # React Native WebView - Um moderno, multiplataforma WebView para React Native
2 2
 
3
-[![star this repo](http://githubbadges.com/star.svg?user=react-native-community&repo=react-native-webview&style=flat)](https://github.com/react-native-community/react-native-webview)
3
+[![star this repo](http://githubbadges.com/star.svg?user=react-native-webview&repo=react-native-webview&style=flat)](https://github.com/react-native-webview/react-native-webview)
4 4
 [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
5 5
 [![All Contributors](https://img.shields.io/badge/all_contributors-16-orange.svg?style=flat-square)](#contributors)
6
-[![Known Vulnerabilities](https://snyk.io/test/github/react-native-community/react-native-webview/badge.svg?style=flat-square)](https://snyk.io/test/github/react-native-community/react-native-webview)
6
+[![Known Vulnerabilities](https://snyk.io/test/github/react-native-webview/react-native-webview/badge.svg?style=flat-square)](https://snyk.io/test/github/react-native-webview/react-native-webview)
7 7
 <a href="https://www.npmjs.com/package/react-native-webview"><img src="https://img.shields.io/npm/v/react-native-webview.svg"></a>
8 8
 
9 9
 **React Native WebView** é um moderno, bem apoiado, e multiplataforma WebView para React Native. É projetado para substituir o WebView embutido(que sera [removido do core](https://github.com/react-native-community/discussions-and-proposals/pull/3)).
@@ -36,21 +36,21 @@ Esse projeto segue [versionamento semântico](https://semver.org/). Não hesitam
36 36
 
37 37
 Versão atual: ![version](https://img.shields.io/npm/v/react-native-webview.svg)
38 38
 
39
-- [8.0.0](https://github.com/react-native-community/react-native-webview/releases/tag/v8.0.0) - onNavigationStateChange agora é disparado quando alterado o hash da URL.
39
+- [8.0.0](https://github.com/react-native-webview/react-native-webview/releases/tag/v8.0.0) - onNavigationStateChange agora é disparado quando alterado o hash da URL.
40 40
 
41
-- [7.0.1](https://github.com/react-native-community/react-native-webview/releases/tag/v7.0.1) - UIWebView removido.
41
+- [7.0.1](https://github.com/react-native-webview/react-native-webview/releases/tag/v7.0.1) - UIWebView removido.
42 42
 
43
-- [6.0.**2**](https://github.com/react-native-community/react-native-webview/releases/tag/v6.0.2) - Update para AndroidX. Tenha certeza de habilitar no `android/gradle.properties` do seu projeto. Veja o [Getting Started Guide](https://github.com/react-native-community/react-native-webview/blob/master/docs/Getting-Started.md).
43
+- [6.0.**2**](https://github.com/react-native-webview/react-native-webview/releases/tag/v6.0.2) - Update para AndroidX. Tenha certeza de habilitar no `android/gradle.properties` do seu projeto. Veja o [Getting Started Guide](https://github.com/react-native-webview/react-native-webview/blob/master/docs/Getting-Started.md).
44 44
 
45
-- [5.0.**1**](https://github.com/react-native-community/react-native-webview/releases/tag/v5.0.0) - Refatorou a antiga implementação postMessage para comunicação da visualização da webview para nativa.
46
-- [4.0.0](https://github.com/react-native-community/react-native-webview/releases/tag/v4.0.0) - Cache adicionada(habilitada por padrão).
47
-- [3.0.0](https://github.com/react-native-community/react-native-webview/releases/tag/v3.0.0) - WKWebview: Adicionado um pool de processos compartilhados para que os cookies e o localStorage sejam compartilhados nas webviews no iOS (habilitadas por padrão)
48
-- [2.0.0](https://github.com/react-native-community/react-native-webview/releases/tag/v2.0.0) - Primeiro lançamento, esta é uma réplica do componente principal do webview.
45
+- [5.0.**1**](https://github.com/react-native-webview/react-native-webview/releases/tag/v5.0.0) - Refatorou a antiga implementação postMessage para comunicação da visualização da webview para nativa.
46
+- [4.0.0](https://github.com/react-native-webview/react-native-webview/releases/tag/v4.0.0) - Cache adicionada(habilitada por padrão).
47
+- [3.0.0](https://github.com/react-native-webview/react-native-webview/releases/tag/v3.0.0) - WKWebview: Adicionado um pool de processos compartilhados para que os cookies e o localStorage sejam compartilhados nas webviews no iOS (habilitadas por padrão)
48
+- [2.0.0](https://github.com/react-native-webview/react-native-webview/releases/tag/v2.0.0) - Primeiro lançamento, esta é uma réplica do componente principal do webview.
49 49
 
50 50
 **Seguinte:**
51 51
 
52 52
 - remoção do this.webView.postMessage() (
53
-  nunca documentado e menos flexível que o injectJavascript) -> [Como migrar](https://github.com/react-native-community/react-native-webview/issues/809)
53
+  nunca documentado e menos flexível que o injectJavascript) -> [Como migrar](https://github.com/react-native-webview/react-native-webview/issues/809)
54 54
 - Reescrita em Kotlin
55 55
 - talvez reescrita em Swift
56 56
 
@@ -79,7 +79,7 @@ Para mais informações, leia a [API Reference](./docs/Reference.md) e o [Guia](
79 79
 
80 80
 ## Contribuindo
81 81
 
82
-Veja [Contributing.md](https://github.com/react-native-community/react-native-webview/blob/master/docs/Contributing.md)
82
+Veja [Contributing.md](https://github.com/react-native-webview/react-native-webview/blob/master/docs/Contributing.md)
83 83
 
84 84
 ## Contribuidores
85 85
 

+ 2
- 2
package.json 파일 보기

@@ -9,7 +9,7 @@
9 9
   ],
10 10
   "license": "MIT",
11 11
   "version": "10.9.0",
12
-  "homepage": "https://github.com/react-native-community/react-native-webview#readme",
12
+  "homepage": "https://github.com/react-native-webview/react-native-webview#readme",
13 13
   "scripts": {
14 14
     "start": "node node_modules/react-native/local-cli/cli.js start",
15 15
     "start:android": "react-native run-android",
@@ -74,7 +74,7 @@
74 74
   },
75 75
   "repository": {
76 76
     "type": "git",
77
-    "url": "https://github.com/react-native-community/react-native-webview.git"
77
+    "url": "https://github.com/react-native-webview/react-native-webview.git"
78 78
   },
79 79
   "files": [
80 80
     "android",

+ 1
- 1
react-native-webview.podspec 파일 보기

@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
12 12
   s.homepage     = package['homepage']
13 13
   s.platforms    = { :ios => "9.0", :osx => "10.14" }
14 14
 
15
-  s.source       = { :git => "https://github.com/react-native-community/react-native-webview.git", :tag => "v#{s.version}" }
15
+  s.source       = { :git => "https://github.com/react-native-webview/react-native-webview.git", :tag => "v#{s.version}" }
16 16
   s.source_files  = "apple/**/*.{h,m}"
17 17
 
18 18
   s.dependency 'React'