Commit ab999bf
authored
fix: ensure assets are registered correctly (#608)
react-native uses a asset registry package to register assets. seems the
library and the example app are using different copies of this package,
presumably because Expo CLI embeds `@react-native/assets-registry`
verbatim in the code during transform. this causes the library not to
use the same copy of the package as `react-native`. this results in
broken assets in the app.
with this change we're ensuring that we always load a single version of
the package to ensure assets work.
closes #6071 parent 163b168 commit ab999bf
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments