You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could we remove the dependency for ZIPFoundation? By that I don't mean to completely remote it, but to split the main library into multiple parts, one LITE version that does not have this dependency and FULL that still has it. In our case we simply don't need the zip functionality and carrying around an unused ZIP framework in the app bundle is redundant for us.
This is possible in cocoapods, but I'm not sure how this can be done with cartahge. Maybe RxSwift repository can give us a hint how to set it up (they provide multiple modules from a single repository).
The text was updated successfully, but these errors were encountered:
I don't think using Base64 strings is that popular that many would benefit from the split.
I would rather think about having DFU with a simple DFUFirmware class, without the ZipFramework dependency + another module that extends it and allows to use ZIP. I don't know if it's possible.
I have a lot in my backlog right now and this doesn't seem to be important task (just an improvement). So even if it's implemented, it will take long time, so PRs are welcome :)
That would also require us to maintain this modules in the future. I have no idea is it easy or not, never done that. Perhaps some script would solve everything (automated release, etc).
Let's keep the task here. Perhaps it will eventually be resolved.
Well base64 is just our way to hardcode the raw FW data into the app binary, we convert it into Data when required. We might add Firebase support in the future and distribute FW updates through the web which most likely will also avoid zip files.
It's definitely not a super important task but it would remove unnecessary dependency from our project. If I find some time in the next couple of weeks I could provide a PR, but I'm not sure how I can quickly test pods as I probably would need to create a new podspec just for testing.
philips77
changed the title
Small suggestion for improvement
Small suggestion: remove ZipFoundation dependency (split libraries)
Oct 30, 2019
Could we remove the dependency for
ZIPFoundation
? By that I don't mean to completely remote it, but to split the main library into multiple parts, oneLITE
version that does not have this dependency andFULL
that still has it. In our case we simply don't need the zip functionality and carrying around an unused ZIP framework in the app bundle is redundant for us.This is possible in cocoapods, but I'm not sure how this can be done with cartahge. Maybe
RxSwift
repository can give us a hint how to set it up (they provide multiple modules from a single repository).The text was updated successfully, but these errors were encountered: