Commit 64e3141
committed
fix(Native): Android assetsBundleFileName null (RN 0.74.7 Fabric Bridgeless release)
I found an issue in the Android RN 0.74.7 (New Architecture + Bridgeless) release build where the CodePush instance is newly created when reloading or updating downloads, causing the JS bundle file name to be reset to null.
Since the CodePush instance is not newly created in Old Architecture and New Architecture Bridge mode, I modified it to be a singleton in Bridgeless mode as well.1 parent 29e8e7d commit 64e3141
File tree
3 files changed
+9
-64
lines changed- android/app/src/main/java/com/microsoft/codepush/react
3 files changed
+9
-64
lines changedLines changed: 8 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 53 | | |
58 | 54 | | |
59 | 55 | | |
60 | 56 | | |
61 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 94 | | |
113 | 95 | | |
114 | 96 | | |
| |||
Lines changed: 0 additions & 37 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 | | |
| |||
0 commit comments