-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feedback: Great work with this! #9
Comments
Thank for your feedback, about the update flow of your ideal, its very good way to reduce the bundle size when we release OTA, I will think about it, but it not easy to manage the assets, I think need a mapping file for assets and control from native size and even control when export the bundle, btw still need to detect what we need to export from CLI, then control it from native size, seem a bit related to backend size as well to know how is the previous assets version to decide how we export the data of bundle assets 👯 |
Yes agreed that this job is usually made at the backend side - to make sure only new assets are in the Yeah guess the logic is something like (client code)
Downside is that this will grow and grow, but if you as a developer knows about the flow you can just release native-updates from time to time to get rid of now not used assets anymore. |
let me think about it later on, but now I am thinking about git version control on this library, we can pull the change of commit instead of download whole bundle file with assets, maybe just around 2-50 KB if less changing, it will save more time when do OTA, I am trying to integrate git engine into this library, and we can use git repository like GitHub / bitbucket... to store the bundle, no need backend anymore |
Sounds great! Looking forward to this in the future! |
@vantuan88291 I just wanted to give a big round of applause for this! I was working on it and had already completed the iOS part when I stumbled upon your repo. You’re a lifesaver! |
Tried out this instead of the code-push lib that I could not get to restart after applying an update. Worked at once for both platforms!
Looking forward to future updates.
One thing to put on your radar, don't know how feasible it is - but since there is no manifest file logic going on here I just skipped the assets part to keep my
.zip
size down for smoother updates. But that came with the downside that the assets was not available over doing an OTA. Is there some way that it can just build up if there are new ones? Essentially a flow something likeThis way you have a native release - and then just NEW assets (if any) with OTA updates. If that makes sense :)
Thanks again!
The text was updated successfully, but these errors were encountered: