Live Reload Option
Lucaszw opened this issue · comments
It would be nice to have something similar to the live reload option for capacitor for native code changes
This is next thing we are working on. There's a couple ways it could be done today with npm-run-all
in combination with some capacitor commands which would sort of work but there's a cleaner way to handle this we're exploring.
Ah nice!! Glad to hear. Will ne an awesome bonus to the debug experience!
It's September 2023, still in progress even after 2 years. What's the state of this issue now?
Hi @Syed-Sheharyar I must agree this is considered critical for this integration to be best it can be.
The current Capacitor integration needs a better "embed" handling of the runtime - the current iteration allows it to work but I'm personally striving for something much better. We've been working on a project past couple months which is directly related to the "embed" handling to make this integration better:
- iOS Cocoapod handling is bit heavy - the improved "embed" would go through SPM (Swift Package Manager) and have smaller footprint for handling
- Android include is way too large right now with a footprint that is not desirable. The improved "embed" for Android reduces it down to vastly smaller footprint.
- Lastly, both "embed" improvements also bring along a proper live sync with the host app it's embedded into.
NativeScript, being an open source community driven project, is influenced largely by community desire/need. The more the community asks for better Capacitor integration, the more the working group can prioritize it so really appreciate your ping here.