Commit c8cc208
authored
feat(iOS): Add a
* wip: unsuspicious changes
* wip: unsuspicious changes v2
* FABRIC NEW IMPL -> OLD IMPL
* wip: bring back useLegacy on the RN side
* wip: bring back duplicate types to fix codegen issues
* wip: remove #705 related code for now
* wip: old/new impl division first draft
* wip: old/new impl division continued
* wip: old/new impl v3
* wip: add a `LEGACY_` prefix to all legacy implementation-related symbols
* wip: fix styles for new implementation on Fabric
* wip: move old/new impl into separate folders
* wip: fix old impl fabric symbol names
* wip: xcode changes
* wip: clean up & unify the naming convention
* wip: fix linter issues
* wip: fix styles for new implementation on Paper
* wip: make Fabric example run on another port by default to make it possible to run both examples in parallel
* wip: implement an abstraction over native commands invocations to reduce branching
* refactor: remove the unnecessary value for boolean props
* fix: bump react-native-safe-area-context to a Fabric-enabled version
* feat: bring back & adjust the `bootstrap-fabric` script
* feat: adjust the home screen title depending on the used architecture
* chore: update example/Podfile.lock
* chore: update an Xcode project file after building
* ci: make next branch events trigger ios/android build workflows
* chore: remove commented-out code related to #705 for now
* chore: add legacy implementation explanation comment
* wip: Android fixes
* fix: unnecessary comma in MainActivity.java
* feat: readme makeover
* chore: bump react-native-screens & react-native-gesture-handler in example
* refactor(android): extract module name to shared variable, add comment for context
* chore: remove unnecessary yarn.lock deps
* chore(ios): bring back removed build flags
* chore(ios): remove unnecessary concurrentRootEnabled method
According to React Native Upgrade Helper, this method is to be removed when updating to RN 0.72:
https://react-native-community.github.io/upgrade-helper/?from=0.71.14&to=0.72.0#RnDiffApp-ios-RnDiffApp-AppDelegate.mm
* fix(android): adjust incorrect param type on Fabric
* chore: remove unnecessary tsconfig.json comment
* chore(ios): bring back (currently unused) code related to #712 and #705useLegacy flag to switch between the old/new iOS implementation (#783)1 parent 08486ba commit c8cc208
File tree
33 files changed
+1589
-185
lines changed- .github/workflows
- android/src
- fabric/java/com/reactnativepagerview
- main/java/com/reactnativepagerview
- paper/java/com/reactnativepagerview
- example
- android/app/src/main/java/com/pagerviewexample
- ios
- src
- ios
- Fabric
- LEGACY
- Fabric
- src
- LEGACY_PagerViewNativeComponent
- PagerViewNativeComponent
33 files changed
+1589
-185
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
21 | 24 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
30 | 32 | | |
31 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
34 | 70 | | |
35 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
36 | 97 | | |
37 | 98 | | |
38 | 99 | | |
| |||
133 | 194 | | |
134 | 195 | | |
135 | 196 | | |
136 | | - | |
| 197 | + | |
137 | 198 | | |
138 | 199 | | |
139 | 200 | | |
| |||
188 | 249 | | |
189 | 250 | | |
190 | 251 | | |
191 | | - | |
| 252 | + | |
192 | 253 | | |
193 | 254 | | |
194 | 255 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
167 | 172 | | |
168 | 173 | | |
169 | 174 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments