SDK Version Description
This document introduces the update records of SDK versions matching the Mobile 3.0 platform.
| Version | Update Date | Update Content |
|---|---|---|
| Android 2.17.4 | 2024-03-29 | 1. New: Video recording UI privacy mask configuration, supporting masking of input boxes, text, images, controls, and pages (video recording minimum supported version is Android 8.0) 2. New: Support for request content collection (body collection only supports okhttp3) 3. New: H5 network request supports collection of initiatorType, renderBlockingStatus, serverTiming and other metrics 4. New: Support for mpaas embedded WebView data collection 5. Optimization: Cross-application request header transmission of user identifiers 6. Optimization: Base station data collection disabled by default 7. Optimization: OOM module initialization compliance processing 8. Optimization: Fixed CPU usage issue when obtaining memory information 9. Fixed: Issue where firstVc field in page experience data is empty 10. Fixed: Issue where network data filtering may fail with a small probability when the SDK caches data in the background |
| Android 2.17.3 | 2023-10-13 | 1. New: Support for power consumption analysis (current, temperature, AlarmManager, WakeLock support Android 5 and above, traffic supports Android 6 and above, LocationManager supports Android 5-12) 2. Optimization: SDK reporting data optimization 3. Fixed: Issue where SDK generates bitmap crashes when video recording is enabled and some pages have window.getDecorView() height of 0 4. Fixed: Small probability of triggering BackgroundServiceStartNotAllowedException when analyzing OOM |
| Android 2.17.2 | 2023-09-18 | 1. Optimization: Operation experience data visualization logic 2. Optimization: Refactored instrumentation plugin 3. Optimization: Updated built-in js Agent 4. Optimization: Fixed issue where some SDK threads were not closed when entering background |
| Android 2.17.1 | 2023-01-11 | 1. New: Support for OOM collection (requires kotlin and androidx projects, supports Android 5-12) 2. Optimization: Freeze analysis supports flame graph 3. Optimization: Adapted AGP 7.3 namespace property 4. Optimization: Adapted ViewBingding and Kotlin plugin 1.5.0+ onClick event instrumentation 5. Optimization: When enabling SM algorithm, BouncyCastleProvider is no longer inserted in the first position 6. Optimization: Fixed issue where Volley http error response content was not collected 7. Optimization: Filtered OkHttp 504 errors thrown when cache misses 8. Optimization: No longer collects freezes within 30 seconds after the main process enters background and sub-process freezes 9. Optimization: URL and error filtering logic 10. Fixed: Issue where SDK may cause freezes when collecting page data when Fragment uses setMaxLifecycle(fragment, Lifecycle.State.STARTED) for lazy loading 11. Fixed: Issue where WebViewClient method p0 parameter type change causes VerifyError after SDK instrumentation 12. Fixed: Issue where non-WebView class obfuscation of loadUrl(), loadDataWithBaseURL() causes reflection call errors after SDK instrumentation 13. Fixed: Small probability of ConcurrentModificationException when processing okhttp3.WebSocket data during crash, affecting crash data collection 14. Fixed: Very small probability of IllegalArgumentException when SDK unregisters NetworkCallback causing application crash 15. Fixed: Issue where injecting js may cause application white screen |
| Android 2.17.0 | 2022-09-02 | 1. New: Support for screen recording function 2. New: Support for session data collection 3. New: System events and custom events collection 4. New: Log retrieval function 5. Optimization: Startup, operation, page trace collection logic 6. Optimization: Support for JDK 11 compilation environment instrumentation 7. Optimization: Support for WebView automatic js Agent injection 8. Optimization: Freeze type distinguishes between freezes and ANR 9. Optimization: Check thread status when sending Message for freeze collection 10. Optimization: Android 8 and above versions do not obtain "net.dns1" through system properties 11. Optimization: Removed Transfer-Encoding chunked request header 12. Optimization: Support for adding filters to multiple okhttp3 custom ResponseBody 13. Optimization: Removed Json instrumentation 14. Optimization: Added base station data collection switch interface setCellCollectEnabled() 15. Optimization: Added catch handling to SDK entry methods 16. Fixed: Issue where instrumentation of okhttp3.WebSocketListener with dispatch mechanism causes VerifyError exception 17. Fixed: Compatibility issue with mpaas H5 container Nebula 18. Fixed: Issue where instrumenting Zego Super Whiteboard SDK causes VerifyError 19. Fixed: Very small probability of ConcurrentModificationException when application enters background during SDK data upload cycle 20. Fixed: Issue where okhttp3 network data may have remaining packets of 0 21. Fixed: Issue where report configuration regex filtering does not comply with syntax, small probability of PatternSyntaxException 22. Fixed: Issue where hot start may have extreme values with small probability 23. Fixed: Issue where page name is not reassigned when returning to previous Activity without executing onStart() 24. Fixed: Issue where obtaining project root directory through "user.dir" may be inaccurate 25. Fixed: Issue with base class Activity final modified onKeyDown() instrumentation conflict |
| Android 2.16.0.19 | 2023-07-17 | 1. Fixed: Issue where instrumenting subclass triggers java.lang.LinkageError when Activity base class onKeyDown() is modified with final |
| Android 2.16.0.18 | 2023-07-14 | 1. Optimization: Adapted AGP 7.3 namespace property 2. Optimization: Partial instrumentation logic 3. Fixed: Issue where instrumenting subclass triggers java.lang.LinkageError when Application base class attachBaseContext() and onCreate(), Fragment base class setUserVisibleHint() are modified with final 4. Fixed: Instrumentation compatibility issue caused by Fragment lifecycle method this pointer change 5. Fixed: Runnable instrumentation compatibility issue 6. Fixed: Issue where WebViewClient and okhttp3.WebScoketListener instrumentation methods do not restrict parameters 7. Fixed: Issue where native crash does not limit stack depth |
| Android 2.16.0 | 2023-07-14 | 1. New: Custom execution unit. 2. New: Support for OkHttp3 WebSocket data collection. 3. Fixed: Issue where data is not compressed when SM algorithm is enabled. 4. Fixed: Small probability of RejectedExecutionException during hot start. 5. Optimization: Additional information memory, remaining space displayed as percentage. 6. Optimization: Provided isOperatorCollect() interface to control mobile operator collection. 7. Optimization: Filtered WebView network cache data. 8. Optimization: Data caching when upload fails, enters background, or crash occurs. 9. Optimization: Added timestamps to network, network error, operation, page, crash, freeze, error, hot start counts. 10. Optimization: Removed code for getting SD card remaining space. |
| Android 2.15.8 | 2022-02-18 | 1. New: Support for SM algorithm encryption. 2. New: Custom operation method. 3. Fixed: Small probability of ANR during hot start (2022-01-21) 4. Fixed: Event data type error (2022-01-14). |
| Android 2.15.7 | 2021-12-21 | 1. New: Added task polling and caching mechanism to testing function. 2. New: Support for collecting X5 WebView request errors. 3. New: Support for mPaaS framework cross-application and apms request header data collection. 4. Fixed: Issue where hot start count is duplicated when SDK instruments base class Activity or application Launcher uses SingleTask + finish scenario. 5. Fixed: Issue where startup time is inaccurate due to some Activities not being instrumented. 6. Fixed: Compatibility issue with RNFetchBlob network library. 7. Fixed: Issue where SDK replaces okhttp3.EventListener causing customers unable to get their own EventListener, provided interface to control whether to replace ohttp3.EventListener. 8. Fixed: Issue where OAID SDK method changes in version 26 and above cause crashes. 9. Fixed: Issue where crashes, custom errors, custom events are not collected in specific scenarios due to SDK switch defects. 10. Fixed: Issue where volley library HTTP error data is not collected. 11. Optimization: Provided interface to disable HarmonyOS device identification. 12. Optimization: Issue where URLConnection library does not collect data when not reading stream or calling disconnect(). 13. Optimization: WebView network data collection optimization. 14. Optimization: Reduced SDK's own code time consumption when collecting network data. 15. Optimization: Adapted to upload mapping files to 3.0 platform. 16. Optimization: Custom startup supports calling end point method before onResume(). 17. Optimization: Support for collecting set apms request header data. |
| Android 2.15.6 | 2021-07-15 | 1. New: Support for identifying HarmonyOS devices. 2. New: Crash and freeze callback interfaces. 3. New: Support for JS calling custom errors and custom events. 4. New: Support for collecting oaid identifier. 5. New: Support for mPaaS RPC and H5 data collection. 6. Optimization: OkHttp network data collection. 7. Optimization: Automatic mapping upload for Gradle 3.4.0 and above versions. 8. Optimization: Added Activity lifecycle methods to crash/freeze traces. 9. Optimization: Native crash collection for all threads. 10. Fixed: Issue where freeze data is lost due to process kill during delayed upload. 11. Fixed: Issue where hot start count is inaccurate when using custom startup method. 12. Fixed: Very small probability of gson null pointer issue. 13. Fixed: Not collecting response header date when cross-application switch is off. 14. Fixed: Small probability of freezes when collecting page data. |
| Android 2.15.5 | 2021-04-07 | 1. New: Network data supports collecting specified request headers and response headers. 2. New: Exception uuid, callback when crash, freeze, error occurs. 3. New: Support for Flutter data collection. 4. Optimization: SDK switch logic. 5. Optimization: Fragment instrumentation logic (onPause instrumentation no longer calls isVisible). |
| Android 2.15.4 | 2021-01-22 | 1. New: Provided interface to get Tingyun deviceId. 2. Optimization: Java crash supports collecting all thread stacks. 3. Optimization: Custom error data supports caching. 4. Fixed: Issue where instrumentation causes Geetest SDK request errors. 5. Fixed: Very small probability of interceptor being null exception when adding interceptor to OkHttp3. 6. Fixed: Issue where SDK data upload is affected by exceptions during trace aggregation when application makes network requests in main thread. 7. Fixed: Small probability of session time being less than 0. 8. Fixed: Issue where crash main thread ID is hardcoded as 0. |
| Android 2.15.3 | 2021-01-07 | 1. Fixed: Issue where instrumentation causes crashes when base class Activity implements lifecycle interface with same name and subclass Activity does not override lifecycle methods. 2. Fixed: Very small probability of null pointer crash during network data collection. 3. Fixed: VM IOException error during compilation. |
| Android 2.15.2 | 2020-12-10 | 1. New: ICMPPing and MTR functionality. 2. Optimization: Network access method supports 5G. 3. Fixed: Small probability of concurrent modification exception when collecting network data during freeze. 4. Fixed: Issue causing crashes when using Huawei scanning SDK. 5. Fixed: Issue causing crashes when instrumenting okhttp while using springframework network library. 6. Fixed: Issue causing crashes due to very small probability of Harvester being null. |
| Android 2.15.1 | 2020-10-16 | 1. New: Support for React Native operation and page data collection. |
| Android 2.15.0 | 2020-07-24 | 1. Optimization: WebView uses Browser Agent to collect data, supports 3.0 cross-application. 2. Optimization: Startup count statistics. |