Closed AmitSingh12345678 closed 3 months ago
We are facing this as well, our hunch is that codepush release-react
while bundling the JS doesn't respect the local metro.config.js
where we have specified how to resolve certain asset extensions (.lottie
)
We're also facing this. When codepush bundle gets replaced. Lottie is no longer being visible.
Yep same here, however it is only on Android where the .lottie
files do not work
Yep same here, however it is only on Android where the
.lottie
files do not work
The reason is because on Android release mode, react native bundles all the assets in raw folder whearas on iOS it uses network call. Seems like mostly code push is the problem. Has anyone tried expo updates? Is it the same story there?
On my project I use react-native-asset to solve this problem, it took a decent amount of time, as there were more than 800 asset files
On my project I use react-native-asset to solve this problem, it took a decent amount of time, as there were more than 800 asset files
@a-petrenko-muse Can you please tell what is this issue with codepush and how do you get to know that react-native-asset will solve this problem?
+1
Are there any updates?
+1
Could you please confirm what this issue still persist on latest version (8.2.1)? If no could you please confirm that the problem persists when linking assets using react-native-asset package?
Active
+1
I am also stuck because of this problem. Has anyone handled it yet?
Tôi cũng bị mắc kẹt vì vấn đề này. Đã có ai xử lý được chưa?
me too :(
@hardik-flyfin, @quoctruongkt, @ToanMonkey, please share information about the versions of CodePush and ReactNative. Please try using react-native-asset as a workaround.
@hardik-flyfin, @quoctruongkt, @ToanMonkey, please share information about the versions of CodePush and ReactNative. Please try using react-native-asset as a workaround.
I initially used -Code push: 7.1.0 -React Native : 0.70.6 Currently I have upgraded to React Native: 0.71.19 but still have the same problem
@ToanMonkey please try updating codepush to 8.2.2
@ToanMonkey please try updating codepush to 8.2.2
I tried updating codepush to version 8.2.2 but the problem is still not resolved
It would be greatly appreciated if anyone could provide a demo application to reproduce and debug the issue.
Closing due to inactivity.
+1
Steps to Reproduce
1.init project and install react-native-code-push package
Expected Behavior
Every assets including dotlottie format should work fine.
Actual Behavior
Everything works fine, except dotlottie format assets are not showing after codepush release, but was working fine in debug and release mode.
Environment