Browse Source

refactor: update repo references with new repo location

Joshua Smith 4 years ago
parent
commit
180e1f990f
8 changed files with 43 additions and 46 deletions
  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 View File

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

+ 13
- 13
README.md View File

1
 # React Native WebView - a Modern, Cross-Platform WebView for React Native
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
 [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
4
 [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
5
 [![All Contributors](https://img.shields.io/badge/all_contributors-16-orange.svg?style=flat-square)](#contributors)
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
 [![NPM Version](https://img.shields.io/npm/v/react-native-webview.svg?style=flat-square)](https://www.npmjs.com/package/react-native-webview)
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
 [![Lean Core Extracted](https://img.shields.io/badge/Lean%20Core-Extracted-brightgreen.svg?style=flat-square)][lean-core-issue]
8
 [![Lean Core Extracted](https://img.shields.io/badge/Lean%20Core-Extracted-brightgreen.svg?style=flat-square)][lean-core-issue]
9
 
9
 
37
 
37
 
38
 Current Version: ![version](https://img.shields.io/npm/v/react-native-webview.svg)
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
 **Upcoming:**
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
 - Kotlin rewrite
53
 - Kotlin rewrite
54
 - Maybe Swift rewrite
54
 - Maybe Swift rewrite
55
 
55
 
78
 
78
 
79
 ## Contributing
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
 ## Contributors
83
 ## Contributors
84
 
84
 

+ 4
- 4
apple/RNCWebView.m View File

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

+ 4
- 4
docs/Custom-Android.md View File

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.
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
 ## Native Code
5
 ## Native Code
6
 
6
 
105
 
105
 
106
 You can trigger the event in your web view client. You can hook existing handlers if your events are based on them.
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
 ```java
110
 ```java
111
 public class NavigationCompletedEvent extends Event<NavigationCompletedEvent> {
111
 public class NavigationCompletedEvent extends Event<NavigationCompletedEvent> {
199
 
199
 
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.
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
 ```javascript
204
 ```javascript
205
 export default class CustomWebView extends Component {
205
 export default class CustomWebView extends Component {
213
     finalUrl: 'about:blank',
213
     finalUrl: 'about:blank',
214
   };
214
   };
215
 
215
 
216
-  _onNavigationCompleted = event => {
216
+  _onNavigationCompleted = (event) => {
217
     const { onNavigationCompleted } = this.props;
217
     const { onNavigationCompleted } = this.props;
218
     onNavigationCompleted && onNavigationCompleted(event);
218
     onNavigationCompleted && onNavigationCompleted(event);
219
   };
219
   };

+ 7
- 10
docs/Guide.md View File

55
 
55
 
56
 ### Loading local HTML files
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
 <details><summary>Show non-working method</summary>
60
 <details><summary>Show non-working method</summary>
61
 
61
 
302
       <View style={{ flex: 1 }}>
302
       <View style={{ flex: 1 }}>
303
         <WebView
303
         <WebView
304
           source={{
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
           onMessage={(event) => {}}
307
           onMessage={(event) => {}}
309
           injectedJavaScript={runFirst}
308
           injectedJavaScript={runFirst}
322
 
321
 
323
 _Under the hood_
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
 > On Android, `injectedJavaScript` runs a method on the Android WebView called `evaluateJavascriptWithFallback`
325
 > On Android, `injectedJavaScript` runs a method on the Android WebView called `evaluateJavascriptWithFallback`
327
 
326
 
328
 #### The `injectedJavaScriptBeforeContentLoaded` prop
327
 #### The `injectedJavaScriptBeforeContentLoaded` prop
344
       <View style={{ flex: 1 }}>
343
       <View style={{ flex: 1 }}>
345
         <WebView
344
         <WebView
346
           source={{
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
           injectedJavaScriptBeforeContentLoaded={runFirst}
348
           injectedJavaScriptBeforeContentLoaded={runFirst}
351
         />
349
         />
357
 
355
 
358
 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.
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
 > On Android, `injectedJavaScript` runs a method on the Android WebView called `evaluateJavascriptWithFallback`
361
 > On Android, `injectedJavaScript` runs a method on the Android WebView called `evaluateJavascriptWithFallback`
364
 > 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.
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
         <WebView
386
         <WebView
389
           ref={(r) => (this.webref = r)}
387
           ref={(r) => (this.webref = r)}
390
           source={{
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
       </View>
392
       </View>

+ 11
- 11
docs/README.portuguese.md View File

1
 # React Native WebView - Um moderno, multiplataforma WebView para React Native
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
 [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
4
 [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
5
 [![All Contributors](https://img.shields.io/badge/all_contributors-16-orange.svg?style=flat-square)](#contributors)
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
 <a href="https://www.npmjs.com/package/react-native-webview"><img src="https://img.shields.io/npm/v/react-native-webview.svg"></a>
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
 **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)).
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
 
36
 
37
 Versão atual: ![version](https://img.shields.io/npm/v/react-native-webview.svg)
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
 **Seguinte:**
50
 **Seguinte:**
51
 
51
 
52
 - remoção do this.webView.postMessage() (
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
 - Reescrita em Kotlin
54
 - Reescrita em Kotlin
55
 - talvez reescrita em Swift
55
 - talvez reescrita em Swift
56
 
56
 
79
 
79
 
80
 ## Contribuindo
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
 ## Contribuidores
84
 ## Contribuidores
85
 
85
 

+ 2
- 2
package.json View File

9
   ],
9
   ],
10
   "license": "MIT",
10
   "license": "MIT",
11
   "version": "10.9.0",
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
   "scripts": {
13
   "scripts": {
14
     "start": "node node_modules/react-native/local-cli/cli.js start",
14
     "start": "node node_modules/react-native/local-cli/cli.js start",
15
     "start:android": "react-native run-android",
15
     "start:android": "react-native run-android",
74
   },
74
   },
75
   "repository": {
75
   "repository": {
76
     "type": "git",
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
   "files": [
79
   "files": [
80
     "android",
80
     "android",

+ 1
- 1
react-native-webview.podspec View File

12
   s.homepage     = package['homepage']
12
   s.homepage     = package['homepage']
13
   s.platforms    = { :ios => "9.0", :osx => "10.14" }
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
   s.source_files  = "apple/**/*.{h,m}"
16
   s.source_files  = "apple/**/*.{h,m}"
17
 
17
 
18
   s.dependency 'React'
18
   s.dependency 'React'