|
Post by Alex Epifanov on Jul 21, 2017 20:01:45 GMT
Does anyone using (or aware of) 'Development' extensions and its automatic bundle update features? My opinion it has great potential related to automatic update your app on device as you change it's code.
|
|
|
Post by jontara on Jul 24, 2017 23:05:04 GMT
I am vaguely aware, but have never used it because it cannot be used for Apple App Store apps. It would be OK (I think) for Android, and for Enterprise apps.
This might be interesting for internal private test, as it might save testers a lot of fiddling after the first install. Testers usually aren't developers, and installing app updates is almost always painful.
Where are these extensions? Where is the documentation? I did a Google search, and didn't find anything relevant. Is this part of Tau Extensions, or something else? Is it bundled in RhoStudio? If it is bundled in RhoStudio, I guess that is why I am so ignorant about it, since I always just do command-line build with rhodes Gem and don't install RhoStudio.
|
|
|
Post by Alex Epifanov on Jul 24, 2017 23:20:22 GMT
It may be useful for development/debugging on actual device since you don't have to rebuild whole binary, and app bundle will be replaced via local wi-fi connection. Here is some documentation: docs.tau-technologies.com/en/5.5/guide/live-updateIt is core part of Rhodes ( not Tau Extensions ). 'debug' build type should be enabled in build.yml as well as 'Development' extension. my own scenario is 1) rake dev:webserver:start - it will start a server providing bundles for the app. 2) change app code 3) rake dev:update:full - will push whole app bundle to the configured device.
|
|
|
Post by fnllc on Jul 25, 2017 20:10:00 GMT
I have used it. It works well with iOS simulator. For Android, it does not compile.
Using rake dev:update:auto the CSS, HTML and JS are updated. However, changes to ruby files are not working or reloaded.
This is a nice feature to speed up development. It saves a lot of time instead of recompiling every time a little CSS, HTML or JS change is made.
|
|
|
Post by Alex Epifanov on Jul 25, 2017 21:02:38 GMT
you will need to restart app after bundle update after ruby changes, since all Ruby ISEQs are loaded on app init.
|
|