V2.0.0 Release Note
V2.0.0 Release Note: 1 [Feature] Support LocalServer mode. LocalServer means app can use SonicSdk without any Sonic Node.js or PHP Server. 2 [Feature]: Support custom request and response HTTP header. 3 [Feature]: Use HTTP Header (Cache-Control) to manage lifetime of sonic cache. 4 [Feature]: Support other encoding, such as GBK or GB2312. 5 [optimize]: App can manage the file size of Sonic cache. 6 [optimize]: Use Sqlite instead of SP to manage Sonic cache. 7 [optimize]: The Sonic Session Id (_sonic_id) won't be appended to url. 8 [optimize]: Fix the crash and bug reported from Issues.
Bug Fix: 1 [Android-bug] Fix Sonic still send request in FirstLoad mode when server return Cache-Offline: http https://github.com/Tencent/VasSonic/commit/023988dc2a4adc7364c7b75104836765fcc1be15 2 [Android-bug] Fix Website can't receive callback when Cache-Offline is store. https://github.com/Tencent/VasSonic/commit/09e1992759007ce703aa23270d13669df1e82fb6 3 [Android-bug] Fix some NPE Crash in 2.0 alpha version. https://github.com/Tencent/VasSonic/commit/824eee60afa6e28671a6c32a06c1820a6885559f 4 [Android-bug] Fix LocalServer replace template tag with htmlsha1 by mistake https://github.com/Tencent/VasSonic/commit/b264102532245f6204a11dfeb5b1f4ed0867e714 5 [Android-bug]: Fix NPE when server has been closed asynchronous. https://github.com/Tencent/VasSonic/commit/2f708e63532a7d095993c6ac98d1f87f13bead4f 6 [iOS-bug] Fix CachedResonseHeaders cann't be updated in right way https://github.com/Tencent/VasSonic/commit/407b700e260131198d012359ff0f28d8bb711458 7 [iOS-bug] Fix LocalServer can't work when server return 304 response. https://github.com/Tencent/VasSonic/commit/eeca012ec4792d707b68212524b48279a0dfe22d 8 [iOS-bug] : Fix the first load data bridge error https://github.com/Tencent/VasSonic/commit/f72e036b8dc01fd48d80bcc1f38d8bf3bb47bc68