Dynamic update is an inevitable problem for App development. In contrast to iOS, where Apple developers are “dancing in shackles,” Android developers have it a little easier, and there are a number of open source frameworks for hot fixes and hot updates.
In this issue, FIR. Im Weekly sorted out the dynamic plan of Didi Taxi team, the dynamic share of iOS by JSpatch author, and the hot fix and update plan of Android by Qzone, wechat, Wechat Reading and Meituan Dianping technical team, as well as some other technology sharing.
DynamicCocoa: the birth and launch of didi iOS dynamic solution
I asked Sunny how to publish didi iOS DynamicCocoa on weibo, keep the iOS native technology stack to make the existing OC code dynamic operation. At the same time, the Didi client App architecture team is considering open source at the beginning of 2017.
Compared with cross-terminal solution, it also brings a new idea: iOS and Android both retain the native development mode and directly dynamic the native code in their own ways to maintain the differences of each platform.
The story of iOS dynamics
JSpatch writer @Bang chatted about making iOS dynamic. If you’re interested, click here. To learn more about JSpatch’s features, check out the iOS Dynamic Update solution comparison: JSpatch vs. React Native.
Introduction to hot patch dynamic repair technology of Android App
Fix emergent bugs dynamically as a patch, no need to republish the App, no need to re-download the App, no need to overwrite the installation? Let’s take a look at qzone team’s proposal on hot patch dynamic repair of Android App.
&mid=2649286306&idx=1&sn=d6b2865e033a99de60b2d4314c6e0a25&scene=0#wechat_redirect”>The evolution of wechat Android hot patch practice
The dynamic solution of wechat is based on dexDiff and dexPatch. This article helps people not only comprehensively understand the advantages and disadvantages of various hot patch technologies, but also figure out which hot patch technology to use in what scenarios. At present, wechat hot patch framework has also been open source – Tinker, about wechat Tinker all here, you can also understand the @Rukawa Kato and Aoi – – this Android hot patch principle analysis of Tinker.
Android hot update scheme Robust
After understanding the principle of Instant Run, the technical team of @Meituan-Dianping realized a hot update scheme with stronger compatibility, which is a more productive Hotpatch framework –Robust. For details, see here.
Android Patch solution and continuous delivery
The WeRead team built their own patch solution to speed up bug handling and consistent release delivery, based on existing frameworks that didn’t have a better wheel. Article portal.
&mid=405292856&idx=1&sn=70a6091308d8b8f954100cf4b2f2ea32&scene=0#wechat_redirect”>Android hotfix practice app — AndFix
Share from the public account of non-famous programmer. HanWen’s article chronicling the entire process of using AndFix, Alibaba’s open source hotfix framework, is worth checking out.
The “other”
HTTPS guide for iOS developers
Many iOS developers don’t understand what HTTPS, TLS, and certificates are all about, and some students even misunderstand them. This article by JohnLui focuses on the app-related aspects of enabling HTTPS for your APP in a way that most iOS developers can understand.
A look back at iOS tech 2016
Share from @Yugong programming MrPeak. Peak has taken a look at some of the big and small things that happened on the iOS tech scene in 2016. Come here with interest.
This issue of FIR. Im Weekly is here. Please contact DM [at] FIR.
Feel free to share more.
fir.im