Commit 0de7e02
Remove SceneTracker module and its use in AppRegistry
Summary:
`SceneTracker` was a small helper in `Libraries/Utilities` that tracked the active navigation scene. It was only ever consumed through a deep import and was never part of the public API. This removes it from the React Native package and moves scene tracking to the application layer that actually depends on it.
As part of this, `AppRegistry.runApplication` no longer sets the active scene to the app key. To let the application layer preserve that behavior for surfaces launched by app key, `WrapperComponentProvider` now receives the app key as an optional second argument.
Changelog: [General][Breaking] - Remove the `SceneTracker` module from `Libraries/Utilities`, stop setting the active scene from `AppRegistry.runApplication`, and pass the app key as an optional second argument to `WrapperComponentProvider`
Differential Revision: D1104713171 parent 6b45e57 commit 0de7e02
6 files changed
Lines changed: 8 additions & 77 deletions
File tree
- packages
- react-native
- Libraries
- ReactNative
- Utilities
- __tests__
- virtualized-lists/Lists
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
108 | | - | |
| 107 | + | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | 215 | | |
217 | 216 | | |
218 | 217 | | |
| |||
Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 0 additions & 28 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
5883 | 5883 | | |
5884 | 5884 | | |
5885 | 5885 | | |
| 5886 | + | |
5886 | 5887 | | |
5887 | 5888 | | |
5888 | 5889 | | |
| |||
5905 | 5906 | | |
5906 | 5907 | | |
5907 | 5908 | | |
5908 | | - | |
| 5909 | + | |
5909 | 5910 | | |
5910 | 5911 | | |
5911 | 5912 | | |
| |||
6184 | 6185 | | |
6185 | 6186 | | |
6186 | 6187 | | |
6187 | | - | |
| 6188 | + | |
6188 | 6189 | | |
6189 | 6190 | | |
6190 | 6191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments