坏消息
自从接触Flutter以来一直就觉得热更新/动态化是一个关键的点,也是很多互联网厂家是否选择Flutter的重要因素甚至是首要因素,之前参加Google北京办公室举办的和Flutter工程师面对面的活动,来自各个厂家的程序员们提的最多的问题就是Flutter对热更新的支持。年初的时候看到2019年的Roadmap增加了对热更新的支持还着实高兴了一阵子,然而前一阵子去看相关的issue时候却发现了这个令人失望的消息:Flutter官方暂时不会开发热更新(Code push)了。
原文如下:
This was previously on our roadmap for 2019. After investigating this in greater detail, we have decided not to proceed with this work for now.
There were several factors that led us to this decision:
To comply with our understanding of store policies on Android and iOS, any solution would be limited to JIT code on Android and interpreted code on iOS. We are not confident that the performance characteristics of such a solution on iOS would reach the quality that we demand of our product. (In other words, "it woul