You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a95baf2
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/community-navigators.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ This project aims to expose the native Bottom Tabs component to React Native. It
26
26
27
27
The library provides React Navigation integration for its Material Bottom Tabs. Material Bottom Tabs is a material-design themed tab bar on the bottom of the screen that lets you switch between different routes with animation.
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/contributing.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ yarn example start
144
144
145
145
### Run Tests
146
146
147
-
React Navigation has tests implemented in [Jest](https://facebook.github.io/jest/). To run either of these, from the React Navigation directory, run either of the following commands (after installing the `node_modules`) to run tests or type-checking.
147
+
React Navigation has tests implemented in [Jest](https://jestjs.io/). To run either of these, from the React Navigation directory, run either of the following commands (after installing the `node_modules`) to run tests or type-checking.
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/customizing-bottom-tabs.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -273,7 +273,7 @@ export default function App() {
273
273
</TabItem>
274
274
</ConfigTabs>
275
275
276
-
From UI perspective this component is ready to use, but you still need to find some way to pass down the badge count properly from somewhere else, like using [React Context](https://react.dev/reference/react/useContext), [Redux](https://redux.js.org/), [MobX](https://mobx.js.org/) or [event emitters](https://github.com/facebook/react-native/blob/master/Libraries/vendor/emitter/EventEmitter.js).
276
+
From UI perspective this component is ready to use, but you still need to find some way to pass down the badge count properly from somewhere else, like using [React Context](https://react.dev/reference/react/useContext), [Redux](https://redux.js.org/), [MobX](https://mobx.js.org/) or event emitters.
277
277
278
278
You can also update the badge from within the screen component by using the `setOptions` method:
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/deep-linking.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ To set up Android App Links in your Expo app, you need to configure your [app co
117
117
}
118
118
```
119
119
120
-
You will also need to [declare the association](https://developer.android.com/training/app-links/verify-android-applinks#web-assoc) between your website and your intent filters by hosting a Digital Asset Links JSON file.
120
+
You will also need to [declare the association](https://developer.android.com/training/app-links/configure-assetlinks#declare-website) between your website and your intent filters by hosting a Digital Asset Links JSON file.
121
121
122
122
See [Expo's documentation on Android App Links](https://docs.expo.dev/linking/android-app-links/) for more details.
123
123
@@ -225,7 +225,7 @@ The easiest way to do this is with the `uri-scheme` package: `npx uri-scheme add
225
225
If you want to add it manually, open up `SimpleApp/android/app/src/main/AndroidManifest.xml`, and make the following adjustments:
226
226
227
227
1. Set `launchMode` of `MainActivity` to `singleTask` in order to receive intent on existing `MainActivity` (this is the default, so you may not need to actually change anything).
228
-
2. Add the new [`intent-filter`](http://developer.android.com/training/app-indexing/deep-linking.html#adding-filters) inside the `MainActivity` entry with a `VIEW` type action:
228
+
2. Add the new [`intent-filter`](https://developer.android.com/training/app-links/create-deeplinks#add-intent) inside the `MainActivity` entry with a `VIEW` type action:
229
229
230
230
```xml
231
231
<activity
@@ -276,7 +276,7 @@ After adding them, it should look like this:
276
276
</activity>
277
277
```
278
278
279
-
Then, you need to [declare the association](https://developer.android.com/training/app-links/verify-android-applinks#web-assoc) between your website and your intent filters by hosting a Digital Asset Links JSON file.
279
+
Then, you need to [declare the association](https://developer.android.com/training/app-links/configure-assetlinks#declare-website) between your website and your intent filters by hosting a Digital Asset Links JSON file.
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/drawer-layout.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,7 +181,7 @@ This is only supported on iOS and Android.
181
181
182
182
#### `configureGestureHandler`
183
183
184
-
Callback to configure the underlying [gesture from `react-native-gesture-handler`](https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/gesture). It receives the `gesture` object as an argument:
184
+
Callback to configure the underlying [Pan gesture from `react-native-gesture-handler`](https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/use-pan-gesture/). It receives the `gesture` object as an argument:
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/drawer-navigator.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -578,7 +578,7 @@ Style object for the component wrapping the screen content.
578
578
579
579
#### `configureGestureHandler`
580
580
581
-
Callback to configure the underlying [gesture from `react-native-gesture-handler`](https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/gesture). It receives the `gesture` object as an argument:
581
+
Callback to configure the underlying [Pan gesture from `react-native-gesture-handler`](https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/use-pan-gesture/). It receives the `gesture` object as an argument:
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/elements.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -448,7 +448,7 @@ This is useful if you want to render a semi-transparent header or a blurred back
448
448
449
449
Note that if you don't want your content to appear under the header, you need to manually add a top margin to your content. React Navigation won't do it automatically.
450
450
451
-
To get the height of the header, you can use [`HeaderHeightContext`](#headerheightcontext) with [React's Context API](https://react.dev/reference/react/useContext#contextconsumer) or [`useHeaderHeight`](#useheaderheight).
451
+
To get the height of the header, you can use [`HeaderHeightContext`](#headerheightcontext) with [React's Context API](https://react.dev/reference/react/createContext#consumer) or [`useHeaderHeight`](#useheaderheight).
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/from-expo-router.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ React Navigation provides a lot of control and flexibility, which is useful for
46
46
47
47
#### React Navigation is maintained by Expo
48
48
49
-
React Navigation was originally started by [Brent Vatne](https://github.com/brentvatne) from [Expo](https://docs.expo.dev/) and [Eric Vicenti](https://github.com/ericvicenti) from Facebook (now Meta). React Navigation 5 was a complete rewrite sponsored by Expo and led by [Satyajit Sahoo](https://github.com/satya164) from [Callstack](https://callstack.com/) in collaboration with [Michał Osadnik](https://github.com/osdnk) from [Software Mansion](https://www.software-mansion.com/). For the past few years, the project has been primarily maintained by Satyajit Sahoo with support from Callstack and Software Mansion. Neither Expo nor the Expo Router team is involved in its ongoing development, maintenance, or roadmap.
49
+
React Navigation was originally started by [Brent Vatne](https://github.com/brentvatne) from [Expo](https://docs.expo.dev/) and [Eric Vicenti](https://github.com/ericvicenti) from Facebook (now Meta). React Navigation 5 was a complete rewrite sponsored by Expo and led by [Satyajit Sahoo](https://github.com/satya164) from [Callstack](https://callstack.com/) in collaboration with [Michał Osadnik](https://github.com/osdnk) from [Software Mansion](https://swmansion.com/). For the past few years, the project has been primarily maintained by Satyajit Sahoo with support from Callstack and Software Mansion. Neither Expo nor the Expo Router team is involved in its ongoing development, maintenance, or roadmap.
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/native-stack-navigator.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -786,7 +786,7 @@ This is useful if you want to render a semi-transparent header or a blurred back
786
786
787
787
Note that if you don't want your content to appear under the header, you need to manually add a top margin to your content. React Navigation won't do it automatically.
788
788
789
-
To get the height of the header, you can use [`HeaderHeightContext`](elements.md#headerheightcontext) with [React's Context API](https://react.dev/reference/react/useContext#contextconsumer) or [`useHeaderHeight`](elements.md#useheaderheight).
789
+
To get the height of the header, you can use [`HeaderHeightContext`](elements.md#headerheightcontext) with [React's Context API](https://react.dev/reference/react/createContext#consumer) or [`useHeaderHeight`](elements.md#useheaderheight).
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/troubleshooting.md
+1-11Lines changed: 1 addition & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ Sometimes the error may look like this:
55
55
Error: While trying to resolve module "@react-navigation/native" from file "/path/to/src/App.js", the package "/path/to/node_modules/@react-navigation/native/package.json" was successfully found. However, this package itself specifies a "main" module field that could not be resolved ("/path/to/node_modules/@react-navigation/native/src/index.tsx"
56
56
```
57
57
58
-
This can happen if you have a custom configuration formetro and haven't specified `ts` and `tsx` as valid extensions. These extensions are presentin the default configuration. To check if this is the issue, look fora `metro.config.js` filein your project and check if you have specified the [`sourceExts`](https://facebook.github.io/metro/docs/en/configuration#sourceexts) option. It should at least have the following configuration:
58
+
This can happen if you have a custom configuration formetro and haven't specified `ts` and `tsx` as valid extensions. These extensions are presentin the default configuration. To check if this is the issue, look fora `metro.config.js` filein your project and check if you have specified the [`sourceExts`](https://metrobundler.dev/docs/configuration/#sourceexts) option. It should at least have the following configuration:
59
59
60
60
```js
61
61
sourceExts: ['js', 'json', 'ts', 'tsx'];
@@ -598,13 +598,3 @@ function App() {
598
598
</ConfigTabs>
599
599
600
600
This is not React Navigation specific, but related to React in general. You should always avoid creating components during render, whether you are using React Navigation or not.
601
-
602
-
## App is not working properly when connected to Chrome Debugger
603
-
604
-
When the app is connected to Chrome Debugger (or other tools that use Chrome Debugger such as [React Native Debugger](https://github.com/jhen0409/react-native-debugger)) you might encounter various issues related to timing.
605
-
606
-
This can result in issues such as button presses taking a long time to register or not working at all, [gestures and animations being slow and buggy](https://github.com/facebook/react-native/issues/2367) etc. There can be other functional issues such as promises not resolving, [timeouts and intervals not working correctly](https://github.com/facebook/react-native/issues/4470) etc. as well.
607
-
608
-
The issues are not related to React Navigation, but due to the nature of how the Chrome Debugger works. When connected to Chrome Debugger, your whole app runs on Chrome and communicates with the native app via sockets over the network, which can introduce latency and timing related issues.
609
-
610
-
So, unless you are trying to debug something, it's better to test the app without being connected to the Chrome Debugger. If you are using iOS, you can alternatively use [Safari to debug your app](https://reactnative.dev/docs/debugging#safari-developer-tools) which debugs the app on the device directly and does not have these issues, though it has other downsides.
0 commit comments