# Android Update Log
# 2.54.3
Update Time: 2026-10-23
Core SDK
【New】
- Added GBK encoding compatibility for the wx.request API;
- Added new canvas export logic to improve performance;
【Fixes】
- Fixed the issue where the vConsole floating button/panel of the Widget does not display;
- Fixed the issue where the H5 video switches back and forth between landscape and portrait when in full screen;
- Fixed the issue where the video restarts from 0s after switching resolution;
- Fixed a network thread crash;
- Fixed the issue where unregistered synchronous API calls return no value;
- Fixed the issue where the poster cover of the video Component may show a black screen;
- Fixed the crash caused by inserting excessively long text via the editor API;
Map SDK 【Fixes】
- Fixed the crash caused by missing latitude and longitude in chooseLocation;
# 2.54.1
Update Time: 2026-10-10
Core SDK 【Fixes】
- Fixed a Mini-Game audio crash
【Optimizations】
- Optimized canvas image export performance
- Optimized video playback performance
# 2.53.11
Update Time: 2026-09-18
Core SDK 【Fixes】
- Fixed the issue where no popup appears when jumping from an H5 page to a WeChat Official Account
# 2.53.9
Update Time: 2026-09-04
Core SDK 【New】
- Added Ad SDK
【Fixes】
- Fixed download failures caused by cross-origin issues with page resources;
【Optimizations】
- Optimized hiding the icon at the bottom of the loading page
# 2.53.7
Update Time: 2026-08-21
Core SDK 【Fixes】
- Fixed the CME exception thrown by concurrent traversal during data reporting callbacks;
# 2.53.5
Update Time: 2026-08-07
Core SDK 【Fixes】
- Fixed the exception caused by case sensitivity in the file path of the API readCompressedFile;
# 2.53.3
Update Time: 2026-07-24
Core SDK 【Fixes】
- Fixed the issue where the sequence field of Mini-Program information is overwritten with null during hot start of the Offline SDK;
【Optimizations】
- Optimized the Widget to support same-layer Custom Components;
- Optimized the Widget to support global message sending (sendCustomEvent);
# 2.53.1
Update Time: 2026-07-10
Core SDK 【Fixes】
- Fixed the permission exception caused when an H5 application requests location permission and the system permission is set to "Allow this time", and the Mini-Program is used again subsequently;
# 2.52.11
Update Time: 2026-06-26
Core SDK 【Fixes】
- Fixed the issue where the missing parent directory cannot be automatically created when the flag of the FileSystemManager.open API is set to a;
- Fixed the exception that may be caused by the video recording file name;
# 2.52.9
Update Time: 2026-06-12
Core SDK 【Fixes】
- Fixed the parsing exception that may occur when using rgba color values for color-related properties in the tabBar configuration of the Mini-Program app.json;
# 2.52.7
Update Time: 2026-05-29
Core SDK: 【New】
- Added the fetchFavoriteStatusWhenHideFavoriteMenu configuration, which requests the favorite status even when the favorite button is configured to be hidden;
【Fixes】
- Fixed the exception where the permission request dialog of Mini-Games may crash;
- Fixed the issue where the file upload API of H5 applications has no callback;
- Fixed the issue where the camera freezes on some phones;
【Optimizations】
- Optimized adding album permission authorization before long-pressing to save images in the WebView Component;
# 2.52.5
Update Time: 2026-05-15
Core SDK:
【New】
- Added the openBrowser API, supported by both Mini-Programs and jssdk;
- Added the takeSnapshot API for video screenshot functionality;
【Fixes】
- Fixed the issue where the tempFilePath generated by camera recording via chooseMedia is abnormal on some phones;
# 2.52.3
Update Time: 2026-04-25
Core SDK:
【Fixes】
- Fixed the issue where the popup list of the picker Component cannot scroll in accessibility mode;
- Fixed the issue where the Capsule Button and back button have no announcements in accessibility mode;
- Fixed the issue where QR code parsing fails for some images;
XLogSDK 【Fixes】
- Fixed the issue where the so library of the xLog library does not support 16k;
# 2.52.1
Update Time: 2026-04-10
Core SDK:
【New】
- Added support for showToast(hideToast), showModal, showLoading(hideLoading), and showActionSheet related APIs in Mini-Games
【Fixes】
- Fixed the issue where opening an offline Mini-Program reports an error that the Mini-Program path is empty;
BluetoothSDK: 【Optimizations】
- Optimized BLE connection diagnostics and direct connection stability;
Extension SDK 【Optimizations】
- Optimized the maximum recording duration of recordManager to 30 minutes;
# 2.51.11
Update Time: 2026-03-27
Core SDK:
【New】
- Added the resizableOrientationLocked property to the UIConfig configuration, used to control whether to lock landscape/portrait orientation on devices with changeable screens (mainly foldable screens);
【Fixes】
- Fixed the issue where some custom file extensions are recognized as .bin when using the API chooseFile;
【Optimizations】
- Optimized file read/write permissions (WRITE_EXTERNAL_STORAGE, READ_EXTERNAL_STORAGE);
BluetoothSDK:
【Fixes】
- Fixed the check of whether the Bluetooth module is initialized before using Bluetooth beacon related APIs;
- Fixed the issue where the Bluetooth API BLEPeripheralServer.addService reports error 10008 when passing value;
- Fixed the timeout issue when an iOS device acts as a peripheral and an Android device acts as a central device connecting to the iOS Bluetooth device;
# 2.51.9
Update Time: 2026-03-13
Core SDK:
【New】
- Added the "appletAutoAuthorize" auto-authorization feature to the Mini-Program json configuration;
【Fixes】
- Fixed the issue where the chooseFile API is mistakenly identified as opening the contacts on some phones running Android 9 or below;
- Fixed the issue where j2v8 related libraries cannot be used due to download exceptions;
【Optimizations】
- Optimized Mini-Game support for the Share feature, and also support the related configuration and APIs of the Share button in the more menu;
shareSDK: 【Fixes】
- Fixed the exception of saving images to local storage on the share dialog on some phones;
# 2.51.7
Update Time: 2026-02-28
Core SDK:
【Fixes】
- Fixed the exception caused by the inability to recognize the downloaded image format on some phones;
- Fixed the video compression exception and thread freeze on some phones;
【Optimizations】
- Optimized the Mini-Program auto-authorization configuration to be specified at the Mini-Program level;
# 2.51.5
Update Time: 2026-02-06
Core SDK:
【New】
- Added support for the "query" request startup parameter when an H5 application launches a Mini-Program;
【Fixes】
- Fixed the issue where the custom numeric keypad does not close when touch-sliding on the Mini-Program page;
【Optimizations】
- Optimized js logs (onConsoleMessage) by adding appId to the content;
- Optimized the event reporting proxy to support offline Mini-Programs;
# 2.51.3
Update Time: 2026-01-23
【New】
- Added support for cover-view touch series events;
- Added event reporting proxy API;
- Added support for Mini-Games to proxy the capsule more button click event;
【Fixed】
- Fixed the issue where Video occasionally stays loading and cannot play when quickly and frequently switching to other Videos;
- Fixed the issue where clicking the play button cannot resume playback after a Video playback error;
- Fixed the issue where, during same-layer rendering, the height of textarea does not automatically expand when displaying preset text on some device models;
- Fixed the issue on systems below Android 9 where, after the Mini-Program calls the setNavigationBarColor API, clicking the capsule more button cannot display the more menu panel;
【Optimized】
- Optimized plaintext key storage into sdkcore;
- Optimized the call frequency of the AppTask.getTaskInfo() method triggered by finishAllRunningApplets();
# 2.51.1
Update Time: 2026-01-09
Core SDK: 【New】
- Added support for the resolution parameter in the camera Component;
【Fixed】
- Fixed the issue where the preloaded webview is not destroyed upon restart;
- Fixed the issue where the fileSystemManager.unlink and unlinkSync APIs do not support the finfile://tmp path;
- Fixed the incorrect calculation of the detail.direction field in the bindfullScreenChange event;
- Fixed the issue where the camera Component becomes unresponsive or crashes when taking photos due to excessively large/small photo width and height;
- Fixed the issue where compressing videos may cause a crash when the camera Component width is small and the stopRecord parameter compressed is true;
- Fixed the issue where special invisible characters in the data returned by the server for request API requests affect JSON parsing;
- Fixed the issue where the Loading indicator does not disappear during video preview playback on some Samsung phones;
- Fixed the issue where the video property initialTime can be set repeatedly after playback;
# 2.50.11
Update Time: 2025-12-26
Core SDK:
【New】
- Added support for the scrollTop property in the cover-view Component;
【Fixed】
- Fixed the issue where, when using the web-view Component to load H5, setting the input attribute capture="camera" to select an image does not directly launch the camera;
- Fixed the issue where the custom numeric keyboard is not closed after the page is closed;
- Fixed the issue of abnormal behavior when the web-view Component is used in combination with wx:if;
- Fixed the issue where video occasionally returns a duration of 0;
- Fixed a possible null pointer exception when exiting fullscreen during video playback;
【Optimized】
- Optimized so that the Mini-Program setVisualEffectOnCapture takes effect on native pages (Activity);
- Optimized the "User-Agent" header override logic for the Mini-Program request, download, and upload APIs, ignoring key case;
- Optimized the display format of video duration when it exceeds one hour;
- Optimized the initialization configuration item ignoreWebviewCertAuth to support ignoring SSL errors for images;
ExtSDK:
【Fixed】 Fixed the issue where, when recording is in progress (format: pcm, wav) and the app exits without properly stopping, subsequent recordings remain abnormal;
MediaPickerSDK:
【New】
- Added support for watermark and screenshot prevention features;
# 2.50.9
Update Time: 2025-12-12
Core SDK:
【New】
- Added a privacy notice overlay when requesting system permissions and a configuration item to enable it;
【Optimized】
- Optimized SDK migration to androidx; (other Extension SDKs migrated to androidx as well)
- Optimized a potential vulnerability issue that may be caused by the logic for determining whether a Mini-Program creates a shortcut on the desktop;
MapSDK:
【Fixed】
- Fixed the crash issue when MapContext.addMarkers adds an empty markers array;
- Fixed the issue where Google getLocation may not trigger the Mini-Program callback;
【Optimized】
- Optimized so that Mini-Program Scope permissions are no longer required when using the openLocation, chooseLocation, and choosePoi APIs;
# 2.50.7
Update Time: 2025-11-28
Core SDK:
【New】
- Added a proxy for intercepting the system back key on Mini-Program pages;
- Added a custom loading page, and added parameters with error codes and Mini-Program id to the failure callback;
【Fixed】
- Fixed the issue where non-same-layer Video nested inside a list affects list scrolling;
- Fixed the issue where the close button margin configuration (closeBtnLeftMargin) inside the Capsule Button does not take effect in mirrored layouts;
# 2.50.5
Update Time: 2025-11-14
Core SDK:
【New】
- Added a public API to get the pagePath of the current page of the current Mini-Program;
- Added public APIs to control the hiding/showing of the more menu and close button inside the Capsule Button;
【Fixed】
- Fixed the issue where the contact field is encrypted even when the contact is empty on the complaint feedback page;
- Fixed the issue where the left value of the Capsule position information (getMenuButtonBoundingClientRect) is inaccurate when the system navigation bar is displayed in Mini-Program landscape mode;
- Fixed the issue of abnormal height after switching from Video portrait fullscreen to non-fullscreen on some phones;
【Optimized】
- Optimized the abnormal hiding/showing of cover-view during same-layer rendering;
# 2.50.3
Update Time: October 31, 2025
Core SDK:
【New】
- Added a public API for the SDK to show/hide the more menu panel;
【Fixed】
- Fixed the issue where the custom loading view reports an error (finAppInfo needs to be exposed);
- Fixed the same-layer rendering fullscreen abnormality caused by delayed mismatch of Video width and height during fullscreen;
- Fixed the issue where, when the server-side menuInfo is null, the SDK does not verify whether the Mini-Program implements onMiniProgram type events and always displays the custom onMiniProgram type menu;
- Fixed the issue of abnormal camera startup on some phones;
- Fixed the issue where cover-view added via wx:if during Video fullscreen cannot be removed in non-fullscreen mode;
【Optimized】
- Optimized so that if screenshot prevention related procedures are configured, the API (capturePicture) is also affected;
- Optimized and adjusted the maximum concurrency of OkHttp network requests (such as Mini-Program ft.request) for the same hostname (from 5 to 20);
- Optimized so that if screenshot prevention related properties are configured, the API (capturePicture) is also affected;
- Optimized the large-screen adaptation logic to adapt to foldable screen expand/fold state switching;
# 2.50.1
Update Time: October 18, 2025
Core SDK:
【Optimized】
- Optimized the built-in SO library to adapt to Android 16KB page size;
# 2.49.11
Update Time: September 26, 2025
Core SDK:
【Optimized】
- Optimized adaptation to edge-to-edge layout enforced by targetSdkVersion ≥ 35;
- Optimized exception handling for SDK internal file writes;
- Optimized by removing the sound emitted after a successful scan;
- Optimized Mini-Program logo loading and custom menu icon loading by adding a unified header;
- Optimized the Video Component progress bar color to be uniformly blue;
MapSDK:
【New】
- Added support for the x and y parameters of MapContext.fromScreenLocation;
- Added support for the latitude and longitude parameters of MapContext.toScreenLocation;
【Fixed】
- Fixed the issue where, when adding multiple Markers with the same id at once, the added Marker may not be the last Marker among those with the same id;
【Optimized】
- Optimized adaptation to edge-to-edge layout enforced by targetSdkVersion ≥ 35;
ShareSDK:
【Optimized】
- Optimized adaptation to edge-to-edge layout enforced by targetSdkVersion ≥ 35;
# 2.49.9
Update Time: September 12, 2025
Core SDK:
【Fixed】
- Fixed the issue where the scan result is garbled when some QR code content is in Chinese;
【Optimized】
- Optimized to align with iOS by not displaying the title on error pages;
- Optimized Capsule Button adaptation for mirrored languages;
# 2.49.7
Update Time: August 29, 2025
Core SDK:
【New】
- Added a proxy for monitoring website URL loading in the Mini-Program web-view Component and H5 applications;
【Optimized】
- Optimized the API for adding Mini-Program shortcuts to the desktop, adding configuration parameters to specify the Activity and schema to open;
- Optimized compatibility with enabling "predictive back" in the application tag of the Host-App project's AndroidManifest;
- Optimized issues such as custom APIs registered in the main process being unable to be overridden when opening Mini-Programs in multiple processes;
- Optimized the submission logic of the complaint feedback page by encrypting the contact information before submission;
# 2.49.5
Update Time: August 15, 2025
Core SDK:
【New】
- Added support for gesture zoom of the preview in the scan page, and double-tap to zoom in/out the preview;
- Added the ability to inject custom js during Mini-Program logic layer loading (the Mini-Program can call custom synchronous APIs that return objects);
【Fixed】
- Fixed the issue where old-version (before 2021) sdkKey cannot be initialized successfully in the new SDK version;
- Fixed the permission request exception caused when switching between foreground and background location APIs;
- Fixed the issue where videos recorded by the Camera Component cannot be played in some browsers;
# 2.49.3
Update Time: August 02, 2025
Core SDK:
【New】
- Added external call methods for MoreMenuHelper "re-enter", "add to desktop", and "clear cache";
- Added a proxy for the custom permission request dialog flow;
- Added the AppletH5WebViewHandler proxy, supporting injection of JavaScriptInterface objects before loading H5;
- Added support for the line-height property in the textarea Component;
【Fixed】
- Fixed the logic issue where the Mini-Program should be closed but is not closed under abnormal circumstances;
- Fixed the issue where modifications to the Mini-Program name, logo, and organization basic information in the management console only take effect after a new Android version is released;
【Optimized】
- Optimized the return values of the getAppBaseInfo interface (added appVersion, runtimeSDKVersion, inFinChat, and frameworkVersion fields);
- Optimized the call frequency of the method for obtaining process list information (getRunningAppProcesses());
# 2.49.1
Update Time: July 18, 2025
Core SDK:
【New】
- Added support for configuring hole-punch rendering in Mini-Program launch parameters;
- Added support for red dot configuration in the more menu of the Capsule Button;
【Fixed】
- Fixed the Crash issue caused by starting Video PlayerService in the background;
- Fixed the issue where the keyboard is displayed but the input focus is lost after switching input fields on some device models;
- Fixed the issue where the lock button and screenshot button are not properly displayed when Video enters fullscreen during same-layer rendering;
- Fixed the issue where local permissions cannot be changed via API without requesting permissions;
- Fixed the issue of incorrect title bar height on the trial version pre-page (causing the close button to be obscured or invisible);
- Fixed the issue where the video orientation may be incorrect after entering fullscreen by clicking the Video fullscreen button;
- Fixed the issue where the device selection dialog UI for screen casting exceeds the screen range in fullscreen landscape mode; MapSDK:
[Fixed]
- Fixed an issue where the initialization list might never appear during consecutive requests;
- Fixed an issue in progressive search where returned results might not match the keyword;
[Optimized]
- Optimized moveToLocation to add requesting location scope permission;
# 2.48.11
Update Time: July 04, 2025
Core SDK:
[Fixed]
- Fixed an issue where video playback in the new SDK version triggered onError, causing playback failure;
- Fixed an occasional gesture issue "IllegalArgumentException: pointerIndex out of range" on the Mini-Program media browsing page;
- Fixed a memory leak issue in Mini-Programs caused by system connection services on some system versions (such as Android 12);
- Fixed an issue where the clearUserCache API would fail in some cases;
- Fixed an issue where the NavigationBar was not displayed after removing the Video Component during same-layer rendering Video fullscreen;
- Fixed an issue where large-screen adaptation failed after removing the Video Component during same-layer rendering Video fullscreen;
- Fixed an issue where previewVideo preview images and total duration were not correctly displayed;
[Optimized]
- Optimized by removing the logic that clears the WebView cache first when loading WebView-type Base Libraries;
- Optimized by adjusting the OkHttp log printing level in SDK debugMode to avoid causing download progress listeners to only start triggering after the download is complete;
ContactSDK:
[Fixed]
- Fixed an issue where "Add to Existing Contact" might fail to open the contact page when the App targetSdkVersion is 30 or above;
# 2.48.9
Update Time: June 20, 2025
Core SDK:
[Added]
- Added UI configuration item navigationBarHeight for setting the Navigation Bar height;
- Added logic for Offline Store Mini-Programs to call license verification and QPS interfaces;
[Fixed]
- Fixed a memory leak issue caused after a Mini-Program initiates a request;
- Fixed an issue where Mini-Games kept loading due to Subpackage loading failure;
- Fixed storage exceptions related to setStorage caused by excessively long userId;
[Optimized]
- Optimized APM event reporting, supplemented some data, and fixed the accuracy of some fields;
MapSDK:
[Fixed]
- Fixed an issue where the destination could not be found when opening Baidu Maps APP navigation;
[Optimized]
- Optimized Tencent Maps location search to avoid empty results as much as possible;
WeChatSDK:
[Optimized]
- Optimized the logic of verifying whether WeChat is installed when calling WeChat-related APIs;
# 2.48.7
Update Time: June 07, 2025
Core SDK:
[Added]
- Added custom Mini-Program same-layer rendering Components;
[Fixed]
- Fixed an issue where the readSync and read interfaces do not support finfile://tmp_ format paths;
- Fixed the adaptation of the foregroundServiceConfig configuration item functionality in SDK initialization for Android 14;
[Optimized]
- Optimized the privacy protection guide page to adapt to Dark Mode;
- Optimized the logic of getCurrentWebViewUserAgent (also supports retrieval when no H5 page is loaded);
- Optimized by removing the default Set-Cookie configuration returned by the server that is added to Mini-Program ft.request request headers;
- Optimized the enter/exit animations of Mini-Program scope dialogs and picker dialogs;
- Optimized the Camera Component scanCode mode to support recognizing inverted-color QR codes;
- Optimized by disabling the edge stretch and bounce effects of Mini-Program pages and Mini-Program web-view Components;
BluetoothSDK:
[Fixed]
- Fixed a crash issue in Bluetooth discovery on Xiaomi phones with Android 12 and above;
# 2.48.5
Update Time: May 24, 2025
Core SDK:
[Added]
- Added the setAllowWebViewCrossOrigin configuration item in SDK initialization;
- Added the clearUserCache API to clear the corresponding user's local permissions and other related data;
- Added support for forceUpdate for online Mini-Programs;
[Fixed]
- Fixed an issue where camera zoom would reset during continuous zooming;
- Fixed a calculation error in camera setZoom where passing 1 did not reset it;
- Fixed a known occasional crash issue in chooseMedia when taking photos from the camera;
- Fixed an issue where the video display position might be incorrect after exiting Video fullscreen mode;
- Fixed an issue on Redmi K70 Ultra where the photo button became unresponsive when alternating between video recording and photo taking in internal camera pages such as chooseMedia;
[Optimized]
- Optimized the customWebViewUserAgent property to support dynamic modification (already opened Mini-Programs need to be released and reopened for it to take effect);
- Optimized Widgets to support multiple instances;
- Optimized the download and decompression logic for ftpkg-format Base Libraries, Subpackages, and full packages;
- Optimized by removing the separate process for video, keeping it in the same process as the Mini-Program;
MediaPickerSDK
[Added]
- Added the Image Picker Extension SDK;
# 2.48.3
Update Time: May 09, 2025
Core SDK:
[Added]
- Added support for Mini-Program Performance fields: uri, initiatorType, transferSize, domainLookupStart, domainLookupEnd;
- Added the requestSubscribeMessage function and related features;
[Fixed]
- Fixed an issue where Widgets nested in a ViewPager could not switch ViewPager pages left and right within the Widget page;
- Fixed a crash issue with the Mini-Game authorize api;
- Fixed an issue where [Re-enter] in the More menu would cause incorrect processLaunch values in Performance;
- Fixed an issue where the single data size limit check was inaccurate when storing data with setStorage;
- Fixed an issue where params (the content returned in Mini-Program events) were missing from appInfo in the custom menu item click proxy event;
[Optimized]
- Optimized the white screen time of Mini-Program pages before the Mini-Program home page content is displayed;
- Optimized the functionality of the preloadFramework configuration item (adjusted to only pre-download Base Libraries when there is no local Base Library);
- Optimized the port validity check for links loaded by web-view Components (for extremely large ports, such as 9999999999, returns a port out-of-range error);
- Optimized so that when the darkmode configuration item in the Mini-Program app.json is not true, SystemInfo does not include the theme property;
MapSDK:
[Fixed]
- Fixed an occasional null pointer issue with location.coorType in Baidu positioning;
# 2.48.1
Update Time: April 18, 2025
Core SDK:
[Fixed]
- Fixed crash issues when directly launching Activities on the "Feedback & Complaints" and "Settings" pages without required parameters (e.g., via automated testing), as well as crash issues caused by missing necessary parameters when Activities are recreated after being reclaimed;
- Fixed an issue on Android 10 and below where re-entering via the More menu "Re-enter" would cause the old Mini-Program to execute a hot start first, leading to the update check being executed;
[Optimized]
- Optimized the logic for determining whether Mini-Program Subpackages have been loaded (to avoid duplicate downloads caused by incorrect judgment after update checks);
- Optimized the Android Offline Package opening logic to avoid decompressing the Base Library on every startup;
- Optimized by adding try-catch to the SDK initialization method to prevent errors from causing App crashes;
- Optimized the JSSDK authorize api callback name;
- Optimized to avoid console error messages when ScopeStatusChangeHandler is not set;
ExtSDK:
[Added]
- Added JSSDK support for RecorderManager;
MapSDK:
[Added]
- Added JSSDK support for location APIs;
[Fixed]
- Fixed an issue where RecorderManager frame data callbacks could not be triggered when starting a new recording within 1 second after recording ends with frame data callbacks enabled;
ContactSDK:
[Added]
- Added JSSDK support for contact APIs;
# 2.47.11
Update Time: April 03, 2025
Core SDK:
[Added]
- Added web-view Component support for cover-view;
[Fixed]
- Fixed a crash issue on Redmi K70 Ultra when taking photos in internal camera pages such as chooseMedia;
- Fixed a crash issue in WebView request interception of referer and cross-origin handling when the url domain contains "_";
- Fixed a crash issue when setBackgroundColor is passed a non-hexadecimal color;
- Fixed an issue where JSON strings passed via postMessage in web-view Components were converted to JSON objects;
[Optimized]
- Optimized support for rounded corners in non-same-layer Video;
- Optimized the logic for selectable file types in chooseFile (updated the mimetype for m4a/m4p audio formats to audio/mp4; when type=file, added selectable file types);
MapSDK:
[Added]
- Added Dark Mode support for Amap and Tencent Maps in the Map Component;
[Optimized]
- Adjusted the Dark Mode adaptation logic for openLocation and chooseLocation pages to be consistent with the common page logic, and added adaptation for Tencent Maps;
# 2.47.9
Update Time: March 21, 2025
Core SDK: [Added]
- Added Mini-Program home page side-swipe and virtual back proxy (AppletHomeBackPressedHandler);
- Added text long-press proxy event (textLongPressed);
[Fixed]
- Fixed an occasional crash issue in performance statistics;
- Fixed an issue where InnerAudio could not dynamically adjust playbackRate;
- Fixed an issue where the same Mini-Program id could open multiple Activities when single-process and single-task-stack are configured;
- Fixed a redirect failure issue caused by adding referer to Mini-Program urls;
- Fixed an issue where wildcard domains could not match domains with underscores;
[Optimized]
- Optimized support for larger files when Mini-Program readFile encoding is binary;
# 2.47.7
Update Time: March 07, 2025
Core SDK:
[Added]
- Added reloadCurrentWebView API;
- Added Mini-Program traceability feature;
- Added AppletInteractionHandler proxy to support custom popups triggered by long-pressing image Components, previewImage, and previewMedia;
[Fixed]
- Fixed an error when setting individual Mini-Program screenshot configuration items using Java;
- Fixed an issue in the picker Component date selector where sliding the day column first and then the year column would affect the day column;
- Fixed an error when calling stopRecord after rotating the screen orientation following startRecord in the camera Component;
- Fixed an issue where backgroundAudio could not switch playback rate during playback;
- Fixed an issue where Mini-Programs did not request permissions when permission is configured in app.json and FinAppConfig privacy policy is set to AUTH_DESC_STRATEGY_FORBIDDEN;
- Fixed an issue where passing unencoded urls to video Components and webview would cause inaccessibility;
- Fixed an issue with abnormal theme display in the bottom menu of the previewImage preview interface;
- Fixed a crash issue caused by quickly switching src when listening to Video bindended events with ijkplayer-based players;
# 2.47.5
Update Time: February 21, 2025
Core SDK:
[Added]
- Added support for the permission configuration item in app.json; permission request descriptions prioritize reading the permission configuration in app.json;
- Added triggering the onError callback when a Mini-Program is closed during loading in single-task mode;
[Fixed]
- Fixed an issue where errMsg was incomplete when setStorageSync was called with only data;
- Fixed an issue where the icon was not centered when showToast and showLoading had only an icon without text;
- Fixed an issue in the picker Component region selector where the default selection was changed to the first item "All" after sliding the province;
- Fixed an error log issue when calling navigateBack after the page-container view container pops up;
- Fixed an abnormal back animation issue with left-side gesture swipe on Android 15;
- Fixed an issue where the error log was unclear when calling startLocationUpdateBackground with only foreground location authorized;
- Fixed an issue where webview might repeatedly trigger the bindload event in some cases;
- Fixed an issue where setting preview image parameters to negative numbers caused incorrect display of the top index number;
- Fixed an issue where the bottom popup obscured the Navigation Bar in landscape mode; moved the cancel button out of the scroll area and fixed it at the bottom;
- Fixed an issue where the web-view Component binderror event was not triggered in three scenarios: src not filed/port number out of range/webview H5 pre-loading proxy enabled but proxy rejected;
- Fixed an issue where restricting input file type to pdf did not take effect when embedding H5;
- Fixed an issue where the video Component would automatically switch to landscape when clicking fullscreen after video playback completes without specifying direction;
- Fixed an issue where the video Component would briefly flash the last frame of the old video when switching src and then clicking to play a new video;
- Fixed an issue where the video Component, when play-btn-position=center and controls are dynamically switched to false, clicking the video during the hiding process of the centered play button would cause the center play button to never hide;
- Fixed a crash issue when CoverImage loads extremely large images;
[Optimized]
- Optimized Widgets to return "not support" when calling the wx.exitMiniProgram API;
- Optimized by removing unused Android READ_MEDIA_AUDIO and READ_MEDIA_VIDEO permissions;
- Optimized APM events and event parameters for Mini-Programs, Mini-Games, H5 applications, and Widgets;
# 2.47.3
Update Time: February 08, 2025
Core SDK:
[Fixed]
- Fixed an issue where Offline Package Widgets could not be opened;
- Fixed an issue where previewVideo kept showing a loading animation after pausing and resuming playback;
- Fixed a layout disorder issue in the Mini-Program permission request popup when the Mini-Program name is too long;
- Fixed an issue where the bottom-left corner of the button was not rounded when the showModal popup had only one button;
- Fixed an issue where ".html" in query parameters of the page path obtained by the onRegisteredMoreMenuItemClicked proxy method was replaced with empty;
- Fixed an issue where Pull-down Refresh could still be triggered via wx.startPullDownRefresh when the page is configured to disable Pull-down Refresh;
- Fixed an issue where takePhoto resolution configurations medium and high produced the same size;
- Fixed pixel precision loss in images after editImage rotation, e.g., an original image width of 500px becoming 499px after conversion;
- Fixed an issue where location tracking was not stopped when changing permission to not allowed in Mini-Program settings while foreground location tracking is active, or when disabling background location permission while background location tracking is active;
- Fixed a crash issue when the entries parameter passed to FileSystemManager.readZipEntry is a non-existent path value;
- Fixed a missing errMsg field in the entries returned by FileSystemManager.readZipEntry;
- Fixed an issue where the saveFileToDisk api reported "this api is not filed on the platform";
- Fixed an issue where dynamically setting poster in the Video Component did not take effect;
- Fixed an issue where the screenshot button was not displayed after setting controls=false in the Video Component, enabling fullscreen, clicking the lock screen button, and then clicking unlock again;
- Fixed an issue where after setting controls=false in the Video Component, enabling fullscreen, clicking the lock screen button, then clicking unlock again, the lock screen button would auto-hide after a few seconds, and clicking the video again would not show the lock screen button;
- Fixed an error issue when JSSDK calls the Mini-Program authorization interface;
[Optimized]
- Optimized the error page for invalid H5 application domains by adding a close button to close the error page;
- Optimized the output file path format for stat and statSync when recursive=true, e.g., for a file a.txt in the finfile://usr folder, the original output was "a.txt", optimized to output "/a.txt";
- Optimized the video Component implementation to reuse the player object, avoiding creating a new player every time src is updated;
- Optimized the control bar width and position of the video Component to avoid being obscured by the camera or screen rounded corners;
- Optimized by removing the Mini-Program icon stroke on the About page and authorization popup page;
BluetoothSDK:
[Fixed]
- Fixed an issue where the mtu request parameter in Bluetooth setBLEMTU had no size limit;
- Fixed an issue where Bluetooth setBLEMTU could be called successfully before the device connection succeeded;
- Fixed an issue where calling startBluetoothDevicesDiscovery could still succeed after initializing openBluetoothAdapter and then disabling Mini-Program Bluetooth permission in the Mini-Program settings page;
- Fixed a crash issue caused by incorrect uuid format in the parameters passed to BLEPeripheralServer.startAdvertising;
- Fixed an issue where onCharacteristicReadRequest and onCharacteristicWriteRequest listeners were not triggered;
- Fixed an issue where the device could still be discovered after BLEPeripheralServer.close;
[Optimized]
- Optimized the data returned by getBluetoothDevices and onBluetoothDeviceFound by adding a connectable field and handling other fields with default empty data;
- Optimized devices without a name in the getConnectedBluetoothDevices success callback to use the default name "unknown device";
MapSDK:
[Fixed]
- Fixed an issue where batch adding Markers in Tencent Maps displayed slowly and lagged on lower-performance devices;
# 2.47.1
Update Time: January 17, 2025
Core SDK:
[Fixed]
- Fixed a crash issue when requesting Mini-Program Scope due to userId containing "/";
- Fixed an issue with incorrect display size in tablet same-layer rendering Video fullscreen mode;
- Fixed an issue with a gray background displayed in the top area of the error page on tablets;
- Fixed an issue where abnormal current parameter passing in the previewMedia API caused incorrect display of the current preview page index;
- Fixed an issue where Offline Mini-Programs did not need to display the privacy agreement;
- Fixed an issue with incorrect host.appid data returned by the getAppBaseInfo API;
- Fixed an issue where opening a Mini-Program had no callback when the old version Mini-Program Management Console QR code did not contain appId;
- Fixed a crash issue when re-entering during audio playback after a Mini-Game starts;
- Fixed an occasional crash issue when the parameters passed to the Mini-Program base64ToTempPath interface contain a base64 prefix;
- Fixed an issue where the height of TextArea could not be restored after clearing data under same-layer rendering;
[Optimized]
- Optimized the Mini-Program Management Console request interface to support adding custom header content;
- Optimized by reducing the number of calls to the getRunningAppProcesses() method for obtaining the process list;
# 2.46.13
Update Time: January 3, 2025
Core SDK:
【New】
- Added the Mini-Program backgroundColorContent configuration item;
【Fixes】
- Fixed an issue where passing a non-existent file to getSavedFileInfo and removeSavedFile would still trigger a success callback;
- Fixed an issue where opening an online Mini-Program using an ftpkg Offline Package, then checking for updates and downloading a new version, would cause the current version to report an error when navigating to a Subpackage page;
- Fixed an issue where calling showModal multiple times in succession and closing the popups one by one would cause the popup position to change;
- Fixed an issue where resource loading failed when the Mini-Program's local resource path contained parameters;
- Fixed an issue where the Capsule Button's top/left values obtained via getMenuButtonBoundingClientRect were inaccurate when large-screen adaptation left top/bottom or left/right whitespace on the Mini-Program page;
- Fixed an issue where screen brightness might be obtained inaccurately on Xiaomi phones running Android 13 and above;
- Fixed an issue where the paid version of X5 could not be used on Android 14 and above;
- Fixed an occasional crash in getUserProfile and getLatestUserKey caused by excessively large AIDL transmission content due to Mini-Program complexity;
【Optimizations】
- Optimized the remaining proxy methods in IAppletHandler by splitting them into three different proxies;
ExtSDK:
【Fixes】
- Fixed an issue where, after enabling frame data callbacks when RecorderManager records mp3-format audio, re-entering the Mini-Program and recording again would not trigger frame data callbacks;
# 2.46.11
Update Time: December 20, 2024
Core SDK:
【New】
- Added methods to get and update the favorite status;
- Added the setAllowEnableWebViewSlowWholeDocumentDraw configuration item for SDK initialization;
【Fixes】
- Fixed an issue where downloading files in H5 would not execute on some phones under carrier networks;
- Fixed an issue where, when calling the API to open a Mini-Program, a hot start would not trigger the open-success callback and proxy method;
- Fixed an issue where, when injecting the menu manually, the page path in the Android callback contained an html suffix;
- Fixed a crash that occurred when adding custom menu items while the more panel was in page mode;
- Fixed an issue where gestures were misaligned/ineffective in same-layer rendering with higher versions of the X5 kernel (6.6 and above);
【Optimizations】
- Optimized the safeArea.top value returned by getSystemInfo and getWindowInfo;
- Optimized the ability of custom APIs to override built-in API functionality;
- Optimized chooseImage compression to be limited to 400k;
- Optimized the trigger frequency of the video Component's playback progress (adjusted to trigger twice per second) to avoid blocking message communication due to excessive triggers;
- Optimized the large-screen adaptation effect;
- Optimized the orientation of the Mini-Program launch page;
# 2.46.9
Update Time: December 6, 2024
Core SDK:
【New】
- Added a configuration item for whether to hide the status bar when the Mini-Program is in landscape mode (UIConfig.setHideLandscapeStatusBar);
- Added the Mini-Program getPerformance API;
【Fixes】
- Fixed an issue where the Video Component would stutter and fail to play when playing relatively large videos;
- Fixed an issue where an incorrect method of searching for \r\n and \n\n in onChunk caused incorrect splitting;
【Optimizations】
- Optimized the display content of "Service Privacy and Data Notice" on the about page in the default state;
- Optimized the color configuration of the ActionSheet Control in Dark Mode;
# 2.46.7
Update Time: November 22, 2024
Core SDK:
【New】
- Added watermark support for public pages;
- Added screenshot prevention support for public pages;
【Fixes】
- Fixed an issue where the showActionSheet Component had no separator line in the middle;
- Fixed an issue where videos recorded by the camera Component were blurry;
【Optimizations】
- Optimized gesture scrolling of pages when a widget is nested in a NestedScrollView;
BluetoothSDK:
【Fixes】
- Fixed an issue where, after changing the Bluetooth permission to be requested each time in the background, calling openBluetoothAdapter would not always show an authorization popup;
- Fixed an issue where, after the Mini-Program's Bluetooth permission was disabled, calling createBLEPeripheralServer could still succeed and was not controlled by the permission;
【Optimizations】
- Optimized the callback of getBluetoothAdapterState when called with the system Bluetooth permission disabled;
ExtSDK:
【Fixes】
- Fixed an issue where calling startRecord twice in succession resulted in no callback for the second call;
MapSDK:
【New】
- Added support for custom style clusters in AMap;
# 2.46.5
Update Time: November 9, 2024
Core SDK:
【New】
- Added the Mini-Program launch parameter themeStyle, used to independently set the Mini-Program's Dark Mode;
【Fixes】
- Fixed an exception caused by deletion of the default button on the custom error page;
- Fixed an issue where, after batch download completed, opening the Mini-Program would not use the cache;
- Fixed an issue where, after opening a Mini-Program and then publishing a new version, using the batch interface to update would still open the old version;
【Optimizations】
- Optimized the Mini-Program about page so that it is not displayed when the account entity has no content;
# 2.46.3
Update Time: October 13, 2024
Update Content:
Core SDK:
【New】
- Added a callback for changes in widget content width and height;
【Fixes】
- Fixed an issue where initialTime did not take effect when the Video Component switched src;
- Fixed an issue where fixed and absolute cover-view elements added after the Video Component entered full screen were not displayed;
- Fixed an issue where openDocument might fail because the file extension obtained from filePath was abnormal;
【Optimizations】
- Optimized the unification of the loading error page and other internal error pages;
- Optimized the Mini-Program favorite-related interfaces (prioritize calling the new favorite interface, and call the old favorite interface if it fails);
- Optimized the property names returned by getLocalIPAddress;
- Optimized the request and downloadFile interfaces to support the profile property;
# 2.46.1
Update Time: October 13, 2024
Update Content:
Core SDK:
【New】
- Added the sendSms API;
【Fixes】
- Fixed an issue where map content occasionally failed to display on certain models when Baidu Map used X5 same-layer rendering;
- Fixed an issue where stopCompass would not trigger onSuccess;
- Fixed an issue where video did not trigger the bindwaiting event;
- Fixed an issue where video did not trigger the bindprogress event after switching the URL;
- Fixed an issue where failure to call the Mini-Program details interface during Mini-Program update checking might trigger update checking again;
- Fixed an issue where frequent calls to the downloadFile interface within a short period might return duplicate paths;
- Fixed an issue where "Re-enter" in the more menu would not trigger the applet_launch apm event;
- Fixed a crash when readFile/readFileSync read large files;
- Fixed an issue where readFileSync had no callback when reading a network path;
【Optimizations】
- Optimized the Mini-Program UI and enter/exit animations;
- Optimized the H5 application more menu so that it does not display the "Open/Close Debug Button";
- Optimized the error codes returned by the Mini-Program details interface (added 20043 - the current application does not have permission to open the review QR code);
- Optimized the scenario where the bundleId returned by the Mini-Program details interface is disabled (added a popup prompt at startup);
- Optimized the image processing logic of the camera Component's takePhoto interface to reduce image size;
- Optimized the proxy event parameters of the Forward button by adding the appLink parameter to appInfo;
- Optimized the proxy event parameters of the Share button by changing appletPagePath to shareContent (MenuShareContent type);
- Optimized the error prompts of readFile/readFileSync for network paths;
- Optimized openDocument to restrict the file formats that can be opened;
MapSDK:
【Fixes】
- Fixed an issue where MapContext.initMarkerCluster did not trigger the success and complete callbacks;
ContactSDK:
【New】
- Added the chooseContact API;
WeChatSDK:
【Fixes】
- Fixed an issue where getPhoneNumber failed when opening a non-release version of a Mini-Program;
【Optimizations】
- Optimized the login and requestPayment interfaces in the WeChat Extension SDK by adding support for the envVersion parameter;
ShareSDK:
【Optimizations】
- Optimized the adjustment of the Share button proxy event parameters to stay in sync with the Core SDK (appletPagePath changed to shareContent);
# 2.45.13
Update Time: September 24, 2024
Update Content:
Core SDK:
【Optimizations】
- Optimized the getSuperviseInfo interface by removing the logic that reads imei, Mac address, and phone state permissions (imei and mac address return "");
# 2.45.11
Update Time: September 20, 2024
Core SDK:
【New】
- Added a pre-proxy for loading H5 in the web-view Component (AppletWebViewLoadHandler);
【Fixes】
- Fixed an issue where apm data reporting would not be triggered even when conditions were met after SDK initialization;
MapSDK:
【New】
- Added support for custom clusters in Tencent Maps;
【Fixes】
- Fixed an issue where Tencent Maps occasionally failed to display Markers when re-entering the Mini-Program through "Re-enter" in the more menu;
- Fixed an issue where, during same-layer rendering in single-process mode, opening multiple Mini-Programs caused Markers not to display in Baidu Maps and Tencent Maps;
- Fixed an issue where Markers added via MapContext.addMarkers on some maps might be overwritten by Markers in the map Component's markers property, resulting in an inaccurate number of Markers added to the map;
WeChatSDK:
【Optimizations】
- Optimized the implementation of getPhoneNumber in the WeChat Extension SDK;
# 2.45.9
Update Time: September 6, 2024
Update Content:
【New】
- Added the memberUserId configuration item to configure experience member and developer member accounts;
- Added the getWebViewUrlSync Mini-Program Api;
- Added the getFinFileAbsolutePath Api (called by the Mini-Program process);
【Fixes】
- Fixed an issue where opening an H5 application reported the error "File does not exist";
【Optimizations】
- Optimized disabling routing events for widgets;
- Optimized adding close events for widgets;
- Optimized the prompt information for custom APIs that have not completed filing;
- Optimized the handling logic for special characters in gson to avoid crashes that might occur when the Host-App uses a lower version of gson (such as 2.2.2);
# 2.45.7
Update Time: August 23, 2024
Update Content:
Core SDK:
【New】
- Added the
setAutoFixDensityconfiguration item; - Added the function
getFavoriteApplets()to get the list of favorited Mini-Programs;
【Fixed】
- Fixed an issue where the control bar of video might disappear and fail to recover when switching videos quickly;
- Fixed a crash that might occur when the video Component switches videos quickly;
【Optimized】
- Optimized the APM statistics feature by adding the js_error type reporting event;
- Optimized an issue where the content of a Widget could not be scrolled vertically when nested in a ScrollView;
- Optimized the Mini-Program startup loading failure screen by adding a "Reload" feature;
LiveSDK:
【Fixed】
- Fixed an issue where live-player had no picture when playing H265 format streams;
# 2.45.5
Update Time: August 9, 2024
Update Content:
【Fixed】
- Fixed an issue where the video Component, during same-layer rendering, could be killed on certain device models, causing video control to become invalid;
- Fixed an issue where getFileInfo did not trigger the fail callback when the file does not exist;
- Fixed an issue where chunk data was truncated due to incompleteness in some cases for chunked download streams;
- Fixed an issue where chunk streams were returned all at once when setDebugMode was set to true during SDK initialization;
- Fixed an issue where the current page could not be pushed up when input/textarea was focused after the Mini-Program returned to the foreground from the background;
- Fixed an issue where the absolute path converted by the getFinFileAbsolutePath function contained two levels of folders when the path passed in contained a folder;
【Optimized】
- Optimized textarea to display a scrollbar when scrolling vertically beyond a fixed height;
- Optimized the domain verification logic to support adding second-level domains (e.g., https://*.baidu.com) in the Management Console;
# 2.45.3
Update Time: July 26, 2024
Update Content:
【New】
- Added the disableBackForwardGesture configuration for Mini-Programs, used to control whether the swipe-back gesture on Mini-Program pages is enabled;
【Fixed】
- Fixed an issue where the cursor jumped after textarea was first focused;
- Fixed an issue where images appeared inverted after selecting images in the Mini-Program;
【Optimized】
- Optimized the triggering of lifecycle methods for custom APIs in single-process mode to prevent duplicate triggering of onCreate, onDestroy, etc.;
- Optimized network requests to prioritize IPv4 for DNS resolution (the system defaults to optimizing for IPv6; if the IPv6 IP corresponding to the domain is incorrect, some systems will only use IPv4 resolution after a timeout, ultimately making network requests very slow);
- Optimized the payload parameters of page_hide/applet_hide/page_load events reported by APM, removing redundant extData;
LiveSDK:
【Optimized】
- Optimized an issue where live-player would stutter and be unclear in some cases;
- Optimized support for dynamically modifying resolution during streaming;
ExtSDK:
【Fixed】
- Fixed an issue where audio frame calculation was incorrect during recording;
# 2.45.1
Update Time: July 13, 2024
Update Content:
Core SDK:
【New】
- Added the phone and channel configuration items to FinAppConfig;
【Fixed】
- Fixed an issue where opening an online Mini-Program using a zip-format offline Base Library, then opening an online Mini-Program of the same version using an ftpkg-format Base Library, reported "Base Library loading failed (13009)";
- Fixed issues such as "Base Library loading failed" caused by concurrent downloads of the Base Library and Mini-Program Code Packages;
【Optimized】
- Optimized the header parameters of all Management Console API requests in the SDK by adding the mop-app-version field;
- Optimized adaptation for targetSdkVersion 34 (Android 14) and above to prevent crashes related to background audio and background location;
- Optimized foreground service notifications for background audio and background location on Android 13 and 14;
LiveSDK:
【Optimized】
- Optimized live-player to support playing H265 format streams;
# 2.44.11
Update Time: June 29, 2024
Update Content:
Core SDK:
【New】
- Added the disableTbs configuration item for Mini-Program startup requests;
【Fixed】
- Fixed an issue where the front camera could not be specified when initializing the camera during same-layer rendering;
- Fixed an issue where some Mini-Program detail data was not synchronized and updated during update checks;
- Fixed an issue where the textarea font-weight property did not take effect on the placeholder;
- Fixed an issue where the statusBarHeight property value of getWindowInfo was incorrect in landscape mode for Mini-Programs;
【Optimized】
- Optimized InnerAudio so that if it is playing and is paused due to page pause, it will resume playing after the page resumes;
- Optimized the minimum width and height of showToast to 48 when displaying plain text;
- Optimized an issue where recognition was abnormal due to an excessively high audio bitrate when camera calls startRecord, and added the audioBitrate configuration item to support specifying the audio bitrate;
LiveSDK:
【Optimized】
- Optimized stuttering issues with some poor-quality live streams;
# 2.44.9
Update Time: June 14, 2024
Update Content:
【New】
- Added the finfile protocol for generating and saving files (generateFinFilePath, getFinFileAbsolutePathCanNoExist);
- Added permission request configuration policies and detailed local permission request description text;
- Added support for the readCompressedFile and readCompressedFileSync APIs;
【Fixed】
- Fixed an issue where audio in the audio tag did not stop when an H5 application was closed;
- Fixed an issue where loading Subpackages in Mini-Games via loadSubpackage got stuck due to frequent progress updates;
- Fixed an issue where obtaining/operating files when a streaming package did not exist caused the same files to remain inaccessible/inoperable even after the streaming package existed;
- Fixed the "Using WebView from more than one process at once with the same data directory is not supported" error on certain tablets;
- Fixed a crash caused by the width and height of a cropped image being less than 1 when zooming in on an image indefinitely;
- Fixed an issue where the orientation of getVideoInfo was not fixed;
- Fixed a crash caused by gson parsing abnormal data during data upload;
- Fixed an issue where picker data was abnormal after setting custom-item in region picker and then using picker data without custom-item;
- Fixed a possible crash of camera startRecord on certain device models;
【Optimized】
- Optimized the cropping area to be more highlighted when cropping images at a fixed ratio;
- Optimized websocket by adding the pingInterval parameter, which can control the interval for sending ping frames;
# 2.44.7
Update Time: June 1, 2024
Update Content:
【New】
- Added support for H5 applications to proxy Capsule more-button click events;
- Added support for the web.json fullscreen configuration in H5 applications;
- Added support for Navigation Bar-related configurations in web.json for H5 applications;
- Added support for onAppShow and onAppHide in H5 applications;
- Added the editImage and cropImage APIs;
- Added the server encryptUserId configuration item; the SDK internally encrypts userId (if encryption is required, confirm that the backend service has been upgraded to 1.4.1 or above);
【Fixed】
- Fixed an issue where local path images in Map customCallout were not displayed;
- Fixed an issue where the customCallout bubble click event was invalid in AMap;
- Fixed an issue where text on cover-view was not fully displayed;
- Fixed an issue where data retrieval was abnormal after reconnecting some Bluetooth devices;
- Fixed a crash that occurred when the page had already been removed after the Map Component obtained system location authorization;
- Fixed a crash that occurred during gif preview in some cases;
【Optimized】
- Optimized the object returned by getPrivacyInfo by adding the updateTime property;
- Optimized Mini-Game rendering and audio stuttering issues caused by InnerAudio;
- Optimized support for previewing bmp format images;
- Optimized the triggering logic of IAppletLifecycleObserver onActive and onInActive;
- Optimized the administrative region data of the picker Component, updating it to the latest 2024 administrative division version;
# 2.44.5
Update Time: May 17, 2024
Update Content:
Core SDK:
【New】
- Added the getBindApplets (get the list of bound Mini-Programs) method;
- Added the themeStyle property, supporting specifying the Mini-Program theme mode (follow system, dark, light);
- Added support for the queryParams parameter in offline H5;
- Added the offline H5 originUrl configuration;
【Fixed】
- Fixed an issue where ScrollView could not scroll after closing the keyboard in Mini-Games;
- Fixed an issue where the permission request dialog did not pop up on the first call to getSuperviseInfo;
- Fixed an adaptation issue with the background color of Mini-Programs whose darkMode value is false in Dark Mode;
- Fixed an issue where downloadFile failed when the filePath parameter contained a folder;
- Fixed an issue in single-process mode where the aidl service status was occasionally judged incorrectly, causing Mini-Program API calls to report an error (Cannot invoke extends api, session invalid);
【Optimized】
- Optimized getSystemInfo and getWindowInfo safeArea to avoid the notch area;
MapSDK:
【Optimized】
- Optimized color adaptation for Dark Mode on some map pages;
BluetoothSDK:
【Fixed】
- Fixed an issue where the device did not return information after sending a read characteristic value command in some cases;
- Fixed an issue where the UUIDs of services and characteristic values were not uppercase;
# 2.44.3
Update Time: April 26, 2024
Update Content:
【New】
- Added an interface for the main process to obtain privacy authorization information;
【Fixed】
- Fixed an issue where opening a production Mini-Program via QR code did not support grayscale parameters;
- Fixed an issue where a white background flashed when loading pages in Dark Mode;
- Fixed an error in Mini-Program storage caused by the userId set during SDK initialization containing a file path separator;
- Fixed a possible exception when getImageInfo obtained network images after adding a referer;
- Fixed an issue where request only requested the first redirect when there were multiple redirects;
- Fixed an issue where sharing screenshots failed on Android 14 devices when using x5;
- Fixed a flickering issue when the Input box was focused;
【Optimized】
- Optimized the API for obtaining Mini-Program information (added the frameworkInfo property);
- Optimized complaints and feedback to first display a custom permission request prompt dialog when using the camera to take photos;
- Optimized the logic for determining whether a single reported event exceeds the server-configured upper limit;
# 2.44.1
Update Time: April 12, 2024
Update Content:
【New】
- Added the Widget feature;
- Added support for privacy agreement click proxy events;
【Fixed】
Fixed an issue where opening a Mini-Program occasionally got stuck on the loading page when blocking Mini-Program loading was enabled;
Fixed an issue in some scenarios where, when a new version was available, a hot start did not switch to a cold start to update and open the new version;
Fixed a crash on some tablet devices when a Mini-Program called makePhoneCall;
Fixed an issue where restarting a Mini-Program pre-created extra processes;
Fixed an issue where the web-view Component did not trigger the bindload event when loading a web page; [Optimization]
Optimized the live component to support Picture-in-Picture;
Optimized the permission dialog request frequency to be configurable by the server;
# 2.43.11
Update Date: March 29, 2024
Update Content:
Core SDK:
[New]
- Added SyncApi with appId parameter for synchronous and asynchronous invoke methods;
- Added support for configuring built-in menus and custom menus on the management platform;
[Fix]
- Fixed the logic error in the updateScopeStatus method for custom permission authorization;
- Fixed the issue where setting selection-start and selection-end properties did not take effect when input and textarea components auto-focus;
- Fixed the issue where calling navigateToMiniProgram multiple times to navigate to a Mini-Program would prompt "page does not exist";
- Fixed the issue where opening a Mini-Program in single-process multi-task mode on certain Huawei models (Mate 20, MatePad 11) would trigger the Host-App Activity onDestroy;
- Fixed the issue where data reporting did not follow the configured rules;
[Optimization]
- Optimized the issue where exceptions during sdkKey decryption caused the Host-App to crash;
- Optimized compatibility with lower versions of Gson (2.2.2);
MapSDK:
[Fix]
- Fixed the issue where the status bar of chooseLocation and openLocation was not displayed transparently on certain Android systems;
[Optimization]
- Optimized the issue where the title bar of chooseLocation and openLocation was very close to or even overlapping with the status bar under wide status bars on higher Android versions;
ShareSDK:
[Optimization]
- Optimized the link concatenation for sharing screenshots by checking whether it contains "/" and adding it by default if not;
# 2.43.9
Update Date: March 15, 2024
Update Content:
[New]
- Added support for setting privacy file names and links via proxy for third-party privacy agreements;
[Fix]
- Fixed the crash issue when using background audio on Android 14;
- Fixed the issue where some field values in data reporting events were incorrect;
- Fixed the issue where some initialization parameters of Baidu Map SDK higher versions (7.5.4 and above) did not take effect;
# 2.43.7
Update Date: March 1, 2024
Update Content:
[New]
- Added net_name field to the payload of data reporting events;
- Added support for configuring streaming compression version Offline Packages for online Mini-Programs;
- Added support for using WebView hole-punching to simulate same-layer rendering of live-player and live-pusher;
- Added support for the orientation property in live-player;
[Fix]
- Fixed the issue where WebView fontSize had a minimum value of 8 on certain device models;
- Fixed the issue where the mode value type of the stat method in the new compression library was incorrect;
- Fixed the issue where input box content would be cleared in certain scenarios with same-layer rendering of the input component;
- Fixed the issue where placeholder styles were abnormal in certain scenarios with same-layer rendering of the input component;
- Fixed the issue where the camera component would obscure the bottom view after switching between landscape and portrait orientation in non-same-layer rendering;
- Fixed the issue where API override failed in multi-process mode when SDK Key used external verification;
- Fixed the issue where the TabBar page Icon was not refreshed after launching from an Independent Subpackage page when the launch page was an Independent Subpackage and the TabBar page was in the Main Package;
- Fixed the issue where there was no animation when returning from a native secondary page;
- Fixed the issue with Offline Package configuration exceptions for online Mini-Programs;
- Fixed the issue where Subpackage Preload logs were printed twice when opening a Mini-Program for the first time in Offline Scenario 3;
- Fixed the crash issue of chooseLocation when using higher versions of Baidu Map SDK;
- Fixed the issue where some stream pull links had no sound;
- Fixed the ANR issue caused by some invalid stream push addresses;
- Fixed the issue where there was no sound when using Bluetooth earphones;
- Fixed Bluetooth adaptation issues on Android 12 devices;
- Fixed the crash issue when recording video with the camera component;
[Optimization]
- Optimized the file upload interface for complaints and feedback to be compatible with the old interface;
- Optimized the live-player audio channel to use media audio;
# 2.43.5
Update Date: February 2, 2024
Update Content:
[New]
- Added error dialog for checking Mini-Program updates, with new error code 20003;
- Added support for enableAlertBeforeUnload in side-swipe back scenarios;
- Added support for stat/statSync to handle folders within Mini-Program packages using the new compression library;
- Added support for proxy requests in request, uploadFile, and downloadFile APIs;
- Added support for RequestTask.onChunkReceived;
[Fix]
- Fixed the issue where getImageInfo reported errors when obtaining remote image information after restarting the Mini-Program;
- Fixed the issue where Subpackages would fail to download when the Subpackage configuration item only had root configured and ended with /;
- Fixed the compatibility issue where Mini-Games and offline H5 would freeze when opened on Motorola X40 model phones;
- Fixed the issue of garbled characters during sdkKey decryption;
- Fixed the flickering issue when side-swiping back from native pages such as About and Settings on Android 12 and above;
- Fixed the ContentType error issue in uploadFile;
- Fixed the issue where Mini-Program content was not adapted when opening the Mini-Program in landscape orientation;
- Fixed the potential crash issue when passing certain special or invalid URLs to previewMedia;
- Fixed the issue where previewMedia failed to load video cover images;
- Fixed the issue where the save path displayed when saving videos in previewMedia was incorrect;
- Fixed the issue where the Mini-Program name and logo were not updated after a Mini-Program update;
- Fixed the crash issue caused by camera ID conflicts when quickly navigating back on multi-camera pages;
- Fixed the crash issue where repeatedly opening multiple pages with cameras in page onLoad without camera permission would cause crashes;
[Optimization]
- Optimized the logic for obtaining the Base Library version when opening a Mini-Program without cache in Offline Scenario 3;
- Optimized the format of data returned by getImageInfo for URL types;
- Optimized the disabling of side-swipe exit for Mini-Program underlying pages, and marked the disableSlideCloseAppletGesture configuration item as deprecated;
- Optimized TabBar icons to be compatible with paths within Mini-Program packages starting with "./";
- Optimized the logic for determining whether cross-origin issues need to be handled during web-view resource loading, to avoid exceptions caused by special query parameters in resource links;
- Optimized the response header callbacks and request success callback data of request, uploadFile, and downloadFile APIs to include both header and cookies;
# 2.43.3
Update Date: January 20, 2024
Update Content:
[New]
- Added support for isFile and isDirectory in the return results of stat/statSync/fstat/fstatSync APIs;
- Added getLocalIPAddress API;
- Added NFC functionality support;
- Added digestAlgorithm sha256 support in getFileInfo;
- Added UserCryptoManager.getLatestUserKey API;
[Fix]
- Fixed the issue where Mini-Program icons on the loading page had white rounded corners in Dark Mode;
- Fixed the issue where the camera component in scan mode had a certain probability of crashing on certain Android 14 device models;
- Fixed the crash issue when calling the getVideoInfo interface without x5 integrated;
- Fixed the issue where the upload file parameter id was used incorrectly in the complaint feedback module;
- Fixed the exception caused by rapidly clicking the submit button repeatedly in the complaint feedback module;
- Fixed the issue where the incorrect image path returned by custom menus would cause the Mini-Program to be unable to open;
- Fixed the issue where the appletOpenCallBack callback did not take effect;
- Fixed the issue where the Share button was not displayed in the more menu of Mini-Games and offline H5;
- Fixed the issue where the order of Subpackages in the two pre-download logs was inconsistent when multiple Subpackages were configured for Subpackage Preload;
- Fixed the issue where there were no download logs for non-existent Subpackages;
- Fixed the issue where some values would be lost when a single key in the request interface header corresponded to multiple values simultaneously;
- Fixed the white screen issue when opening Mini-Programs on certain device models (OPPO Android 10);
- Fixed the issue where Mini-Games could not be updated normally after using the new compression library;
- Fixed the issue where Mini-Game Subpackages did not support custom entry JS;
- Fixed the issue where an error dialog would be displayed when the management platform server was abnormal during Mini-Program update checks;
- Fixed the issue where the previous Mini-Program would not stop playing when switching between different Mini-Programs playing background audio from the same address;
- Fixed the issue where modifying the width and height properties of the canvas component could cause incorrect scaling ratios in subsequent drawing;
- Fixed the issue where attempting to draw with the canvas component while the Mini-Program was in the background would cause setTimeout to be interrupted, and drawing could not continue even after returning to the foreground;
- Fixed the scaling error caused by the relationship between canvas node dimensions and canvas drawing surface dimensions;
- Fixed the drawing effect alignment when the number of lineTo parameters in the canvas component was invalid;
- Fixed the issue where the drawing content was lost due to Surface being reclaimed after entering the background in non-same-layer rendering of the canvas component;
[Optimization]
- Optimized Subpackage Preload success and failure logs to be separated into 2 entries;
- Optimized the URL validity checking method for uploadFile and downloadFile to avoid false positives;
- Optimized zip decompression to avoid the "zip path traversal" issue flagged during App Store review;
- Optimized by removing the 60s maximum limit on the timeout parameter for uploadFile, request, downloadFile, and createSocketTask;
- Optimized the logic for determining persistent local storage of Mini-Program information;
- Optimized the Mini-Program release logic;
- Optimized by upgrading finclipcore to version 1.16.1;
- Optimized the issue where black transition artifacts might appear when the size of the canvas component changes in non-same-layer rendering;
# 2.43.1
Update Date: January 5, 2024
Update Content:
[New]
- Added a [Clear Cache] menu item in the more panel, supporting closing the Mini-Program and clearing its cache;
- Added a series of CacheManager APIs;
- Added handleWebviewPreload configuration item and preloadWebView interface;
- Added data pre-pull and periodic update functionality along with 4 related interfaces or events;
[Fix]
- Fixed the issue where Subpackages were repeatedly pre-downloaded after a Mini-Program version update;
- Fixed the issue where setting font size separately in the canvas component did not take effect;
- Fixed the issue where SVG images could not be displayed normally starting from version 2.42.11;
- Fixed the animation exception issue caused by system side-swipe on certain device models;
- Fixed the issue where the vConsole status did not match the debug button text in the more menu;
- Fixed the issue where the camera component in non-same-layer rendering occasionally displayed incomplete screen rendering after switching between landscape and portrait orientation;
[Optimization]
- Optimized the connect interface of TCPSocket to support the timeout parameter;
- Optimized the picker component by updating the administrative region data source to the latest 2023 data, adding pickerRegionPath to the Config configuration item, and supporting custom administrative region data configuration (JSON file format);
- Optimized the Mini-Program About page layout (adjusted to title on top and content below to adapt to internationalization language effects);
- Optimized the getLocation logic by adjusting the GPS positioning timeout to 5 seconds for precise positioning;
- Optimized the drawing-related code of the Canvas component to improve drawing efficiency and smoothness;
- Optimized Log output within the SDK (reduced unnecessary Info-level logs, duplicate logs, event parameter printing, etc., to reduce log size);
# 2.42.13
Update Date: December 25, 2023
Update Content:
[New]
- Added support for getVideoInfo and getAvailableAudioSources APIs;
- Added support for onMemoryWarning and offMemoryWarning APIs;
- Added support for restartMiniProgram API;
[Fix]
Fixed the issue where cross-origin issues during loading of certain resources in the webview component caused loading failures;
Fixed the scrolling exception issue when calling pageScrollTo to scroll the page and then calling it again before scrolling ended;
Fixed the potential crash issue when rapidly and continuously calling the camera in chooseMedia, chooseImage, and chooseVideo;
Fixed the crash issue when referrerInfo format was incorrect;
Fixed the issue where APIs of Mini-Programs launched in single-process mode could not be overridden in special cases;
Fixed the issue where there was no success callback after opening offline H5 and Mini-Games;
Fixed the issue where Subpackage and full package MD5 verification failure messages were not differentiated;
Fixed the compatibility issue where natively implemented interfaces had up-and-down flickering animations during side-swipe on certain phones;
Fixed the issue where offline H5 could be incorrectly switched to cold start during hot start;
Fixed the black screen issue when switching the video component cover mode to fullscreen;
Fixed the issue where chooseMedia video compression caused changes to video orientation information;
Fixed the exception issue when calling related APIs with the camera component in hidden mode;
Fixed the 0x505 error issue of the camera component;
Fixed the issue where acceleration counting returned incorrect information;
Fixed the issue where passing an invalid value to setBackgroundColor would incorrectly override the background color configured in app.json;
Fixed the issue where swiping up on the page during Pull-down Refresh would not collapse the pull-down refresh;
Fixed the issue where getImageInfo failed to obtain files within the package with the new compression package;
Fixed issues related to handling invalid values in canvas-related APIs;
Fixed the issue where canvas-related API drawing effects were abnormal in certain scenarios;
Fixed the issue where after calling openBluetoothAdapter and then disabling Bluetooth permission, calling openBluetoothAdapter again would succeed directly;
Fixed the issue where Bluetooth APIs still could not be executed after enabling Bluetooth when Bluetooth was disabled during openBluetoothAdapter execution;
Fixed the issue where onBluetoothAdapterStateChange would be triggered repeatedly with the same result;
Fixed the issue where onBluetoothAdapterStateChange would be triggered when toggling Bluetooth without initialization;
Fixed the issue where openBluetoothAdapter did not request Bluetooth permission when Bluetooth was not enabled;
Fixed the issue where the tempVideoPath generated by cameraContext.stop used as the src of the video component was not updated after re-recording;
Fixed the occasional crash issue when recording video with the camera component on MTK processor device models;
Fixed the issue where the request extraData parameter was not updated when opening a Mini-Program via hot start; 【Optimizations】
Optimized the compatibility of the Picker Component with date formats and date ranges when selecting dates;
Optimized the column count limit of the Picker Component's multi-column selector;
Optimized the compatibility of the Picker Component's time selector with date ranges;
Optimized by removing the handling of disableScroll and delegating it to the Base Library;
Optimized adaptation to the receiver export feature of newer Android systems;
Optimized the way the J2V8 engine obtains the UA;
Optimized the compression package format of Mini-Programs and Base Libraries to improve compression ratio and reduce size;
Optimized by hiding unavailable functions in the More menu when the page has not finished loading or has failed to load;
Optimized by removing possible whitespace characters in the server environment configuration information;
Optimized the file storage-related logic in the SDK (Software Development Kit);
Optimized the Dark Mode color adaptation strategy;
Optimized the Bluetooth experience and aligned error messages;
Optimized the redirect request logic of request, downloadFile, and uploadFile to forward according to the original request;
Optimized the error message when opening a Mini-Program while there is no local Base Library and the re-download still fails;
Optimized the API for opening Mini-Programs by adding a reLaunch parameter to request, supporting the setting of conditions for triggering reLaunch during hot start of Mini-Programs;
# 2.42.9
Update Time: December 10, 2023
Update Content:
Core SDK (Software Development Kit):
【New Features】
- Added log upload functionality;
- Added side-swipe back adaptation for all native pages;
- Added foldable screen/split-screen adaptation;
- Added canvas same-layer rendering support;
- Added canvas network image support, optimized local image reading and drawing;
【Fixes】
- Fixed the foreground color issue of the Back to Home button;
- Fixed the decompression failure issue when the compression package contains multiple levels of folders;
- Fixed the incorrect parameter name issue in the reddir callback;
- Fixed video same-layer rendering not supporting subtitles;
- Fixed the incorrect duration at the end of playback in video same-layer rendering;
- Fixed the incorrect playback start position issue when calling the stop API and then the start API on some phones for the video Component;
- Fixed the issue where Mini-Program logs were not written to the main process log file in single-process mode of XLogSDK;
- Fixed the white screen issue when switching back to the Mini-Program from the background after exiting the Mini-Program on the unregistered domain error page;
- Fixed the page unable to scroll issue caused by setting holdKeyboard when the input and textarea Components are not focused;
- Fixed the issue where the input box position is not updated in a timely manner in some scenarios of input and textarea Component same-layer rendering;
- Fixed the crash issue after setting the src of backgroundAudioManager when j2v8 is enabled;
- Fixed the issue where the onFail callback of the jssdkConfig proxy method is triggered but still returns success;
- Fixed the routing failure issue when the page path has multiple .html suffixes;
- Fixed the crash issue when the page stays in the side-swipe state after jumping to another page and returning during the page side-swipe process, and clicking the side-swipe area causes the Mini-Program to crash;
- Fixed the incorrect data structure issue of the readDirSync callback result;
- Fixed the abnormal audio playback state issue when Mini-Games enter and exit the background;
- Fixed the issue where Mini-Games fail to open in weak network environments and continue to fail on subsequent opens;
- Fixed the issue where Mini-Games become cold starts on every launch;
【Optimizations】
- Optimized the animation effect of the privacy agreement switching process;
- Optimized the white screen issue at startup;
- Optimized the download logic of Base Libraries and Mini-Programs;
- Optimized some text to align with iOS;
- Optimized the back button and title style of complaint feedback-related pages to synchronize with the initialized Mini-Program configuration;
- Optimized the touch event handling mechanism of input and textarea Components;
- Optimized the failure information of the getSelectedTextRange callback when the input box is not focused;
- Optimized the TabBar page implementation mechanism;
- Optimized the handling logic for failure scenarios of TabBar-related APIs called in onLaunch;
- Optimized the canvas code logic;
LiveSDK:
【Fixes】
- Fixed the screen distortion issue during streaming on some phones;
# 2.42.7
Update Time: November 24, 2023
Update Content:
【New Features】
- Added support for the autoplay property of previewVideo;
- Added a degradation mechanism for XLog loading failures;
- Added enableLog and enableXLogConsole configuration items to configure whether logging is enabled;
- Added an API to dynamically modify log-related configuration items;
- Added support for configuring referer in the Mini-Program app.json; when not configured, the default Referer is no longer added;
- Added a timeout error prompt for Base Library loading;
【Fixes】
- Fixed the crash issue when Pull-down Refresh is enabled and sliding to the top under compileSdkVersion33 compilation;
- Fixed the issue where Pull-down Refresh may become ineffective;
- Fixed the issue where seek() of InnerAudio and BackgroundAudio may not take effect;
- Fixed the crash issue when opening the More menu of a Mini-Program with a custom menu after enabling j2v8;
- Fixed the abnormal crash issue of previewVideo;
- Fixed the issue where the poster of previewMedia is a network image and does not display;
- Fixed some issues with the video Component;
- Fixed the data linkage issue between different input boxes of input and textarea Components;
- Fixed the issue where the input content remains selected after setting the selectionStart and selectionEnd properties of input and textarea Components;
- Fixed the issue where the placeholder property of input and textarea Components does not support dynamic updates;
- Fixed the blank area above the keyboard after the input box of input and textarea Components at the bottom of the TabBar page is focused;
- Fixed the occasional crash issue of drag gestures;
- Fixed the issue where the first call to startPush easily fails;
- Fixed the issue where opening the same Mini-Program consecutively via API in a short period occasionally results in the Mini-Program loading indefinitely/the home page not loading;
- Fixed the issue where the input box is obscured by the keyboard after the position-fixed input and textarea Components are focused;
- Fixed the issue where the page push-up height is not updated when switching input boxes after the input and textarea Components are focused;
- Fixed the crash issue when exiting the camera page after the camera goes to the background and then returns to the foreground;
【Optimizations】
- Optimized the language value returned in getSystemInfo to originate from the language configured in the SDK at initialization;
- Optimized the animation effect of the Mini-Program permission authorization popup;
# 2.42.5
Update Time: November 11, 2023
Update Content:
【New Features】
- Added a method for obtaining Mini-Program screenshots called by the Mini-Program process;
- Added j2v8 support for frame data callbacks;
- Added setInnerAudioOption support;
【Fixes】
- Fixed the crash issue of the web-view Component in some scenarios on Android 5.x versions;
- Fixed the occasional crash issue of side-swipe back;
- Fixed the issue where previewMedia automatically plays when previewing videos;
- Fixed the issue where setting the poster of previewMedia to tempPath, storePath, or finPath paths as the video cover does not take effect;
- Fixed the issue where the H5 page may display blank or abnormally after exiting the Mini-Program via the back operation on the home page H5 and then re-entering the Mini-Program;
- Fixed the black border issue of the Mini-Program screenshot method;
- Fixed the window undefined error log prompt during j2v8 remote debugging;
- Fixed the issue where font measurement fails when the font parameter is directly passed to measureText;
- Fixed the crash issue of chooseLocation and choosePoi when using the new version of the Tencent Map SDK (Software Development Kit);
- Fixed the issue where the streaming cannot be resumed when returning to the push page after jumping to another page that opens the camera during push video streaming;
- Fixed the issue where the cursor, selectionStart, and selectionEnd properties of input and textarea Components do not support dynamic updates;
- Fixed the issue where the custom keyboard is positioned above the bottom TabBar;
- Fixed the issue where the Mini-Program opened via the landing page cannot correctly receive parameters when sharing a page with parameters;
- Fixed the issue where the input box does not return to its original position after being pushed up by the keyboard, switching input boxes, and then dismissing the keyboard;
- Fixed the issue where the bindinput event is incorrectly triggered when switching input boxes;
- Fixed the issue where chooseMedia and chooseVideo have no suffix after selecting video files from the album on Android real devices;
【Optimizations】
- Optimized enableAlertBeforeUnload to use ShowModal popups in sync with WeChat;
- Optimized the use of the album when selecting images or videos, and the file manager when selecting both simultaneously;
- Optimized getAccountInfoSync to also return version in non-release versions;
- Optimized and refactored the camera Component to reduce package size;
- Optimized feedback and complaints with native refactoring;
- Optimized Tab page loading;
- Optimized the H5 bindload trigger logic;
- Optimized data deduplication on the last page of Tencent Map POI search;
# 2.42.3
Update Time: October 27, 2023
Update Content:
【New Features】
- Added a Capsule Button close button click event proxy, which can execute logic and decide whether to close the Mini-Program;
- Added backend error codes for failures when downloading Mini-Programs and Base Libraries;
- Added alertText support for showActionSheet;
- Added support for long-pressing to save images in the web-view Component;
【Optimizations】
- Optimized the decompression and verification logic of Base Libraries to avoid issues such as missing files caused by the application exiting during decompression;
- Optimized the trigger timing of the Mini-Program "onInitCompletion" event (moved to after serviceReady to avoid sending messages to the Base Library too early and not receiving them);
- Optimized the number of calls for injecting data into WebView during initialization;
- Optimized the issue where the Activity object is still in use after the Activity is abnormally closed;
- Deprecated the proxy method of getAccountInfoSync for local Mini-Programs (no longer triggers proxy events, implemented internally);
- Optimized and adjusted the appId parameter of the Mini-Program lifecycle proxy IAppletLifecycleObserver to a non-null type;
- Optimized the logic for determining whether the X5 kernel is loaded successfully;
- Optimized the timing and prompt information for SDK (Software Development Kit) configuration information verification (to avoid SDK configuration information causing Mini-Programs to fail to open);
- Optimized the Mini-Game loading process to avoid abnormal loading screens;
【Fixes】
- Fixed the error issue when opening offline H5 trial versions and Mini-Game trial versions caused by incorrect assignment of projectType;
- Fixed the abnormal loading of Mini-Games;
- Fixed the issue where dynamically modifying the disable property of input and textarea Components does not take effect;
- Fixed the issue where keyboard-accessory is displayed incorrectly when switching back and forth between different input boxes of input and textarea Components;
- Fixed the issue where focusing has no response after the position of input and textarea Components changes;
- Fixed the issue where input boxes cannot be switched after input and textarea Components are pushed up by the keyboard;
- Fixed the incorrect cursor position issue when the cursor of input and textarea Components is null;
# 2.42.1
Update Time: October 13, 2023
Update Content:
【New Features】
- Added support for compressedWidth and compressedHeight parameters in compressImage;
- Added a new implementation method for custom Scope permission APIs;
- Added support for disableScroll;
【Optimizations】
- Optimized the remote debugging logic to reduce the probability of errors;
- Optimized and adjusted the Mini-Game loading mechanism to avoid occasional screen distortion issues in landscape Mini-Games;
- Optimized hiding the Navigation Bar when opening images in official account articles via web-view;
- Optimized the log output of Subpackage Preload;
- Optimized the logic of replacing "小程序" and "Mini-Program" in fixed text;
- Optimized the display style of the More menu in landscape mode;
- Optimized the multi-language switching implementation;
- Optimized the English text of the camera photo page;
- Optimized Camera-related error messages;
- Optimized the FileProvider resource file by removing external-path;
- Optimized the color and display logic of the H5 loading progress bar;
- Optimized and adjusted showShareMenu and hideShareMenu to take effect only for the current Tab page rather than all Tab pages;
- Optimized and adjusted the Mini-Game loading timing to avoid screen rendering abnormalities caused by screen rotation;
【Fixes】
- Fixed the error issue of asynchronous SDK (Software Development Kit) initialization;
- Fixed the issue where the windowHeight obtained by getSystemInfoAsync during onLaunch of non-Tab Mini-Programs may be incorrect;
- Fixed the issue where showLoading and showToast are immediately hidden after being displayed during Mini-Program onLaunch;
- Fixed the crash issue when setting borderStyle for top tabBar;
- Fixed the issue where Pull-down Refresh is still executed when stopPullDownRefresh is called immediately after startPullDownRefresh in Mini-Programs;
- Fixed the issue where scope permission application fails when jssdk executes chooseLocation, etc.;
- Fixed the issue where some modules of remote debugging may be ineffective when using X5;
- Fixed the occasional blank content issue of the Console, Elements panel, and Network panel during remote debugging;
- Fixed the issue where remote debugging becomes ineffective when the network connection uses a proxy;
- Fixed the crash issue when quickly ending recording after starting recording;
- Fixed the issue of missing some messages in Mini-Games;
- Fixed the blank page issue caused by link escaping when loading H5 within Mini-Programs;
- Fixed the crash issue when modifying Scope permissions through the authorization management page when the Mini-Program is not open;
- Fixed the issue where quickly calling StopRecord on Camera causes a state error that prevents the next recording;
- Fixed the incorrect bindinitdone callback issue when multiple Camera instances exist;
- Fixed the crash issue of the MORE_MENU_NORMAL type More menu;
- Fixed the issue where navigateBack always executes the fail callback and the delta value does not take effect;
- Fixed the issue where the pasted content disappears when clicking elsewhere after pasting text for the first time when using vant-field in the textarea Component;
- Fixed the issue where the previous page cannot be operated when using gestures to return to the previous page during Subpackage loading;
- Fixed the issue where onAppShow of the previous Mini-Program is not triggered after jumping from a Mini-Program to another Mini-Program with a non-existent appId and returning;
- Fixed the issue where getEnterOptionsSync cannot obtain the query after switching tabs on a Tab page with a query;
- Fixed the issue of routing event disorder caused by directly executing navigateBack when the page has not yet executed any routing events;
- Fixed the issue where the Bluetooth SDK (Software Development Kit) cannot receive notify from devices;
- Fixed the issue of error 10008 when executing readBLECharacteristicValue consecutively;
- Fixed the crash issue when searching for Bluetooth devices on Android 6.x and below systems;
- Fixed the occasional crash issue during stream pulling;
- Fixed the issue where streams cannot be pulled on some platforms;
- Fixed the issue where internationalized text cannot be obtained in some cases under single-process mode;
- Fixed the incorrect task title issue after opening a Mini-Program in offline Mini-Program scenario 2;
# 2.41.13
Update Time: September 23, 2023
Update Content: 【New Features】
- Added support for setting the province, city, and district levels in the Picker province/city/district selector;
- Added support for paths within the Mini-Program package in FileSystemManager.stat;
- Added a method for MapSDK to set the use of a specified map type;
- Added support for configuring homeButton in the Mini-Program page configuration;
- Added support for same-layer rendering of input and textarea components;
- Added a qrCode property to FinAppInfo (the qrCode value when opened via QR code);
【Optimizations】
- Optimized the handling of frame width and height for landscape and portrait orientation in the Camera component frame callback;
- Optimized permission handling related to WeChatSDK broadcasts;
- Optimized the styles of showLoading and showToast, and the loading animation effect;
- Optimized the "Refresh Preview" feature when the Mini-Program connects to the IDE: no refresh is performed when switched to the background, and the refresh is executed when returning to the foreground;
- Optimized by refining the error scenarios of the camera component and improving error messages;
- Optimized fault tolerance handling for the camera orientation;
- Optimized the error log information when the route address does not exist;
- Optimized the show/hide logic related to homeButton to avoid flickering and slow display;
- Optimized by supplementing some text that was not internationalized;
- Optimized the rendering speed of the Mini-Program home page;
- Optimized by refining the error scenarios of Bluetooth-related APIs;
- Optimized the callbacks of RecorderManager in multiple scenarios;
【Fixes】
- Fixed an issue where setting appAvatar to null in some methods for launching offline Mini-Programs could cause a crash;
- Fixed an issue where the Camera component did not trigger bindinitdone when restored from the background to the foreground;
- Fixed an issue where an empty scheme caused the web-view component to incorrectly invoke the native browser;
- Fixed an issue where the back button's show/hide state occasionally displayed incorrectly when multiple tab pages are H5 pages;
- Fixed an issue where modifying startTime in InnerAudio might not take effect;
- Fixed an issue where InnerAudio and BackgroundAudio might not trigger onPlay and onTimeUpdate;
- Fixed an issue where the img tag in Mini-Games could not be parsed when using finfile://;
- Fixed an issue where the canvas component occasionally crashed when createOffscreenCanvas was executed multiple times;
- Fixed an issue where requesting external storage read permission might not take effect;
- Fixed an issue with abnormal camera component position when switching between landscape and portrait orientation;
- Fixed an issue where the camera image orientation was inconsistent with the device orientation when switching between landscape and portrait orientation;
- Fixed an issue where the camera image was stretched and distorted due to size changes of the camera component when switching between landscape and portrait orientation;
- Fixed an issue with abnormal position of cover-view configured on the live component;
- Fixed an issue where the video component continued playing after the Mini-Program was immediately closed on the loading page when autoPlay was set to true;
- Fixed an issue with abnormal full-screen settings for Video on certain device models;
- Fixed an issue where the Mini-Program task was first set to an empty title when opening a locally uncached Mini-Program;
- Fixed an issue with abnormal write and write_no_response states in the getBLEDeviceCharacteristics API;
- Fixed an issue where socket-related events onOpen, onMessage, onClose, and onError did not take effect in Mini-Games;
- Fixed an issue with missing injection of some variables in Mini-Games;
- Fixed an issue where calling setVisualEffectOnCapture in onLaunch or onShow of app.js did not take effect;
# 2.41.11
Update Time: September 8, 2023
Update Content:
Core SDK:
【New Features】
- Added the SDK initialization configuration item enableWebViewDownloadFile, which supports setting whether to allow the web-view component to download files;
- Added the ForbiddenRelease mode of AppletDebugMode, which can prohibit enabling vConsole in the release version;
- Added support for the IDE automatic preview feature;
- Added support for remote debugging in j2v8;
- Added support for the single-process multi-task-stack Mini-Program launch mode;
- Added the request configuration item hideMiniProgramMoreButton, which supports hiding the more button in the capsule;
- Added Logo image-related configuration in the Mini-Program more menu panel;
- Added the request configuration items appAvatar and appTitle, which can configure the Logo and Mini-Program name when launching the Mini-Program;
- Added support for hot start in non-release versions;
【Fixes】
- Fixed an occasional window undefined issue when using j2v8;
- Fixed a crash issue caused by clicking the confirm button of the blocking dialog when appService is not initialized;
- Fixed support for loading local files in Mini-Games.
- Fixed the issue where the navigation bar was hidden when setting launch parameters for Mini-Games and offline H5;
- Fixed an issue where the cpuType return value in getDeviceInfo was inconsistent with WeChat;
- Fixed a crash issue caused by off-screen rendering not validating width and height parameters;
- Fixed an issue where setting the flash to auto/on did not take effect when recording with the camera component;
- Fixed an issue with abnormal preview recovery in the camera component;
- Fixed an issue where the camera could not resume preview after exiting a page when multiple pages have camera components;
- Fixed an issue where the frame data callback size defaulted to small when frame-size was initialized with an empty value or null;
- Fixed an issue where executing license validation for LocalInterface-type requests caused Mini-Program launch failure;
【Optimizations】
- Optimized the default option for background location permission, with the second option (while using and after leaving the Mini-Program) selected by default;
- Optimized Mini-Program lifecycle events;
- Optimized local storage for storage and scope authorization;
- Optimized fault tolerance handling for abnormal values in the camera component;
- Optimized camera component transition lag on certain device models;
- Optimized the error prompt for license domain validation failure when the SDK configuration information API request fails.
- Optimized the display speed of the Mini-Program logo on the Loading page when opening a cached Mini-Program;
- Optimized the deletion logic of Mini-Program compressed packages;
- Optimized lag issues when exiting the camera page;
- Optimized the launch logic of non-release Mini-Programs to support hot start;
- Optimized the display of the "Microphone in use" and "Locating" states in the Mini-Program more menu panel.
ClipBoardSDK:
【Optimizations】
- Optimized the prompt message of setClipboardData in the clipboard SDK to support internationalization.
# 2.41.9
Update Time: August 25, 2023
Update Content:
【New Features】
- Added support for the disabled attribute in input and textarea components;
- Added device orientation APIs and listening events;
【Fixes】
- Fixed an issue where the path in onLaunch and onShow was incorrect when entryPagePath was set in the Mini-Program;
- Fixed an issue where updates were not checked during hot start when opening without cache in the release version;
- Fixed an issue with mismatched custom keyboard types in the input component;
- Fixed an issue where page navigation failed when calling ft.miniProgram.navigateTo if the URL parameters were JSON;
- Fixed an occasional ghosting issue in input and textarea components;
- Fixed an occasional white area at the bottom of textarea;
- Fixed an issue where the keyboard was automatically closed after focusing when auto-height was set to true in the textarea component;
- Fixed an issue where the microphone-in-use icon in the capsule button did not disappear immediately when recording was started and then immediately stopped;
- Fixed an issue where the recording state of RecordManager was incorrectly stopped when microphone permission was manually disabled from the settings page;
- Fixed an issue where custom ScopeApi behaved abnormally in single-process scenarios;
【Optimizations】
- Optimized the language return values of getSystemInfo and getAppBaseInfo to obtain the system language;
- Optimized loading animation lag on the Mini-Program loading page.
- Optimized the white screen before the loading page when launching the Mini-Program, reducing the white screen duration.
- Optimized error codes and prompts for scenarios such as Mini-Program package download;
- Optimized the logic for downloading the TBS kernel from the server;
- Optimized the logic for loading the TBS kernel from local storage;
- Optimized to use X5 WebView only when the TBS kernel is successfully initialized;
- Optimized the implementation logic of input and textarea components to be compatible with same-layer rendering;
- Optimized the data storage method of the picker component's province/city/district data and other module SDK code to reduce SDK size;
- Upgraded compileSdkVersion, and adapted media permissions for Android 13;
- Optimized RecordManager to check the recording state at start and provide corresponding prompts;
- Optimized the onError callback of RecordManager;
- Optimized stopping the recording state when restarting the Mini-Program;
- Optimized the logic of backgroundAudio when the Mini-Program enters the background (no longer forcibly stop when not in playing state);
- Optimized the live component to support nested cover-view;
- Optimized the side-swipe exit effect of the Mini-Program to avoid occasional afterimages.
# 2.41.7
Update Time: August 11, 2023
Update Content:
【New Features】
- Added a proxy for custom dialog views on the loading page, which can display a custom view on the loading page before continuing to run the Mini-Program;
- Added the ScopeApi base class for custom APIs that support binding custom scopes;
- Added a callback proxy class for receiving scope permission state changes on the default settings page;
- Added an API in FinAppletInfo to obtain custom API-related information configured in the Management Console.
- Added global exception persistence recording in XLogSDK;
- Added the offline H5 feature;
【Fixes】
- Fixed an occasional white screen issue when quickly and repeatedly executing navigateTo and going back;
- Fixed a crash issue when selecting images via the camera in some scenarios;
- Added whitelist display rules for custom extended Web APIs;
- Fixed an issue where the done button of textArea incorrectly wrapped lines in English;
【Optimizations】
- Optimized the internal logic of the scope permission acquisition and state setting methods provided for the Host-App to call;
- Optimized the APM event reporting logic to avoid local data smaller than the configured threshold being unable to be reported to the backend;
- Optimized support for multiple server environments in the add-to-desktop feature;
- Optimized the domain blacklist/whitelist validation rules;
- Optimized the handling logic when the offline App Store Mini-Program whitelist is set to null;
- Optimized error codes;
# 2.41.5
Update Time: July 29, 2023
Update Content:
【New Features】
- Added prompt information for using multiple live-pushers on the same page;
- Added an interface for obtaining privacy agreement-related information;
- Added support for configuring the back icon and title text position when opening the Mini-Program authorization management page;
- Added an event proxy class for the add-to-desktop button;
- Added support for keyboard input events and callbacks in Mini-Games;
- Added support for device orientation events and callbacks in Mini-Games;
- Added support for audio interruption callbacks in Mini-Games;
- Added APIs and proxies for offline App Store Mini-Program scenarios;
【Optimizations】
- Optimized the event invocation timing of the live component to avoid the issue where inserting events and start events called simultaneously within a very short time do not take effect;
- Optimized the error message of batchSetStorage when the key is empty;
- Optimized system version adaptation for previewMedia, previewVideo, previewMedia, saveImageToAlbum, saveVideoToAlbum, and saving media files from video component screenshots;
- Optimized dark mode adaptation for the add contact dialog;
- Optimized support for custom privacy agreement documents in the about page and privacy agreement dialog;
- Optimized adaptation of the complaint button in the about page and privacy agreement dialog for scenarios where the complaint feedback button is hidden;
- Optimized the show/hide judgment logic of the add-to-desktop button;
- Optimized the getUserProfile proxy class, adjusted to be triggered by the main process;
- Optimized Picker-related components by adding throttling to prevent repeated clicks;
- Optimized landscape adaptation for punch-hole screens in Preview API-related dialogs;
- Optimized J2v8 support and added the enableJ2V8 configuration item;
- Optimized the Base Library download logic for online Mini-Programs, enabling Base Library pre-download during initialization.
- Optimized location error prompts and logs, supplementing error codes, etc.;
- Optimized the display logic of the error view when the Mini-Program loads web pages;
【Fixes】
- Fixed an issue where the file path was invalid when selecting files by shooting in web pages;
- Fixed an occasional crash issue in performance statistics;
- Fixed an issue where the binderror callback could not be triggered when image component loading failed;
- Fixed an issue where the Base Library was repeatedly decompressed when opening a Mini-Program via QR code;
- Fixed an issue where pull-down refresh might be incorrectly activated;
- Fixed an issue where the Base Library version was not updated in the review version;
- Fixed an issue where calling hideHomeButton might cause the back-to-home icon to flicker;
- Fixed an issue where there was no response when selecting images/videos from the system album on Android 13 and above device models in some scenarios;
# 2.41.3
Update Time: July 15, 2023
Update Content:
【New Features】
- Added 4 storage-related APIs: batchSetStorage, batchSetStorageSync, batchGetStorage, and batchGetStorageSync;
【Fixes】
- Fixed an issue where clicking custom menu buttons in the more menu reported an error;
- Fixed an issue where setting cookies in the request headers of the uploadFile API did not take effect;
- Fixed an image decoding failure issue when selecting images on Android 10;
- Fixed a crash issue when switching between front and rear cameras in the camera component;
- Fixed an issue where WebView caused the Chinese/English settings in the SDK to become invalid;
【Optimizations】
- Optimized image selection decoding to no longer request file read permission;
- Optimized the implementation of BottomSheet, Scope, and Picker components, removing the bounce animation effect during display;
- Optimized Chinese/English adaptation for the Picker component;
- Optimized the Mini-Program object by adding a coreDescription (introduction) field to FinAppInfo and FinApplet;
- Optimized certificate domain matching to support the * wildcard;
- Optimized the caching strategy for SDK configuration information to avoid repeated API calls within the validity period;
- Optimized the properties of IFinAppletRequest and its subclasses;
- Optimized the implementation logic of the Mini-Program route event queue;
- Optimized the image when sharing to WeChat by compressing large icons;
- Optimized the method for determining whether WeChat is installed in the WeChat Extension SDK and Share Extension SDK;
- Optimized the previewImage/previewVideo/saveImageToAlbum/saveVideoToAlbum APIs to adapt to file save permissions on Android 13 and above;
# 2.41.1
Update Time: July 1, 2023
Update Content:
Core SDK:
【New Features】
- Added same-layer rendering support for Baidu Maps;
- Added same-layer rendering support for Tencent Maps;
- Added same-layer rendering support for the live component;
- Added same-layer rendering support for the video component;
- Added LiveSDK support;
- Added Mini-Game support;
- Added support for the hidden attribute in live-player, live-pusher, canvas, camera, and map components;
- Added support for the hidden attribute in keyboard-accessory;
- Added the more button pop-up menu for Mini-Games;
- Added the game screenshot feature for the Mini-Game webview solution;
- Added the Lazy Code Loading feature;
- Added support for the offline Mini-Program API hosting feature;
- Added Aladdin data reporting;
- Added a method for obtaining the loading page view;
- Added support for the pre-download feature for local Mini-Programs;
- Added reporting of share and Mini-Program element click events;
- Added worker support;
- Added App Store quantity limits;
- Added a custom event reporting API;
- Added support for Lazy Code Loading configuration in offline Mini-Programs; [Fix]
- Fixed the crash issue when J2V8 executes js;
- Fixed the crash issue caused by uninitialized videoPlayerContainer;
- Fixed the crash issue during hot start of Mini-Games;
- Fixed the loading failure issue when opening Mini-Games via navigateToMiniProgram;
- Fixed the issue where remote debugging console becomes ineffective;
- Fixed the issue where the hold-keyboard attribute set to true has no effect;
- Fixed the issue where when the keyboard-accessory Component is displayed, areas outside the Component range cannot receive touch events;
- Fixed the issue where Mini-Game sharing icon retrieval keeps waiting;
- Fixed so security vulnerabilities;
- Fixed the issue where side-swipe back does not close the page in some scenarios;
- Fixed the crash issue caused by invalid surface in the video Component;
- Fixed the issue where the video controller is occasionally not rendered in video Component same-layer rendering;
- Fixed the issue where after stopping and restarting video playback in the video Component, the player reports an error and video cannot play normally;
- Fixed the issue where the onVideoObjectfit event width and height parameters are incorrect after switching between fullscreen/half-screen in the video Component;
- Fixed the issue where on some device models, the video Component surface reports a BufferQueue has been abandoned error during destruction, causing the player to be unable to continue playing after re-associating with a new surface;
- Fixed the issue where touch event coordinates are incorrect when clicking the page after the input Component gains focus;
- Fixed the issue where disableScroll does not take effect;
- Fixed the issue where the flash attribute does not take effect after the camera is hidden and then shown again;
- Fixed the issue where selecting a file via the input tag when a Mini-Program loads H5 does not pop up the bottom menu but directly enters the camera capture page;
- Fixed the issue where for Mini-Programs with darkMode configured in app.json, the Mini-Program background color is light-colored when the system theme is set to dark;
- Fixed the issue where the App Store quantity limit error prompt pops up abnormally;
- Fixed the issue where the Mini-Game status bar configuration becomes ineffective when the custom_event_gameConfigUpdate event fails;
- Fixed the issue where WebView pages are not adapted to Dark Mode;
- Fixed the issue where the page cannot be scrolled simultaneously when sliding the cover-view;
- Fixed the issue where the appRuntimeDomain setting for offline Mini-Programs is ineffective;
- Fixed the issue where setting single-process startup mode does not take effect when opening trial version Mini-Programs;
- Fixed the WebResourceResponse crash issue;
- Fixed the issue where spaces in bank card numbers are filtered out when the input Component inputType is number;
- Fixed the issue where parameters are not fully passed when an offline Mini-Program navigates to another offline Mini-Program;
- Fixed the lag issue caused by adding Referer to WebView resource requests when loading a large number of resources;
- Fixed the issue where the "Re-enter Mini-Program" option in the more menu causes Mini-Games to crash;
- Fixed the occasional white screen issue during full package loading;
- Fixed the issue where startup parameters with empty string values are not filtered;
- Fixed the issue where the status bar configuration becomes ineffective during hot start of Mini-Games;
[Optimization]
- Optimized the flash behavior to sync with WeChat when the camera hidden attribute value changes;
- Optimized logging to inform the reason for unavailability in detail when taking photos or recording videos while camera is hidden;
- Optimized the settings page opening logic;
- Optimized the video Component center play button by adding a semi-transparent background color to its parent view, preventing the center play button from being invisible when the video background color is white;
- Optimized the trigger timing of the applet_show event report;
- Optimized the Mini-Game Capsule Button and status bar colors;
- Optimized WebView file selection to remove unnecessary READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions;
- Optimized scanCode to support scanType;
- Optimized by removing the zxing android-core library;
- Optimized Mini-Program update checking to pre-download Subpackages based on the entryPagePath in the new Mini-Program details;
- Optimized preview of images or videos via previewImage, previewVideo, previewMedia to display the current preview index and total count in the preview interface;
- Optimized the privacy agreement authorization popup logic, text, etc.;
- Optimized MORE_MENU_NORMAL type more menu to a fixed light mode;
- Optimized detailed websocket exception error messages;
Extension SDK:
[New]
- Added X5 adaptation;
MapSDK:
[New]
- Added support for hidden attribute related logic;
[Optimization]
- Optimization: Removed Bluetooth scan permission declaration;
BluetoothSDK:
[Fix]
- Fixed the issue where the advertisData length is inconsistent with WeChat after discovering Bluetooth devices;
LiveSDK:
[New]
- Added support for hidden attribute related logic;
[Fix]
- Fixed so security vulnerabilities;
MediaSDK:
[Fix]
- Fixed so security vulnerabilities;
XLogSDK:
[Fix]
- Fixed so security vulnerabilities;
ShareSDK:
[Optimization]
- Optimized the screenshot method to support Mini-Game sharing;
# 2.40.13
Update time: June 17, 2023
Update content:
[New]
- Added support for Base Library pre-download;
- Added support for Host-App writing logs to vConsole;
- Added removeAllCookies method to clear all cookies;
- Added CalendarSDK support;
- Added gyroscope related APIs;
- Added support for sending SMS and emails via sms and mailto URL schemes;
[Fix]
- Fixed the issue on Android 6.0 devices where photos taken via the system camera cannot be saved to the app's internal path; replaced with the SDK built-in camera;
- Fixed the crash issue when selecting photos in H5 on Android 5.0 devices;
- Fixed the issue where getSystemInfo returns a non-zero statusBarHeight in landscape mode;
- Fixed the issue where Picture-in-Picture is not closed when switchTab is called;
- Fixed the issue where headers with empty string values are filtered out when making network requests;
- Fixed the issue where the Navigation Bar title is fixed to the Mini-Program default value instead of the webpage title when loading web pages;
- Fixed the issue where previewMedia reports errors when previewing certain videos;
- Fixed the error when using FinWebView in special scenarios that depends on the Mini-Program environment;
- Fixed the error when starting foreground services;
- Fixed the crash issue when saving images in webview within Mini-Programs in special scenarios;
- Fixed the issue where the error page is displayed when errorCode=-1 in special scenarios;
- Fixed the issue where authorization popups, picker, and add-to-desktop prompt boxes display at abnormal positions in landscape mode on some device models;
- Fixed the issue where removing the camera Component fails;
- Fixed the crash issue when using scanCode to launch the camera and closing it;
[Optimization]
- Optimized the built-in camera switch camera icon;
- Optimized the cold start slowdown issue caused by initPackages;
- Optimized domain management configuration to support wildcards;
- Optimized vConsole debug configuration local persistence;
- Optimized removeAllCookies logic;
# 2.40.11
Update time: June 2, 2023
Update content:
[New]
- Added Mini-Program system information related APIs;
- scanCode added image recognition from album selection;
- Added ShareSDK support for custom share links;
- Added ShareSDK support for custom apk download addresses;
- Added support for custom scope permission popup content;
[Fix]
- Fixed the issue where the "Done" button does not disappear after the textarea Component gains focus, page navigation is performed, and then the original page is returned to;
- Fixed the issue where the page cannot be scrolled simultaneously when sliding the cover-view;
- Fixed the issue where wx.getSuperviseInfo brings the background Mini-Program activity to the foreground;
- Fixed the issue where the error message lacks the "cancel" text when chooseXXX is cancelled;
- Removed unnecessary runtime permission requests when requesting camera capture in H5, avoiding permission adaptation issues on some Android 13 device models;
- Fixed the issue where the expand button behaves abnormally when switching between landscape and portrait orientation on the Mini-Program about page when the detailed description, version description, or tag length is long;
- Fixed the startup error issue when opening a Mini-Program from a WeChat webpage after sharing the Mini-Program to WeChat;
- Fixed several internationalization English spelling issues;
[Optimization]
- Optimized the scan code recognition feature by adding the ability to recognize inverted-color QR codes;
- Optimized the batch update Mini-Program API;
- request api aligned with WeChat to enforce UTF-8 character set for parsing text data;
- When Mini-Program information is cached locally but the Base Library is not available, the Base Library will be downloaded first before loading the Mini-Program;
- Optimized the error prompt for unassociated Mini-Program IDs;
- Optimized log output judgment logic; the log proxy class is now also affected by DebugMode and log level configuration;
# 2.40.9
Update time: May 19, 2023
Update content:
[New]
- Added a convenient method to get the SDK version number;
- Added a proxy class for getUserInfo async callback;
- Added getUserProfile proxy class;
- Added support for setting version description at startup for offline Mini-Programs;
- Opened ToastView;
[Fix]
- Fixed the issue where opening a review version Mini-Program without review permission prompts "no development permission";
- Fixed the issue where the page directly displays exception information when Base Library download fails;
- Fixed the issue where the unfiled error page requires going back twice to close the page;
- Fixed the issue where the data reporting event url is incorrect;
- Fixed the issue where the character set is added by default when setting the content-type header in request;
- Fixed the issue where chooseVideo and chooseMedia do not execute cancel when clicking on blank areas;
- Fixed the issue where after selecting gif images via chooseImage or chooseMedia, the image Component displays them as static images;
- Fixed the issue where selecting images via chooseImage or chooseMedia may fail;
- Fixed the issue where clicking the screen does not exit preview when previewing gif images;
- Fixed the issue where controls automatically show when Video exits fullscreen;
- Fixed the issue where clearApplets does not clear Mini-Program caches for all user IDs;
- Fixed the issue where clearApplets does not take effect for certain Mini-Programs in specific environments;
- Fixed the issue where the show/hide state of the back-to-home button on H5 pages of Mini-Programs is abnormal;
[Optimization]
- Optimized the prompt text for unregistered domains and blacklisted domains;
- Optimized the timing of calling the Mini-Program favorite status API; it is no longer called when the favorite button is hidden;
- Optimized adding a fixed Referer to some requests;
- Optimized the spacing between more menu items;
# 2.40.7
Update time: May 7, 2023
Update content:
Core SDK:
[New]
- Support dynamic setting of userId;
- Support Mini-Program disableScroll configuration item;
- Added setPageOrientation custom api, supporting control of screen orientation and Capsule Button visibility;
[Fix]
- Fixed the issue where the font size does not change after focusing on an input Component with dynamically changing placeholder;
- Fixed the English adaptation of the forward button in the more menu;
- Fixed the startup exception issue for local assets Mini-Programs;
- Fixed the issue where some device models cannot navigate to the specified page during hot start;
[Optimization]
- Adapted the bottom Navigation Bar display effect in tablet mode;
- Optimized the auto-pause-if-open-native effect of the video Component, syncing functionality with WeChat;
- Optimized the show and hide of video controls, syncing with WeChat when switching between fullscreen and non-fullscreen;
- Optimized the display effect of showModal button text length;
- Optimized the display effect of Mini-Program permission popups;
- Optimized the delete Mini-Program cache api to support deleting caches of non-official version Mini-Programs;
- Optimized the API for getting absolute file paths to support getting files in the usr path;
WeChatSDK:
[New]
- Added navigateToWechatMiniProgram api, supporting launching WeChat Mini-Programs;
SDKCore:
[Fix]
- Fixed the occasional decryption crash issue for some SDK Keys;
# 2.40.5
Update time: April 24, 2023
Update content:
Core SDK:
[New]
- Added support for custom Mini-Program about page;
[Optimization]
- Optimized the trigger timing of Mini-Program onShow;
- When the Base Library MD5 returned by the server is empty, only check whether the Base Library version number matches the server;
- In tablet mode, aligned the bottom Navigation Bar color with WeChat;
- The cancel callback of custom api is forwarded to the fail callback; the cancel callback method is marked as deprecated;
- Support configuring the title and icon of the forward button;
- Optimized the logging system;
- Optimized the License configuration information verification logic when starting Mini-Programs;
- Optimized the route event handling logic when Subpackage retrieval fails;
- Optimization: when a Mini-Program Subpackage page fails to load, attempt to reload when the page is displayed again;
- Optimized the FinAppInfo object retrieved at Runtime to include app.json content;
- Optimized adaptation to different bottom Navigation Bar gesture displays in tablet mode; 【Fixed】
- Fixed an issue that occurred when the chooseFile extension is invalid;
- Fixed the issue of incorrect duration unit in chooseVideo;
- Fixed the issue where showNavigationBarLoading on a tab page did not take effect for individual tabs;
- Handled compatibility for the issue where finAppConfig may be null in extreme scenarios;
- Fixed the issue of incorrect referrerInfo type in navigateToMiniProgram;
- Fixed: the issue where batch downloading Mini-Programs easily fails due to excessive data volume;
- Fixed the issue where some network files fail to download because the URL address does not pass regular expression validation;
- Fixed the issue where, when the input component is set with password and type="number" or "digit", input is not masked when focused and only becomes masked after focus is removed;
- Fixed the issue where the query parameter in path is lost in the proxy method for forwarding;
- Fixed the issue where the selectable date range is generated incorrectly when the start year equals the end year in the date picker;
- Fixed the issue where referrerInfo is not updated in a timely manner;
Extension SDK:
【Fixed】
- Fixed the processing logic of RecordManager for the last frame in frame callbacks;
ShareSDK:
【Fixed】
- Fixed a possible exception caused by image loading failure when sharing a Mini-Program;
# 2.40.3
Update Time: April 08, 2023
Update Content:
Core SDK:
【Added】
- Added a proxy class for pre-requesting permissions;
- Added a proxy class for permission request result callbacks;
- Added a proxy class for customizing the title text of the authorization privacy popup;
- Added a proxy class for customizing the Mini-Program settings page;
- Added methods for obtaining the Mini-Program permission list and modifying Mini-Program permission status;
- Added server extension information extInfo to the Mini-Program details object;
【Fixed】
- Fixed the issue of incorrect error information on some pages of trial-version Mini-Programs;
- Fixed the issue where an exception is caused when the FinCallback return data of the startApplet API is empty;
- Fixed the crash issue caused by using a destroyed Surface due to frequent and rapid creation and destruction of video;
- Fixed the issue where touch events of cover-view and cover-image components are not correctly passed;
- Fixed the issue where the textarea component continuously adjusts content layout during text input;
- Fixed the issue where, when a page contains input fields and a list and the keyboard is opened, up/down swipe events cannot be triggered and are recognized as click events when the finger is lifted;
- Fixed the issue of abnormal Base Library loading during cold start when multiple hosts point to the same Mini-Program;
- Fixed the issue where screenshot listening events do not respond;
【Optimized】
- Optimized handling of the count and extension parameters of the chooseFile API;
- Optimized and supplemented English adaptation for the [Share] button;
MapSDK:
【Fixed】
- Fixed the issue where, when the App project integrates AMap and the Manifest is not configured with the AMap location service, clicking the current location button on the chooseLocation page may cause the map and location list to be blank;
MediaSDK:
【Fixed】
- Fixed the crash issue caused by using a destroyed Surface due to frequent and rapid creation and destruction of video;
# 2.40.1
Update Time: March 25, 2023
Update Content:
Core SDK:
Added
- Added support for multilingual configuration;
- Added support for dark images in custom menus;
- Added the ability to set the Mini-Program type when starting an offline Mini-Program;
- Added configuration for showing/hiding the "Debug" button in the more menu;
- Added the setDebugInfo method for starting offline Mini-Programs, supporting remote debugging;
- Added English internationalization adaptation for remote debugging error prompts;
- Added display of the Mini-Program version identifier in the more menu panel of offline Mini-Programs;
- Added a proxy class so that the Host-App can receive the Mini-Program's app.json;
- Added the "Add to Desktop" and "Favorite" function buttons in the more menu and corresponding show/hide configurations, hidden by default;
- Added a callback API for Mini-Program process completion when the Mini-Program is opened;
- Added the scancode authorization popup;
Fixed
- Fixed the issue of incorrect position when updating the position of the cover-view component through animateCoverView;
- Fixed the issue of incorrect position of the cover-view component in full screen when the video component is nested with the cover-view component;
- Fixed the issue of incorrect starting position on the left side of the cover-view component when the camera component is nested with the cover-view component;
- Fixed the issue where the cover-view component is not displayed when the Mini-Program page is scrollable;
- Fixed the issue where the Network module is invalid during non-first remote debugging in single-process mode;
- Fixed the handling of the Mini-Program identifier in the scope management page and scope popup;
- Fixed the issue where the MoreMenuItem constructor is not compatible with older SDK versions;
- Fixed the issue where the auto-pause-if-navigate attribute of the video component in the route queue does not take effect;
- Fixed the issue where the onPageNotFound event is not triggered;
- Fixed the issue where the click event of cover-image does not respond when cover-view is nested with cover-image;
- Fixed the issue where calling hideKeyboard cannot hide the custom keyboard;
- Fixed the issue where the cover-view component cannot scroll;
- Fixed the issue of probabilistic crashes when continuously clicking close on the image preview page;
- Fixed the failure of automatic rotation of the video component caused by lazy loading;
- Fixed abnormal startup of picture-in-picture;
Optimized
- Optimized multilingual adaptation for the Mini-Program authorization management page and Mini-Program authorization settings page;
- Optimized the exitMiniProgram API to completely close the Mini-Program;
- Optimized the Video center play button and controls display rules to be consistent with WeChat;
- Optimized compatibility of public UI landscape/portrait configuration;
- Optimized the initialization timing of the Video component to avoid obtaining sensor data too early;
Extension SDK:
Fixed
- Fixed the mono recording issue for aac-format audio in RecordManager;
- Fixed the frame callback issue for aac-format audio in RecordManager;
- Fixed the dual-channel recording issue for mp3-format audio in RecordManager;
- Fixed the frame callback issue for mp3-format audio in RecordManager;
MapSDK:
Added
- Added support for the displayWithCallout attribute in maps;
- Added hiding of the displayed bubble when clicking a marker on Google Maps;
Fixed
- Fixed the issue of invalid marker clustering on Google Maps;
- Fixed the occasional crash after initialization on Google Maps;
- Fixed the possible crash when removing a marker while its infoWindow is displayed on Google Maps;
- Fixed the issue where the regionchange scale value on Baidu Maps is 1 greater than the actual value;
- Fixed the issue where the bubble is not removed when using MapContext.removeMarkers to remove a marker on Baidu Maps;
Optimized
- Optimized compatibility of public UI landscape/portrait configuration;
ShareSDK:
Optimized
- Optimized share links and added a short link service;
# 2.39.11
Update Time: March 10, 2023
Update Content:
Core SDK:
【Added】
- Added the Mini-Program chooseFile API;
- Added a share button to the more panel;
- Added a configuration item in UIConfig to hide the share button;
【Fixed】
- Fixed the crash when focusing the input component while limiting content length;
- Fixed the issue where getAccountInfoSync content is empty because no proxy class is set for offline Mini-Programs;
- Fixed the issue where the controller is immediately hidden when the video component switches between full screen and non-full screen;
【Optimized】
- Optimized so that navigateBarTextStyle can still modify the status bar text color when the navigation bar is custom;
- Optimized the show/hide transition effect of the navigation bar's back-to-home button;
- Optimized the method for obtaining the device unique identifier to prevent repeated acquisition;
- Optimized scaling handling of multi-column pickers when display space is insufficient;
- Optimized error codes and prompts for offline subpackage Mini-Programs;
WeChatSDK:
【Optimized】
- Cancelled automatic generation of WXEntryActivity and added a method for the Host-App to call to receive WeChat callbacks;
MediaSDK:
【Fixed】
- Fixed the crash issue of ijkplayer on Android 11;
ShareSDK:
【Added】
- Added ShareSDK, supporting sharing Mini-Programs to WeChat friends and WeChat Moments;
BluetoothSDK:
【Fixed】
- Fixed the issue of incorrect advisterData type in onBluetoothDeviceFound;
# 2.39.9
Update Time: February 24, 2023
Update Content:
【Added】
- The show and hide of tabBar supports the animation parameter;
【Fixed】
- Fixed the issue where modification of the Mini-Program identifier does not take effect on some pages;
- Fixed the crash when the previewMedia parameter is empty;
- Fixed scope compatibility issues with older versions;
- Fixed the crash caused by using wx:if to control the show and hide of video;
- Fixed the issue where the completion button bar is not hidden when the keyboard is collapsed in the textarea component on some device models;
- Fixed the issue of an extra line break when the textarea component automatically wraps text;
- Fixed the issue where the onPageNotFound event is not triggered;
- Fixed the crash caused when the custom_event_clearTimeout parameter is "null";
- Fixed the issue where Mini-Program route parameters are decoded;
- Fixed the issue where query parameters cannot be obtained after the Mini-Program returns to the foreground;
- Fixed the issue of incorrect trigger timing of wx.enableAlertBeforeUnload;
- Fixed the issue of incorrectly setting pageOrientation;
- Fixed the issue of incorrect position of the confirm-bar of the textarea component on Tab pages;
- Fixed the issue where query parameters cannot be obtained during Mini-Program page routing;
- Fixed the issue caused by incorrect replacement of the Mini-Program identifier under special circumstances;
【Optimized】
- Optimized the number of columns supported by the Picker multi-column selector;
- Optimized the startup timing of the compass and accelerometer;
- Mini-Program startup parameters are compatible with the case where path contains query;
# 2.39.7
Update Time: February 10, 2023
Update Content:
Core SDK:
【Optimized】
- After the phone enables automatic screen rotation, in landscape mode, as long as a video has been played, videos will default to full-screen playback, consistent with WeChat;
- The Mini-Program version identifier for real-device debugging is changed to "Development Version";
- Merged the SDK-internal Mini-Program startup methods and optimized the logic;
- Optimized the album options of chooseImage, chooseVideo, and chooseMedia, and no longer request scope permissions;
- Optimized the title text of the personal information authorization management page;
- Optimized centering of showActionSheet elements;
- Optimized the UI when the information authorization page has no content;
- Optimized the service used for pre-created processes so that it does not automatically restart;
- Optimized the restart logic when switching debug mode, compatible with some special device models;
- Removed validation of js files when obtaining offline subpackages;
【Fixed】
- Fixed the issue where the Video screen freezes when play is called again after stop when using ijkPlayer;
- Fixed the issue where the auto-pause-if-navigate attribute does not take effect on pages containing Video in the route queue;
- Fixed the issue of incorrect keyboard height returned when show-confirm-bar is true in the textarea component;
- Handled camera crash exceptions in cloud testing;
- Fixed the issue where map click events are invalid after "Re-enter Mini-Program" in the more menu;
- Fixed the file overwrite issue caused by Base64ToTempFilePath processing the same image with different parameters; Extension SDK:
[Optimization]
- Optimized the errCode of the recording API;
MediaSDK:
[Fix]
- Fixed the default maximum cache configuration of ijkPlayer; if too small, it may cause black screen when playing local videos on some phones;
# 2.39.5
Update Time: January 19, 2023
Update Content:
[Fix]
- Fixed a crash issue that may be caused by Map;
- Fixed the issue where the ActionSheet component optimizes the show/hide of the status bar in portrait and landscape modes;
- Fixed the crash issue when starting a Mini-Program in single-process mode on the head unit platform;
- Fixed the crash issue when starting another Mini-Program within a Mini-Program in single-process mode on the head unit platform;
- Fixed the issue where offline Subpackage loading gets stuck at loading when the Main Package fails to load;
- Fixed the mp3 recording exception issue;
[Optimization]
- Optimized the WebView screenshot method for the main program to obtain the Mini-Program process, supporting specifying long or short screenshots;
- Optimized the error codes during the offline Subpackage loading process;
- Optimized the error code display issue during the Mini-Program loading process;
# 2.39.3
Update Time: January 07, 2023
Update Content:
Core SDK:
[Fix]
- Fixed the issue where toast is obscured by cover-view;
- Fixed the show/hide issue of the status bar in portrait and landscape modes for the picker component;
- Fixed the issue where request results do not have cookies;
- Fixed the position jumping issue of coverview;
- Fixed the issue where returning to the previous page when vConsole is displayed causes the vConsole entry button to appear;
- Fixed the garbled Chinese characters in the decompressed file names of Mini-Program Code Packages;
[Optimization]
- Optimized the callback prompt message when the storage API key is empty;
- Optimized the debounce handling of startApp;
- Optimized the finfile file response header configuration to not cache;
- Optimized the Subpackage loading error prompt;
- Optimized the vconsole configuration items to be compatible with the old configuration method;
- Optimized the color of the bottom TabBar divider line;
- Optimized clearing the icon cache when calling setTabBarItem;
ExtSDK:
[Fix]
- Fixed the recording channel configuration issue;
MapSDK:
[Fix]
- Fixed the crash issue when removing the map on Amap Android 7.x and below;
- The map is compatible with null elements '{,,}' in Mini-Program arrays to prevent crashes;
# 2.39.1
Update Time: December 24, 2022
Update Content:
[New]
- Added proxy interfaces for FLog logs and performance statistics logs, supporting Host-App takeover;
- Added the forbidden configuration item to vconsole;
- The request API supports the nativeBuffers field;
- Added UI customization for authorization dialogs;
- Unified the color transparency rules between Mini-Program APIs and components;
- Added an external interface that allows developers to proactively batch download Mini-Programs;
- Added single-process mode;
- Added the native picker component;
- Support for J2V8;
- Support for canvasMethod;
- Support for Video picture-in-picture;
- Added APIs related to continuous location (startLocationUpdate, startLocationUpdateBackground);
[Fix]
- Fixed the request API exception issue in special single-process scenarios;
- Fixed the priority issue between request-set cookies and cached cookies;
- Fixed the incorrect webviewId issue in the onBindMessage event;
- Fixed the space issue in the file filename of the downloadFile API;
- Fixed the issue where Subpackages are repeatedly downloaded when reopened after updating the Mini-Program version;
- Fixed the crash issue when uploading images, after opening the album, clicking back or selecting a photo;
- Fixed the issue where there is no effect when returning after selecting an image during image upload;
- Fixed the issue where finishRunningApplet incorrectly closes the main process;
- Fixed the incorrect appType issue for offline Mini-Programs;
- Fixed the issue where deviceName is not displayed when searching for Bluetooth;
- Fixed the issue where continuously modifying viewport-related properties of Map may not take effect;
- Fixed the dependency conflict issue of the recording API;
- Fixed the issue where clicking the more menu shadow mask may incorrectly display the more menu;
- Fixed the issue where the pageOrientation configuration of Mini-Program pages is invalid;
- Fixed the incorrect callback issue of the addPerformance API;
- addPerformance does not execute callback;
[Optimization]
- Do not display the title on domain error pages;
- Removed the route event of applaunch;
- Lowered the gson version to be compatible with developers using lower versions;
- Optimized obtaining the status bar height;
- Optimized performance statistics;
- Optimized webview page adaptation;
- Optimized tablet adaptation;
- Added English text to SDK public UI;
- Optimized the smoothness of map moveAlong;
- Optimized the UI, animation, and logic of authorization dialogs;
- Restored the landscape style of the more menu page;
- Upgraded the J2V8 Debugger version and optimized J2V8 debugging-related logic;
- Optimized the offline Subpackage process;
- APIs such as request, uploadFile, and downloadFile support configuring not to verify HTTPS certificates;
- Stop recording when microphone permission is disabled;
# 2.38.11
Update Time: December 09, 2022
Update Content:
[Fix]
- Fixed the issue where MapSDKInitializer.CoordType is obfuscated;
- Fixed the issue where two identical Mini-Program processes exist simultaneously;
- Fixed the occasional crash issue of the camera interface;
- Fixed the issue where the vConsole button obscures the tabbar in special scenarios;
- Fixed the application crash issue that may occur after returning from WeChat;
- Fixed the issue where setting a background color for the input box obscures the bottom front-end view;
- Fixed the crash caused by the incorrect way the main process StorageUtil obtains userId;
- Fixed the issue where restarting the Mini-Program incorrectly kills its own process;
[Optimization]
- Pre-created processes support configuration items;
- Added a fault tolerance mechanism to the logging system; if the so library fails to load, the system is disabled;
- Support configuring the hiding of the Capsule Button close button in the request for starting a Mini-Program, effective for a single Mini-Program;
- Optimized the errMsg return of the request API;
# 2.38.9
Update Time: November 26, 2022
Update Content:
[New]
- request supports the parameter forceCellularNetwork;
- The getPhoneNumber API supports displaying the corresponding backend description information;
- hideToast and hideLoading support the noConflict parameter;
[Optimization]
- Custom API callbacks are adapted to callback on child threads;
- The Mini-Program permission list is displayed in a fixed order;
- Optimized the variable names and method names of the custom Scheme list;
- Optimized part of the UI of showToast and showLoading;
- Optimized the caching logic of Mini-Program decompression information;
- Optimized the language return format of the getSystemInfo API;
- Optimized the showModal status bar;
[Fix]
- Fixed the crash caused by the network exception callback on a child thread when opening a Mini-Program by scanning a QR code;
- Fixed the issue where two identical Mini-Program processes may appear simultaneously;
- Fixed the page white screen issue caused by executing the onAppRoute event before the Subpackage js is loaded;
- Fixed the text truncation issue of showToast and showLoading;
- Fixed the issue where Marker bubbles cannot be displayed on higher versions of Amap;
- Fixed the incorrect permission name issue for contacts;
# 2.38.7
Update Time: November 12, 2022
[New]
- Added Tencent Map support;
- MapSDK supports configuring privacy policy and secretKey;
[Optimization]
- Optimized the position of the vConsole button to prevent obscuring the TabBar;
- Optimized the file suffix acquisition logic of the downloadFile API;
- Optimized poi search to reduce duplicate requests;
[Fix]
- Fixed the overlap issue when the navigation bar back button and the back-to-home button are displayed simultaneously;
- Fixed the null pointer issue of appletProcessApiManager;
- Fixed the issue of concatenating apiUrl in the Subpackage download address;
- Fixed the issue when uiconfig configuration is empty;
- Fixed the incorrect cover-view style when switching between full-screen and non-full-screen in Video;
- Fixed the issue where placing the phone horizontally is recognized as landscape switching;
# 2.38.5
Update Time: October 28, 2022
Core SDK:
[New]
- Added APIs for generating tokens and restoring token information;
- Added the timeout parameter to the Request API, and aligned error messages with WeChat;
- Added initialization configuration items for the navigation bar title color and back button color;
[Fix]
- Fixed the crash issue of color resource compatibility;
- Fixed the issue of Mini-Program loop restart;
- Fixed the issue where cover-view is not displayed after rotation on some models;
- Fixed the issue where the cover-view component is not displayed when the video component is in full-screen state;
- Fixed the issue where the danmaku button cannot be synchronized when the video component switches between full-screen and non-full-screen;
- Fixed the issue where the video component is displayed during initialization when the controls property is false;
- Fixed the issue where the Mini-Program task card in the system background may be transparent or black;
- Fixed the issue where finishRunningApplet closes the main process;
- Fixed the issue where, after the video component enables following the phone screen rotation, if the phone is placed in portrait but configured for landscape playback, it defaults to returning to portrait;
- Fixed the abnormal display issue of the Mini-Program status bar;
[Optimization]
- Optimized the pre-created process logic;
- Optimized the error messages for unrecognized domains in the Request, Upload, and Download modules;
- Optimized the WebSocket timeout error log;
- Optimized the technical support identifier on the loading page;
- Optimized the permission request process of getPhoneNumber and getUserInfo;
- Optimized the permission process of getUserProfile;
- Optimized the content truncation method of the text-area component to align with the front end;
- Optimized the video component to return the progress to the initial position after video playback is completed;
- Optimized the video component to display the poster after video playback is completed if a poster is set, otherwise display the last frame;
- Optimized the video component to return to the initial position and start playing when the initial-time property value exceeds the actual video playback length;
- Optimized the video component by expanding the click hot zone range of buttons such as play, pause, and full-screen return;
- Optimized the more menu UI;
- Optimized the immersive status bar;
- Optimized the triggering of the OnResize listener event;
- Optimized the Mini-Program startup style;
- Optimized the real-device debugging dialog to prevent possible non-display issues;
# 2.38.3
Update Time: October 16, 2022
Core SDK:
[New]
- Added appVersion to the getSystemInfo return;
[Fix]
Fixed the issue where the input box is obscured by the keyboard when switching from a numeric/ID card keyboard input box to an adjacent input box;
Fixed the issue where only one decimal point is allowed to be entered on a numeric keyboard with decimal points;
Fixed the issue where switching to full screen in the paused state shows a black preview screen;
Fixed the issue where dragging the progress in the paused state does not change the preview screen;
Fixed the abnormal display issue of cover-view styles;
Fixed the issue where navigationBarTextStyle defaults to black;
Fixed the unhandled exception issue when aidl calls fail;
Fixed the issue where login, obtaining phone number, and payment all do not jump to the WeChat Mini-Program; [Optimization]
Optimized compatibility with the x5 kernel;
MapSDK:
[New Features]
- Added support for setting the coordinate system in Baidu Maps;
[Bug Fixes]
- Fixed an issue where the icon would not update when setLocMarkerIcon was called for Baidu Maps after the first time;
[Optimization]
- Optimized the color of Baidu Maps polylines when set to arrowLine;
ExtSDK:
[Optimization]
- Optimized compatibility with the x5 kernel;
WebrtcSDK:
[Optimization]
- Optimized compatibility with the x5 kernel;
BluetoothSDK:
[Optimization]
- Optimized compatibility with the x5 kernel;
# 2.38.1
Update Time: September 23, 2022
Core SDK:
[New Features]
- Added technical support identification on the loading page;
- Added support for configuring a custom Scheme array globally and at Mini-Program launch;
- Added the dynamic setBackgroundTextStyle method;
- Added support for the page-orientation attribute in page-meta;
- Added the ability to configure hiding the close button of the Capsule Button in the upper right corner of the Mini-Program Runtime;
- Added setZoom API support for the camera Component;
- Added video compression to chooseVideo and chooseMedia;
- Added custom camera interface for chooseVideo, chooseMedia, and chooseImage;
- Added JsSDK config support;
- Added support for replacing product identifiers such as Finogeeks in the SDK;
- Added support for route event queues;
- Added support for Mini-Program privacy configuration and management;
- Added support for compass and accelerometer;
- Added a method to set custom H5 Cookies;
- Added support for configuring the Mini-Program Open API WebView to ignore certificate validation;
- Added horizontalAccuracy to the getLocation return value;
- Added support for ID card keyboard and numeric keyboard;
- Added support for progressive download and playback in the video Component;
- Added license device count limits;
- Added video screen casting;
- Added display of the Capsule Button's locating and recording status;
[Bug Fixes]
- Fixed an issue where InnerAudioContext autoplay was ineffective;
- Fixed a crash issue with background audio on higher Android versions;
- Fixed an issue where the input box position was incorrect after line breaks when the textarea Component had a maximum height set and autoHeight was true;
- Fixed an issue where the bindkeyboardheightchange event was only triggered when the input Component and textarea Component gained focus;
- Fixed an issue where the query could not be obtained when opening a Mini-Program with the same scheme;
- Fixed an issue where an "App has stopped" dialog appeared when re-entering the Mini-Program after the first landscape orientation;
- Fixed an occasional issue where the soft keyboard was ultimately closed when reopened shortly after being closed;
- Fixed a crash issue when the URL parameter of the [Upload] function was "";
- Fixed an issue where reported statistics were negative when the [Download] file was too small;
- Fixed an issue where Head requests were ineffective;
- Fixed an issue where local images set in [showToast] were not displayed;
- Fixed an issue where the keyboard was dismissed when switching the input Component to the numeric/ID card input box;
- Fixed an incorrect state when the video Component resumed foreground playback;
- Fixed an issue where the Page could be incorrectly offset downward when the tabBar position was top;
- Fixed an issue where executing route events in onLaunch resulted in missing homepage Lifecycle events or a blank page;
- Fixed a black screen issue when toggling full screen while IjkMediaPlayer was paused;
- Fixed an issue where the Video Component continued playing video after the page was destroyed;
- Fixed an issue where the route method was incorrect when the hot start parameter did not include path;
- Fixed permission-related issues;
- Fixed an issue where getPhoneNumber obtained an incorrect scope;
- Fixed an issue where the internal path URI was incorrect when customizing ProductIdentification;
- Fixed a logic error where AlertBeforeUnload could not return to the previous layer;
- Fixed a crash issue caused by obtaining Mini-Program-related directories in the main process;
- Fixed scope request handling in the chooseImage and chooseVideo flows;
- Fixed an issue where the custom numeric keyboard obscured the input box when switching to the numeric input box;
- Fixed an issue where content was not displayed when switching to the numeric input box;
- Fixed an issue where the input box was obscured by the keyboard after automatic focus;
[Optimization]
- Optimized ignoring the impact of system font scaling on the interface;
- Optimized the Pull-down Refresh header UI to support dark and light attributes;
- Optimized navigateToMinoProgram so that when only the Mini-Program ID parameter is passed, reopening the Mini-Program reloads the Mini-Program page;
- Optimized previewImage and previewMedia APIs to support GIF;
- Optimized error messages for interrupted [Upload] and [Download] to align with WeChat;
- Optimized the parameter keys for [Download] data sending listeners to align with WeChat;
- Optimized [Upload] and [Download] to support setting the timeout parameter;
- Optimized [showModal] to use the default black value when related color settings are invalid;
- Optimized unified handling of deviceId-related logic;
- Optimized the video Component's gesture fast-forward and rewind behavior to align with WeChat;
- Optimized tabBar styles;
- Optimized InnerAudioContext;
- Optimized background audio;
- Optimized custom keyboard-related logic for the input Component and textarea Component;
- Optimized storageapi isolation by userId;
- Optimized opening Mini-Programs via schema to support specifying apiServer;
- Optimized background audio handling when the Manifest lacks foreground service permission to prevent crashes;
- Optimized the remote debugging connection mechanism;
- Optimized the vConsole implementation to display logs in an independent WebView;
- Optimized getLocation to support the type parameter;
- Optimized removal of illegal characters when setting H5 Headers;
- Optimized getSystemInfo return values;
- Optimized obtaining application width and height values;
- Optimized and enhanced thread safety of the video Component;
- Optimized Capsule Button styles;
- Optimized NavigationBar styles;
- Optimized IjkPlayer stuttering issues in some video playback;
MapSDK:
[Optimization]
- Optimized the style of the navigation map selection dialog;
[Bug Fixes]
- Fixed an issue where getLocation could display the Capsule Button locating icon during the location permission authorization stage;
BluetoothSDK:
[Optimization]
- Optimized Android 12 Bluetooth permission adaptation;
MediaSDK:
[Optimization]
- Optimized exposure of IjkMediaPlayer-related configuration interfaces;
AagoraSDK:
[New Features]
- Added support for the stream-removed event;
# 2.37.13
Update Time: September 9, 2022
[New Features]
- Added IAppletOpenTypeHandler to support separate handling of open-type proxy events and the original IAppetHandler proxy events;
[Bug Fixes]
- Fixed an issue where the brightness was not restored after the video Component exited the page;
- Fixed a crash issue with the video Component when compiled with targetSDK 31 or above;
- Fixed a crash issue when the main process obtained Mini-Program-related directories;
- Fixed an issue where, after canceling via the selection menu in chooseImage, chooseVideo, and chooseMedia, subsequent successful selections returned results multiple times;
- Fixed a crash issue when closing webSocket with code 2000;
- Unified error reporting for passive webSocket closure exceptions to align with WeChat;
- Fixed an issue where restarting the Mini-Program caused a crash or endless loading;
- Fixed an issue where the input box position was incorrect after switching between landscape and portrait orientations in the input Component;
- Fixed an issue where the cursor position was incorrect when switching the textarea Component from landscape to portrait;
- Fixed an issue where the blank space at the top of the keyboard grew larger after multiple line breaks in the textarea Component's auto-height mode;
- Fixed an issue where the keyboard's built-in controls overlapped with the confirm-bar when the textarea Component was in landscape orientation;
- Fixed an issue where toggling full screen during the video loading phase had a certain probability of making the play button unclickable in the video Component;
- Fixed an occasional issue where opening the Mini-Program resulted in endless loading;
- Fixed a probabilistic error issue with the canvas Component's synchronous methods;
- Fixed an issue where the page did not return to its pre-focus position after tapping outside the input box, losing focus, and dismissing the keyboard;
- Fixed an issue where the height value in the textarea Component's bindlinechange event was incorrect;
- Fixed a black screen issue caused by dragging the progress bar during the video Component's loading state;
[Optimization]
- Optimized cross-process invocation handling for the WeChat Extension SDK;
- Aligned the video Component's background playback behavior with WeChat;
# 2.37.9
Update Time: August 12, 2022
[New Features]
- Added delete key keyCode handling for the Input and TextArea Components;
- Added deviceOrientation and enableDebug to getSystemInfo return values;
- Added a method to check menu status on the custom menu page;
- Added support for setting whether a Mini-Program opens in single-task stack or multi-task stack mode at launch;
[Bug Fixes]
- Fixed an issue where alternating multiple videos into full screen left residual images of the previous video;
- Fixed issues caused when uiConfig was not configured;
- Fixed compatibility issues with onUserCaptureScreen on certain special device models and scenarios;
- Fixed API compatibility issues on lower versions;
- Fixed a potential null pointer exception issue when Baidu Maps displayed the current location;
- Fixed occasional issues with Baidu Maps where the zoom range was uncontrolled, the scale control was displayed too long, and the compass was not displayed;
- Fixed an issue where video Component screenshots did not prompt for Mini-Program permissions;
- Fixed an issue where the video full-screen orientation could become disordered when the system orientation changed;
- Fixed an issue where screenshots could not be successfully saved to the album on Android Q and above;
- Fixed the title of the WeChat field in contacts, changing it from English to Chinese;
- Fixed a potential issue where adding markers was ineffective in AMap;
- Fixed an issue where the FinClip App scan prompt was incorrect when the Mini-Program QR code had expired;
- Fixed an issue where the current frame could not be displayed when toggling full screen in the video Component's paused state;
- Fixed an issue where hot-starting the Mini-Program did not trigger onNewIntent on some phones;
- Fixed an issue where re-entering the Mini-Program could fail to open it in some scenarios;
[Optimization]
- Aligned behavior when the video full-screen operation direction was missing;
- Optimized the removeUsedApplet interface;
- downloadFile supports the filePath parameter;
- Pre-created the Mini-Program process to improve first-open speed;
- Supplemented obfuscation rules for AbsOfflineAccountInfoFactory;
- Large screen and landscape adaptation;
- Optimized the logic for obtaining Mini-Program encrypted information via Mini-Program QR codes;
- Re-entering the Mini-Program now only reopens the Activity, aligning with WeChat behavior;
# 2.37.7
Update Time: July 30, 2022
[New Features]
- Clipboard SDK support;
- Support for re-entering the Mini-Program;
- openDocument interface support;
- WebView supports configuring hiding the progress bar and the progress bar color;
[Bug Fixes]
- Fixed potential conflict issues caused by c++_shared.so;
- Support for audio files in the Video Component;
- Fixed the bottom menu's response to the back button;
- Fixed an issue where statusBarHeight and navBarHeight obtained by getSystemInfo were incorrect when using an older Base Library version;
- Fixed a logic error in determining whether the page could go back;
- Added callback handling for enableAlertBeforeUnload;
- Handled openDocument callback issues;
- Fixed an issue where the input box position deviated after input focus on some phones;
[Optimization]
- Optimized the Mini-Program opening API;
- Adjusted the content and sending order of the input Component's custom_event_setKeyboardValue event;
- Removed the loading placeholder image;
- Optimized loading time statistics events;
- Optimized scanCode return values;
- Optimized tabbar styles;
- Optimized the trigger logic for InnerAudioContext and BackgroundAudioManager onStop and onWaiting;
- Aligned removeUsedApplet behavior;
# 2.37.3
Update Time: July 16, 2022
[New Features]
- Added support for displaying Mini-Programs and the Host-App together in the recent tasks list;
[Bug Fixes]
- Fixed an issue where XLog recorded the wrong invoke type in AppService;
- Fixed a crash issue when releasing the canvas during off-screen rendering;
- Fixed a failure when the actual data size of base64ToTempFilePath was inconsistent with the size specified in json;
- Fixed an issue where selection-end passed null and treated it as the text length;
- Fixed an issue where the height obtained in the bindfocus event of input/textarea was incorrect;
[Optimization]
- Added mime-type validation for local files in the video Component;
- Removed the toast prompt for video playback errors;
- Optimized KeyboardHeightProvider to handle state disorder caused by landscape/portrait switching;
- Switching to landscape now ignores the holdKeyboard attribute and directly closes the keyboard;
- Adjusted logic related to the enableDebug configuration item;
[Contacts]
- The addPhoneContact firstName field value is not allowed to be "";
- When addPhoneContact has no firstName filled in, clicking create contact directly returns a failure callback instead of showing a dialog first;
- addPhoneContact supports the photoFilePath attribute;
- Fixed a crash issue when the addPhoneContact avatar file did not exist;
[Bluetooth]
- Added a timeout check for createBLEConnection;
- Added refinement of some error codes;
- Added a default maximum timeout duration;
- Added attribute types to getBLEDeviceCharacteristics;
- startAdvertising supports repeated advertising;
- Bluetooth Low Energy peripheral API calls no longer verify whether initialization has been performed;
# 2.37.1
Update Time: July 2, 2022
[New Features]
- Added contactsdk to support contact APIs
- getAccountInfoSync interface support
- The Mini-Program opening interface supports success and failure callbacks
- Remote debugging support
- WebView supports long screenshot capture
- Added background audio functionality
- Added screenshot and screen recording control configuration
- Added watermark configuration
- Support for setting some configuration items separately for individual Mini-Programs
- Support for custom request headers
- Offline Mini-Programs support the navigateToMiniprogram interface
- Offline Mini-Program hosting implements separate Subpackage loading and version update logic
- Added a logging system
- Added support for map Marker customCallout
- Added an offline Mini-Program extended API whitelist mechanism
- Added isolation of the temp directory by user-id
- Added the chooseMedia interface
- Added setVisualEffectOnCapture support
- Added priority configuration for the Navigation Bar's back-to-home button, supporting independent configuration for individual Mini-Programs
- Added Agora SDK registration
[Optimization]
- Optimized the parameters and return results of navigateToMiniprogram and navigateBack
- Optimized the method for obtaining the keyboard-accessory height
- Optimized file access restrictions for FileSystemManager-related interfaces
- Adjusted the status bar of the Mini-Program loading page to white
- Optimized navigation and callback logic for appLaunch and relaunch
- Added support for the startRecord and stopRecord interfaces
- Adapted the Mini-Program loading page status bar to Dark Mode
- Aligned the timing of Mini-Program information updates during Subpackage Mini-Program version updates with iOS [Fixes]
- Fixed the issue where pop-ups still appeared after the WebView was hidden.
- Fixed camera compatibility issues with lower-version devices and permission issues.
- Fixed incorrect Tab state issues on some lower-version Android systems.
- Fixed the issue where getScreenBrightness returned a value greater than 1 on Xiaomi devices.
- Fixed KeyboardHeight listening issues on some devices.
- Fixed the issue where native-view could not display properly when exceeding the screen bounds.
- Fixed the selection issue when multiple tabs in the tabbar correspond to the same page.
- Fixed the issue where query was not passed to the page when the startup parameter path was empty.
# 2.36.11
Update Time: June 18, 2022
[New Features]
- Support for setting the minimum supported Android SDK (Software Development Kit) version;
- Support for playVoice, pauseVoice, and stopVoice APIs;
[Fixes]
- Fixed cover-view support for text-overflow:ellipsis;
- Fixed FinRequestManager thread safety issues;
- Fixed Mini-Program time-consuming statistics event issues;
- Fixed downloadfile file suffix and type recognition issues;
- Fixed openDocument error issues;
- Fixed Mini-Program startup crash issues;
- Fixed the exception issue caused by FinHTMLWebLayout returning immediately when jsAlert is about to pop up but has not yet popped up;
- Fixed the issue where jsAlert in FinHTMLWebChromeClient under extreme circumstances caused the WebView to be unable to respond to click events;
- Fixed the issue where Mini-Programs could not receive data when calling frame callbacks in earlier lifecycles such as OnLoad;
- Fixed the Dark Mode adaptation error in the more menu when switching to landscape orientation;
- Fixed crashes on Android 5.X system devices caused by unsupported encoded color formats;
- Fixed the issue where the camera Component could not preview on first open on low-end devices such as vivoX7Plus due to permission dialog prompts;
- Fixed potential crashes when exiting a Mini-Program directly during frame callbacks;
[Optimizations]
- Optimized Mini-Program startup background settings;
- Optimized the handling of frame callback adaptation when called during OnLoad;
- Optimized the onAPPForeground event and fixed incorrect hot start parameters;
# 2.36.9
Update Time: June 3, 2022
[New Features]
- Location selection supports POI result pagination;
- Location selection and viewing with AMap support Dark Mode;
- Location selection and viewing support recording selection history;
[Fixes]
- Fixed color parsing issues;
- DownloadManager allows mobile networks;
- Fixed input box switching issues;
- Fixed data desynchronization issues that may occur with duplicate requests under multithreading;
- Fixed the setTabBarItem API clearing text when the text field is not passed;
- Fixed the setTabBarItem API where setting the iconPath parameter to a local path did not take effect;
- Fixed compressImage not checking whether the source file exists;
- Added code package path support and file existence checks for previewImage, previewMedia, and previewVideo;
- Fixed apiUrl concatenation issues;
- Fixed QR code recognition issues;
- Fixed the issue where getImageInfo could not retrieve information for paths within code packages;
- Fixed exception issues when the map Marker path is invalid;
- Fixed the issue where Baidu Map bubbles may not be hidden when removing markers;
- Fixed onShow invocation issues;
- Fixed saveImageToPhotosAlbum network link crash issues;
[Optimizations]
- text-area and confirm-bar support Dark Mode;
- Optimized the position of text-area and input;
- TabBar icons support network images;
- Record access_exception events when the Base Library details API access fails;
- Optimized data reporting logic;
# 2.36.7
Update Time: May 20, 2022
[New Features]
- Support for custom Mini-Program menu pages
- Offline Mini-Program logos support bitmap configuration
- Support for configuring the maximum page level
- textarea supports the show-confirm-bar attribute
[Optimizations]
- Fault-tolerant handling for some page error states and parameter errors
- Merged classes with the same functionality
- showModal behavior aligned with WeChat
- Exposed default implementation classes for APIs with many methods
- Optimized the page push-up method when the input method pops up
[Fixes]
- Fixed the issue where the saveFile API did not delete the original cache file
- Fixed the issue where getImageInfo still returned image information when the file does not exist
- Fixed the conflict between input cursor-spacing and keyboard-accessory
- Fixed ghosting issues when switching between input and textarea
- Fixed the issue where onBackPressed could not exit on the last page
- Fixed keyboard-accessory overlap issues
- Fixed video Component binding confusion on pages with tabs
- Fixed offline Mini-Program cache issues
- Fixed the issue where the page was briefly obscured by the input box due to delayed page push-up when text-area wraps lines
- Fixed the probability of crashes when rapidly switching input boxes
# 2.36.5
Update Time: April 29, 2022
[Updates]
- InnerAudio adds duration, currentTime, and buffered property updates, and fixes known issues;
- Added support for developer-customized map Components;
- Minimum version support extended to 4.4 and above;
[Fixes]
- input supports idcard, fixed focus issues;
- Fixed the bug where syncapi was obfuscated;
- Fixed the issue where Mini-Program SharedPrefs data was not deleted when calling the clear Mini-Program API;
- Fixed the issue where Mini-Program versions could not be updated properly;
- Fixed path handling errors in readZipEntry during transmission;
- Fixed potential crash risks during playback in the video Component;
- Fixed the issue where the TabBar API for removing badges or red dots did not remove both badges and red dots simultaneously;
- Fixed getConnectedBluetoothDevices issues;
- Fixed the issue where the file duplicate-download prevention mechanism did not correctly callback results and remove cached requests;
[Optimizations]
- Optimized opening Mini-Programs via QR code;
- Clear other processes running the same appId when a Mini-Program starts;
- chooseImage and chooseVideo APIs: when sourceType has only one option, directly execute the corresponding action without showing the bottom selection dialog;
- chooseImage and chooseVideo APIs: files generated by camera capture are saved within the app;
- ImageLoader supports prevention of duplicate image downloads;
- TabBar red dots and badges are not displayed simultaneously;
- TabBar does not display icons when iconPath is not set;
- TabBar uses iconPath as selectedIconPath when selectedIconPath is not set;
- Optimized handling logic for Subpackage loading failures when loading pages;
- MapSDK aligned the UI of location selection and location viewing interfaces;
- Adjusted the time format in video Component event callbacks to decimals in seconds;
- video Component allows initializing src as empty;
- Non-official Mini-Programs are reloaded when opened again, even if currently in a loading state;
# 2.36.3
Update Time: April 19, 2022
[New Features]
- Added Mini-Program state machine;
- Button Component adds open-type attribute support;
- Added finfile path-to-absolute-path conversion API;
- Mini-Program download API adds organId;
- Scope permissions add Bluetooth;
- Bluetooth openBluetoothAdapter and createBLEPeripheralServer add scope verification;
- FinClip App integrates TPNS push;
[Optimizations]
- Display detailed error information on the error page when Mini-Program download fails;
- Do not reuse any local cache resources when launching non-official Mini-Programs;
- Optimized file decompression logic to prevent the inability to re-trigger decompression when callbacks encounter exceptions;
- Optimized the logic for launching offline Mini-Programs;
- Optimized error information display for Mini-Program loading failures;
[Fixes]
- Fixed the issue where scanning to launch a trial Mini-Program would request the Mini-Program details API twice;
- Fixed null pointer exceptions when path is not passed in startup parameters;
- Fixed the issue where the page would not reload when referrerInfo changes in startup parameters;
- Fixed incomplete page display caused by incorrect SystemInfo windowHeight;
- Fixed the issue where the input box at the bottom of web pages was obscured by the keyboard when opening Mini-Programs multiple times;
- Fixed black blocks appearing at the bottom when returning from background to foreground;
- Fixed incorrect height of the input box at the bottom of web pages on first open;
- Fixed the issue where the trial Mini-Program's previous page kept loading;
- Fixed exceptions caused by empty bitmap during flutter-sdk sharing;
- Fixed crash issues when uploading images via flutterwebview in FinClip App;
# 2.36.1
Update Time: April 2, 2022
[Optimizations]
- Mini-Programs and Base Library changed to parallel downloading, supporting the organId parameter;
- Adjusted the implementation of video frame callbacks to optimize memory usage;
- Used URL query parameters to make WebViewActivity compatible with Dark Mode adaptation;
- Complaints and feedback pages adapted for Dark Mode;
- Extension APIs support synchronous APIs
- Support for modifying userId;
[Fixes]
- Fixed incorrect determination of underlying pages by the navigation bar's back-to-home button;
- Deprecated the back-to-home button in the more menu;
- Fixed the issue where restarting a Mini-Program would fail after opening it through the Mini-Program management;
- Aligned debug configuration with WeChat;
- Fixed the issue where the camera could not be removed when used with native-view and cover-view in the camera Component;
- Adjusted the isHideBackHome configuration item to control whether the navigation bar's back-to-home button is displayed;
- Fixed incorrect webSocket protocols parameter settings;
- Handled deadobject exception crashes when AIDL communication is disconnected;
- Fixed issues caused by hardcoded apiServer when scanning to open Mini-Programs;
- Fixed OOM when loading images in cover-view on low-memory devices;
- Fixed the issue where the keyboard would first collapse and then pop up when directly switching Input Components;
- Fixed the issue where some devices could not adjust speaker volume via hardware volume buttons;
- Modified the screen orientation determination method;
- Fixed the issue where TabBar-related APIs did not callback after successful execution;
- Fixed Tab page white screen issues;
# 2.35.11
Update Time: March 18, 2022
[New Features]
- Added Mini-Program lifecycle functions;
- Support for built-in API override logic;
- Offline Mini-Programs support hiding tabs and startup parameters;
[Optimizations]
- Return error information when html file selection is unauthorized;
- Set pull-down refresh font color according to backgroundTextStyle;
[Fixes]
- Fixed the issue where trial Mini-Programs could not obtain file paths;
- Fixed CachedStore issues;
- Fixed lifecycle issues during process reuse;
- Fixed the issue where an extra onShow event occurred on the Tab page being switched away from when switching between Tab pages;
- Fixed webSwitchTabPage issues;
- Fixed the issue where permission was considered granted even when the returned permission result was an empty array;
- Fixed crash issues when scrolling down Mini-Program pages;
- Removed reflection-based retrieval of MediaMuxer status information to avoid issues when users disable reflection;
- Fixed filestore synchronization issues;
- Fixed the issue where KeyboardAccessory was not closed when Mini-Program pages were closed;
- Fixed the issue where position-fixed cover-views would move down together with pull-down refresh;
# 2.35.9
Update Time: March 4, 2022
[New Features]
- Added ibeacon API support
[Optimizations]
- Optimized error display when Subpackages do not exist
- Removed ForegroundService permission and adapted accordingly
- Optimized Native Component layering
- Added geolocation authorization dialog to WebView
- Added autoplay configuration to WebView
- Removed clipboard APIs
[Fixes]
- Fixed the issue where startup parameters were not retained after Mini-Program update and restart
- Fixed UDPSocket base64 encoding issues
- Fixed some map Component issues
# 2.35.7
Update Time: February 18, 2022
[New Features]
- Added holdKeyboard attribute support;
[Fixes]
- Fixed the issue where the title changed to "page does not exist" when the tab page does not exist;
- Resolved the issue where the keyboard could not be hidden by touching the map;
- Fixed the issue where the Service could not obtain the latest startup parameters when loading Subpackage js during Mini-Program Subpackage loading with startup parameters passed;
- Fixed crash issues when returning from image selection;
- Fixed the issue where Baidu Map could still zoom in via double-tap and zoom out via two-finger tap after disabling zoom gestures;
- Fixed the issue where landscape pages became portrait pages when exiting fullscreen;
[Optimizations]
- Adjusted parameters for opening the AMap app for navigation;
- Made the Bluetooth Component independent;
- Catch exceptions when setting WebView.setWebContentsDebuggingEnabled during SDK (Software Development Kit) initialization;
- During Mini-Program Subpackage loading, display "page does not exist" when the Subpackage cannot be found based on the page path in startup parameters;
- Adapted to status bar anomalies caused by different landscape/portrait switching scenarios, and adapted to notch screens;
- Adapted the status bar for vertical videos on landscape pages when switching to vertical fullscreen;
# 2.35.5
Update Time: January 28, 2022
[New Features]
- ShowModal adds editable and placeholderText support;
[Fixes]
- Fixed the issue where switchtab did not return error information when the path does not exist;
- Fixed the issue where image files could not be accessed via finfile://usr;
- Fixed image selection count issues;
- Fixed switchtab issues;
[Optimizations]
- Scope dialog adaptation for landscape and punch-hole screens;
- ModalDialog adaptation for landscape and notch screens;
- MapSDK removed ConstraintLayout;
- Optimized initRenderingCache storage method;
# 2.35.3
Update Time: January 17, 2022
【New Features】
- License adds a configuration information switch;
- Support setting username and password when creating a PeerConnection;
【Fixes】
- Fixed the low-probability Crash issue of the Map Component;
- Fixed the screen height calculation error issue;
- Fixed the abnormal status bar display issue when the Mini-Program switches between landscape and portrait orientation;
【Optimizations】
- Improved Canvas;
- Optimized the Map Component lifecycle;
- Optimized the circle color for AMap positioning accuracy;
- Changed the WebSocket.onSocketOpen header parameter type to object;
# 2.35.1
Update Time: January 7, 2022
【New Features】
- Support the KeyboardAccessory Component;
- Support offline Mini-Programs;
- Support custom Mini-Program Loading views;
- The Map SDK supports AMap, Baidu Map, and Google Maps;
- Support Mini-Program permission management;
- Map and WebRTC are split from the Extension SDK as independent SDKs;
- Support Subpackage Preload for Mini-Programs;
- Support Mini-Program theme configuration;
- The inputId of the input and textarea Components is changed to be generated by the Base Library;
- Added getImageData and putImageData APIs;
- Added checkIsOpenAccessibility API;
- Support TabBar page preloading;
- Support Canvas;
- Added an interface for launching Mini-Programs via QR code;
- base64ToTempFilePath adds fileType support;
【Optimizations】
- sdkcore removes the dependency on the Android Support library;
- Optimized the batch update logic for Mini-Programs;
- When batch updating Mini-Programs, if it is a Subpackage Mini-Program, support Subpackage Preload;
- Optimized the Mini-Program decompression logic to ensure that Mini-Programs can be accurately updated;
- Replaced the webSubscribeCallBackHandler method in JSSDK;
- Optimized the multi-threaded download logic for the Base Library, Mini-Program full packages, and Mini-Program Subpackages;
- Optimized the UI when the Mini-Program Scope settings page has empty permissions;
- Adapted some pages to Dark Mode;
- Optimized the getLocation API;
- The SDK is only initialized in the main process;
- Optimized the more menu UI;
- Unified the text for expired Mini-Programs;
- Optimized the readZipEntry logic;
- Optimized the Mini-Program startup time statistics module;
- Optimized the Scope request method;
- Prevent duplicate file decompression under multi-threading;
【Fixes】
- Fixed the crash issue when removing the video Component;
- Fixed the issue where the center play button is not displayed when the video Component is loaded for the first time;
- Fixed the issue where the cover image is not displayed when entering the same video Component page a second time;
- Fixed the crash issue caused by disconnection between the video playback process and the Mini-Program process;
- Fixed the crash issue caused by repeatedly creating the same camera Component;
- Fixed the camera removal issue;
- Fixed the issue where the video Component cover image is not controlled by the object-fit property;
- Fixed the issue where the status bar is incorrect when the video Component exits full screen;
- Fixed the issue where the loading state is incorrect when the video Component switches to full screen;
- Fixed the issue where the image orientation is incorrect when browsing images;
- Fixed the issue where CoverView images are not fully covered;
- Fixed the obfuscation configuration to avoid causing partial class obfuscation failures in the Host-App project;
- Fixed the crash issue when loading images due to thread switching;
- Fixed the issue where the chooseLocation search box autocomplete suggestions occasionally do not display;
- Fixed the issue where getAppletTempPath returns an incorrect path;
- Fixed theme setting related issues;
- Fixed the LocalStorage loss issue;
- Fixed the relaunch white screen issue;
- Fixed the crash issue when base64ToTempFilePath parameters exceed the image size;
- Fixed the issue where the top property value of getMenuButtonBoundingClientRect is incorrect;
- Fixed the Camera Component Scope issue;
- Fixed the issue where Tab page preloading repeatedly executes onDomContentLoaded;
- Fixed the loading order issue between the Main Package and other Subpackages;
- Fixed the black line issue at the bottom of CoverView;
- Fixed the issue where the back button is displayed when calling switchtab to switch to the home page;
- Fixed the issue of repeatedly sending relaunch events;
- Fixed the issue of repeatedly switching to the same Tab page;
- Fixed the Map Component crash issue;
- Fixed the issue where the Mini-Program remains in a loading state in certain situations;
# 2.34.12
Update Time: December 17, 2021
【Optimizations】
- Replaced the webSubscribeCallBackHandler method in JSSDK
- Optimized the multi-threaded download logic for Mini-Program Subpackages
【Fixes】
- Fixed the issue caused by the update timing of the Mini-Program packages field
- Fixed the Subpackage duplicate download issue
- Fixed the crash issue when loading the Mini-Program icon when opening a trial version Mini-Program
# 2.34.9
Update Time: December 03, 2021
【Optimizations】
- Upgraded SDKCore;
- Optimized batch update of Mini-Programs, Subpackage Preload for Subpackage Mini-Programs;
- Optimized the Mini-Program decompression logic;
【Fixes】
- Fixed the cache issue after Mini-Program updates;
- Fixed the issue where the video Component cover image is not controlled by the object-fit property;
- Fixed the issue where the status bar is incorrect when the video Component exits full screen;
- Fixed the issue where the loading state is incorrect when the video Component switches to full screen;
- Fixed the obfuscation configuration to avoid causing partial class obfuscation failures in the Host-App project;
# 2.34.7
Update Time: November 19, 2021
【New Features】
- getSuperviseInfo and getSystemInfo add the bundleId field
- JSSDK adds the request interface
【Fixes】
- Fixed the crash when removing the video Component;
- Fixed the issue where the center play button is not displayed when the video Component is loaded for the first time;
- Fixed the issue where the cover image is not displayed when entering the same video Component page a second time;
- Fixed the crash issue caused by disconnection between the video playback process and the Mini-Program process;
- Fixed the crash issue caused by repeatedly creating the same camera Component;
- Fixed the camera removal bug;
- Fixed the issue where the image orientation is incorrect when browsing images;
- Fixed the issue where CoverView images are not fully covered;
# 2.34.5
Update Time: November 08, 2021
【New Features】
- Added account lock prompt
【Optimizations】
- getImageInfo adds orientation and type
【Fixes】
- Fixed the issue where request returns empty cookies
- Fixed the occasional white screen issue when opening Mini-Programs
- Fixed the issue of repeated execution of the onAppRoute event
- Fixed the issue of incorrect callback when decompressing files
- Fixed the crash issue when initializing the SDK in a child thread
- Fixed the issue where the status bar covers content when returning to the Mini-Program from a landscape page
- Fixed the page rendering abnormality issue when switching between pages with different Navigation Bar styles
- Fixed the font color issue of showActionSheet
- Fixed the issue where webrtc does not request video and audio permissions
- Fixed the issue where text is not fully displayed in some scenarios when cover-view multi-line text wraps
- Fixed the issue where services cannot be obtained immediately after creating a Bluetooth connection
# 2.34.3
Update Time: October 23, 2021
【New Features】
- Webview supports configuring headers
- Deprecated the apiPrefix configuration item
【Optimizations】
- Optimized the text description of the callback when location permission is denied
- Optimized the text description of the camera permission callback for the scan API
- Optimized the time consumption of automatically registering Extension SDK APIs
- Optimized the startup frequency of foreground services when launching Mini-Programs
- Optimized the prompt when permissions cannot be obtained in the geolocation API
【Fixes】
- Fixed the field reflection error issue on Android 12
- Fixed the SDK packaging obfuscation issue
# 2.34.1
Update Time: September 28, 2021
【New Features】
- Support configuring hiding the close button and disabling swipe-right-to-go-back
- Opening Mini-Programs via QR code supports passing launch parameters
【Optimizations】
- Added permission request for camera in onResume
【Fixes】
- Fixed the crash issue when setting lineHeight on coverView in lower versions
- Fixed the camera crash issue in lower versions
- Fixed the issue where Mini-Programs remain loading in some scenarios
# 2.33.15
Update Time: September 10, 2021
【Optimizations】
- cover-view supports line wrapping
- Optimized the chooseImage image compression scheme, supporting the sizeType parameter
【Fixes】
- Fixed the content loss issue of input in certain scenarios
- Fixed the issue where cover-view cannot be fixed
- Fixed the crash issue caused by cookies in API requests
- Fixed the camera green screen issue
# 2.33.11
Update Time: August 28, 2021
【New Features】
- Support configuring hiding the close button and disabling swipe-right-to-go-back
- Opening Mini-Programs via QR code supports passing launch parameters
【Optimizations】
- Added permission request for camera in onResume
【Fixes】
- Fixed the crash issue when setting lineHeight on coverView in lower versions
- Fixed the camera crash issue in lower versions
- Fixed the issue where Mini-Programs remain loading in some scenarios
# 2.33.3
Update Time: August 13, 2021
【New Features】
- Added data reporting fields and events
- Added configuration for the server to return encrypted data
- Added trial version and development version identifiers for Mini-Programs
【Optimizations】
- Replaced x5 with the system webview to load Mini-Programs
- Optimized the prompt when a Mini-Program page does not exist
- Mini-Program loading error prompts use a unified style
- Removed the anko dependency
- Optimized the more menu style
【Fixes】
- Fixed the issue where memory cache information is not cleared when clearing Mini-Programs
- Fixed the toast prompt character count and layout issues
- Fixed the issue caused by invalid file storage paths
# 2.33.1
Update Time: July 31, 2021
【New Features】
- Support Mini-Program Subpackage loading
- Add websocket API support
- Add Mini-Program data reporting events and fields
- Add getSystemInfoSync API
【Optimizations】
- Remove data reporting for development and trial version Mini-Programs to avoid interfering with production data
- Optimize Mini-Program cache and reuse logic
【Fixes】
- Fix the issue where the Mini-Program input field text overlaps with the native input field text when the Input Component shows the keyboard
- Fix http obfuscation issue
# 2.32.1
Update Time: July 16, 2021
【New Features】
- Add readFile and readFileSync APIs
- Add exitMiniProgram API
【Optimizations】
- Local Mini-Programs do not validate domains
- Remove the sequence parameter from the navigateToMiniProgram API to prevent jumping to arbitrary versions
- Optimize the input solution to resolve incorrect input content in certain scenarios
【Fixes】
- Fix camera green screen issue
- Fix white screen issue caused by JS errors
- Fix coverview rounded corners not taking effect and font display issues
- Fix coverview not displaying within nativeview, and handle coordinate conversion
- Fix incorrect padding handling within the SDK
- Fix the issue where Mini-Program webview-related APIs are unavailable when the Extension SDK is not integrated
# 2.31.1
Update Time: July 1, 2021
【New Features】
- Add writeFile API
- Add APIs for managing Mini-Programs
- Add cookie handling for http APIs
【Optimizations】
- Optimize Mini-Program error notification method
- Optimize screenshot listening logic; no longer request storage permission at Mini-Program startup
- Use libyuv to optimize camera frame processing logic
- Add file extensions based on contentType when downloading files
- Upgrade x5 kernel and disable sensitive permissions
【Fixes】
- Fix camera recording bitrate issue
- Fix incorrect file field position in the uploadFile API
- Fix API lifecycle being called multiple times
- Fix data reporting issue
- Fix input cursor issue
# 2.30.1
Update Time: June 18, 2021
【New Features】
- Support launching trial and temporary version Mini-Programs
- Add security mechanism to Mini-Program QR codes
【Optimizations】
- WebView page loading supports timeout mechanism
- Remove rxjava and rxpermission related code to optimize SDK size
【Fixes】
- Fix the issue where Mini-Program landscape mode does not follow system rotation
- Fix the issue where Mini-Programs may be stuck in loading state during startup
- Fix camera and flash issues in camera scan mode
- Fix the invokeNativeViewTask failure callback issue in NativeView
- Fix incorrect status bar color caused by custom navigation bar in Mini-Programs
# 2.29.1
Update Time: June 7, 2021
【New Features】
- Add camera Component
【Optimizations】
- Optimize Mini-Program loading animation; the loading animation will no longer appear twice
- Remove vibration, flash, and foreground service permissions
- Add low-version system validation to ensure no crashes on lower-version systems
- Optimize certificate validation logic; support server-side control of whether to validate certificates
【Fixes】
- Fix camera covering cover-view issue
- Fix crash when opening multiple local undownloaded Mini-Programs consecutively within a Mini-Program
# 2.28.1
Update Time: May 31, 2021
【New Features】
- Add FileSystemManager, supporting saveFile, getFileInfo, removeSavedFile, getSavedFileList, getSavedFileInfo;
- Add SDK configuration option to control whether to disable the getSuperviseInfo API
【Optimizations】
- Optimize Pull-down Refresh; return the refresh type to the frontend
- Adjust callback information when APIs are not implemented
- Modify Mini-Program delisting message
- Optimization: Add caching when the main process notifies the Mini-Program process to execute actions, ensuring sequential execution
- Remove rxjava and rxpermission dependencies
- Optimization: Delete old files before extracting Mini-Programs
- Optimization: Reduce inner padding when TabBar is at the top of the page to avoid excessive TabBar display height
【Fixes】
- Fix inability to click Mini-Program page content during Pull-down Refresh
- Fix transition animation errors on some device models when entering the home page from the Mini-Program loading page
# 2.26.1
Update Time: May 14, 2021
Update Content:
I. New Features:
- JSSDK adds getLocation API;
- Mini-Program detail API adds hashcode;
- Control whether to compress reported data via configuration;
- Provide API for searching Mini-Programs;
II. Bug Fixes:
- Fix IllegalArgumentException when retrieving task stack;
- Fix some null pointer exceptions;
- Fix Mini-Program launch parameters being cleared;
III. Optimizations:
- Optimize SDK initialization speed;
- Optimize Mini-Program error notifications;
# 2.25.1
MD5: 13b18b5f6a1c1e701032cfdafbc8cacb
Update Time: April 30, 2021
Update Content:
I. New Features:
- Certificate validation supports strict domain validation;
- Support animation effects when setting navigation bar color;
- Add authorize API;
- Add domain blacklist; whitelist supports configuration of .*;
II. Bug Fixes:
- fix: getMenuButtonBoundingClientRect returns incorrect top value;
- Fix incorrect keyboard height for TextArea Input;
- Fix short vibration not working;
III. Optimizations:
- Adjust data reporting query event method;
- Remove SDK database; switch to encrypted file storage;
- Support bidirectional transfer of large data volumes (> 1M) when calling custom APIs across processes;
- Optimize WebView https certificate validation logic;
- For security reasons, restrict path configuration to prevent FileProvider from having excessive file sharing capabilities;
- Refactor cover-view and cover-image modules;
# 2.24.1
MD5: Core SDK: 38b81147bd51f2c1476988dadff73099
Extension SDK: 780b7e505eaaedfaa9a0016f162d84df
Update Time: April 9, 2021
Update Content:
I. New Features:
- Support https certificate validation;
- Support controlling data reporting via sampling rate;
- Support custom API review management;
- Support custom TabBar;
- Support cover-view;
- Support automatic injection of APIs from Extension SDK;
II. Bug Fixes:
- Fix issues caused by repeated SDK initialization;
- Fix InnerAudioContext related issues;
- Fix text flickering when switching between input and textarea input fields;
- Fix WebView unable to reload web pages;
- Fix network API failures on some Android 4.x device models;
- Fix incorrect event names in jssdk api callbacks;
III. Optimizations:
- RequestModule fault tolerance handling;
- Database initialization fault tolerance handling;
- Fault tolerance handling for some code;
- Optimize more menu interaction logic;
- Optimize Mini-Program page interaction logic;
- Block calls to the License configuration information retrieval API;
# 2.23.1
Update Time: March 19, 2020
Update Content:
I. New Features:
- Support foreground service keep-alive;
- Support server-side configuration of more menu;
- Support Base Library md5 validation and decryption;
- Support synchronously closing Mini-Programs when the main process is killed;
- Support setting WebView mixed content mode;
- Support InnerAudioContext;
- Add SDK fingerprint field to data reporting;
- Data storage related APIs support synchronous versions;
- JSSDK supports data storage related APIs;
- Support URL wake-up of Alipay, WeChat, and FinClip App;
- Support database encryption;
- Add Mini-Program close dialog callback;
- Add apmServer configuration;
- Add fileToBase64 API;
- Support controlling Mini-Programs to skip domain validation;
- Support previewVideo and previewMedia progressive video playback;
- Skip calling the License configuration information retrieval API in environments with SDK fingerprint;
- Support downloading files from web pages when Mini-Programs load web pages;
- Support configuring replacement text for Mini-Program prompts in the project;
II. Bug Fixes:
- Fix images unable to preview;
- Fix some Mini-Program data not syncing in a timely manner;
- Fix inability to retrieve Mini-Program process;
- Fix Mini-Program page bottom flickering in certain scenarios;
- Fix Mini-Program page scrolling lag in certain scenarios;
- Fix getSuperviseInfo API error;
- Fix resource attribute name conflicts;
- Fix incorrect keys field format in data returned by getStorageInfo;
- Fix issues caused by repeated SDK initialization;
III. Optimizations:
- Optimize more menu related logic;
- Optimize Mini-Program launch logic;
- Optimize Mini-Program loading animation;
- Optimize URL interception logic;
- Optimize Mini-Program process set management logic;
- Block native API calls when sessionId is inconsistent;
- Set page state based on URL during page initialization;
- Optimize webview scrollbar show/hide logic;
- Optimize video playback logic;
- Adapt screenshot event listening for Android Q and above;
- Mini-Program custom more menu compatible with backend services;
- Optimize dynamic menu layout setting logic for more menu;
- Database initialization fault tolerance handling;
- Fault tolerance handling for some Mini-Program APIs;
- Adjust data reporting strategy;
# 2.13.102
Update Time: January 20, 2020
Update contents:
I. New Features:
- Support for multiple app markets;
- Support for natively sending events to Mini-Programs;
- Support for obtaining the WebView URL and userAgent of the current Mini-Program page;
- Support for setting Cookies;
- Support for configuring the number of Mini-Programs to batch update during SDK initialization;
- Support for NativeView, live-pusher, live-player, and camera components;
- Support for injecting custom APIs into the Mini-Program process;
- Support for RequestTask, UploadTask, DownloadTask, and UDPSocket;
- Support for hiding the "Share" button in the "More" menu;
- Support for synchronous JS calls to native methods;
- Support for configuring the Capsule Button style;
- Added a path field to the More menu click event;
- Added enablePullDownRefresh and disablePullDownRefresh APIs;
- Added setScreenBrightness, getScreenBrightness, setKeepScreenOn, and onUserCaptureScreen APIs;
- Added showShareMenu and hideShareMenu APIs;
- Added vibrateShort and vibrateLong APIs;
- Added previewMedia API;
- Added addPhoneContact API;
- Added canGoBack and canNavigateBack APIs;
- Added getSelectedTextRange API;
- Added an API for obtaining Mini-Program information; the extended API supports providing an appId parameter;
II. Bug Fixes:
- Fixed the "Only fullscreen activities can request orientation" exception when setting screen orientation;
- Fixed NativeView-related issues;
- Fixed the cross-process invocation issue of registered APIs;
- Fixed the issue where the authorization confirmation dialog could not be displayed in Mini-Programs;
- Fixed the redirection issue;
- Fixed the TextArea linechange issue;
- Fixed the black screen issue when WebRTC is enabled;
- Fixed the image compression issue when selecting images;
- Fixed the conflict between horizontal swipe and vertical swipe on Mini-Program pages;
- Fixed the download progress issue;
- Fixed the runtime permission validation logic issue;
- Fixed the issue where switching Tab pages only occurred after Pull-down Refresh completed;
- Fixed the exception issue during AIDL interface calls;
III. Optimizations:
- Optimized data reporting;
- Optimized domain validation logic;
- Optimized SDK initialization logic;
- Optimized the logic for batch updating Mini-Programs;
- Optimized some UI interaction logic;
- Adjusted geolocation-related code;
- Distinguished the WebViewClient used by Mini-Program page WebViews and web page WebViews;
- After TBS initialization completes, if the service has not finished loading, reload the service;
- navigateToMiniProgram does not allow navigating to itself;
- Optimized screenshot code logic;
- Optimized multi-process communication logic;
- When a Mini-Program calls an API without runtime permission, the corresponding detailed error information is described in the failure callback;
- Optimized the Mini-Program rendering process to accelerate Mini-Program rendering speed;
- Optimized SDK error pop-up dialogs;
- Optimized the implementation logic of some APIs;
- Optimized the logic for launching Mini-Programs via URL;
- During SDK initialization, clean up task stacks that are no longer running;
# 2.12.37
Update time: November 27, 2020
Update contents:
I. New Features:
- Support for network-related APIs;
- Support for TabBar-related APIs and events;
- Support for Mini-Program package encryption and decryption;
- The image browsing API supports Base64 data;
- Support for sending the pageonunload event to web pages when a Mini-Program page is destroyed;
- Support for the textarea component;
- JSSDK supports the getLocalImgData interface;
- Support for determining whether a web page has loaded js-sdk;
II. Bug Fixes:
- Mini-Program side-swipe back issue;
- File (image/video) selection issue;
- input and textarea component-related issues;
- Issue with obtaining and clearing launch parameters during onAppRoute;
- Other known issues;
III. Optimizations:
- When an API called by a Mini-Program does not exist, the callback fails and passes an "API not implemented" description in the callback interface;
- Some third-party libraries changed to source code dependencies to reduce integration conflicts;
- Optimized the Activity transition animation retrieval logic, so the animation no longer needs to be retrieved before every transition;
- Removed unnecessary toasts when Mini-Program launch fails;
- Adjusted the GMS version to improve compatibility;
- During Mini-Program cold start, the first page is opened via appLaunch;
- Optimized onActivityResult handling logic;
- Optimized redirectTo logic;
- Compatible with some scenarios where targetSdkVersion is 23;
# 2.11.93
Update time: October 23, 2020
Update contents:
I. New Features:
- Implemented the custom_event_getImageBase64 interface;
- Implemented the compressImage interface;
- Implemented the pageScrollTo interface;
- Implemented the saveImageToPhotosAlbum interface;
- Implemented the saveVideoToPhotosAlbum interface;
- Transition animations support no animation;
- Support for SDK fingerprint verification;
- Support for disabling the Tbs SDK;
- Support for publishing events from the Service layer to web pages in the Page layer;
- Support for terminating a single running Mini-Program;
- Support for callbacks on the "Close" button click event in the Mini-Program Navigation Bar;
- Support for determining whether to print output logs based on initialization parameters;
- Adjusted the Mini-Program loading view;
- Support for opening PDF and other document formats when a Mini-Program loads web pages;
II. Bug Fixes:
- input component-related issues;
- Removed some attributes with compatibility issues;
- Issue where the status bar color and Navigation Bar color are inconsistent;
- Issue where the status bar color is incorrect when the screen rotates;
- Crash caused by RecyclerView errors on lower versions;
- Issue where the Mini-Program page reloads on hot start;
- input component-related issues;
- Issue with repeated pop-up dialogs in Mini-Programs;
III. Optimizations:
- Optimized file selection logic;
- Optimized file saving logic;
- Optimized temporary file naming rules;
- Optimized chooseVideo and chooseImage interface logic;
- Optimized the logic for obtaining cover images during sharing;
- Added a retry mechanism for APM reporting failures;
- APM prevents duplicate reporting;
- APM reporting interval adjusted to 12 hours;
- Removed dependencies on some third-party libraries;
- Lowered the support library version to avoid version compatibility issues during SDK integration;
- Optimized SDK initialization logic;
- Optimized event interaction logic in Mini-Program Pages;
- Optimized valid domain determination logic;
- getSystemInfo distinguishes between full-screen and non-full-screen devices when obtaining screenHeight and windowHeight;
- Optimized redirectTo logic;
- Removed Java 8 and above syntax features;
# 2.11.15
Update time: September 11, 2020
Update contents:
I. New Features:
- Support for removing Cookies of specified domains;
- Support for cross-process fragmented transmission of large data volumes;
II. Bug Fixes:
- input component-related issues;
- TabBar background color error;
- Probabilistic failure when mounting systemInfo information;
- Incorrect logic for determining whether a web page can go back;
- Crash during color parsing when the color value is incorrect;
- Navigation Bar color updates when a Mini-Program page goes back;
- Incorrect screenHeight obtained on non-notch devices;
- Repeated service loading causes JS code execution failure during onServiceReady;
- Jinyilian Mini-Program cannot obtain the extConfig field;
- Exception thrown when obtaining reverse geocoding information on some device models;
III. Optimizations:
- Refactored input component code logic;
- input component adapted for rounded corner backgrounds;
- reLaunch logic;
- During Mini-Program hot start, if the launch parameters are unchanged from the previous launch but the page to open differs from the current page, the page will still be reloaded;
- Soft keyboard visibility detection logic is compatible with Google Input Method;
- When data reporting interface calls fail, events for inaccessible business content are not recorded;
- Improved the handling logic for file selection via HTML input tags;
# 2.10.7
Update time: August 14, 2020
Update contents:
I. New Features:
- SDK provides an interface for closing Mini-Programs;
- JSSDK adds an interface for closing Mini-Programs;
- JSSDK adds "navigateToMiniProgram" and "navigateBackMiniProgram" interfaces;
- Adjusted event reporting strategy;
- Support for configuring whether to prohibit initiating runtime permission requests during initialization;
- Support for Mini-Programs to configure whether to hide the "More" button and "Close" button in the Navigation Bar via configuration files;
- Support for configuring Navigation Bar title text styles;
- Support for centering the Mini-Program Navigation Bar title;
- Support for removing the background of Mini-Program Navigation Bar navigation buttons;
- Support for Mini-Program landscape orientation;
- Pop-up prompts based on "Mini-Program expiration" and "Application expiration" scenarios;
II. Bug Fixes:
- input component-related issues;
- Adjusted Pull-down Refresh logic and fixed related logic defects;
- Error when starting services in the background on higher-version Android system devices;
III. Optimizations:
- When a Mini-Program loads web pages, setting navigationStyle to hide can hide the entire Navigation Bar;
- Removed the Glide library and implemented image loading and caching independently to avoid compatibility issues caused by different Glide versions;
- Modified obfuscation rules to not obfuscate BuildConfig;
- Removed unnecessary code, permissions, and resources;
- Clipboard-related APIs moved from the core SDK to the Extension SDK;
- Optimized Mini-Program launch logic: if the Base Library has not been downloaded, download the Base Library first, then launch the Mini-Program after the Base Library is downloaded;
- Adapted to Manifest risk check issues;
- Optimized Base Library update process;
- Optimized the input component;
- Allow phone calls in H5;
- SO library hardening;
# 2.8.76
Update time: July 17, 2020
Update contents:
I. New Features:
- Support for the input component;
- Fault-tolerant handling for the Mini-Program details retrieval interface;
- Added getSuperviseInfo interface;
- Adjusted the implementation of the web-view component;
- Support for carrying parameters in callback methods when API interface calls fail or are cancelled;
- License domain validation;
- Forced Mini-Program updates and scheduled Mini-Program updates;
II. Bug Fixes:
- onBindMessage event not triggered after H5 pages send postMessage events;
- request interface parses body as empty when contentType is application/x-www-form-urlencoded;
- Mini-Program MD5 comparison logic error;
III. Optimizations:
- Changed AndroidX to Support library;
- getSystemInfo interface returns navBarHeight and tabBarHeight;
- Removed some unused code and resources;
- Removed dependencies on some libraries;
- Optimized Mini-Program loading process;
- Record access_exception events when all network interface requests fail;
- When extracting zip files, compatible with zips containing hidden directories (e.g., MACOSX/.script);
- Improved the logic for determining whether the Base Library is valid;
- Adjusted event reporting fields;
- Adjusted a series of prompt texts when the Mini-Program details retrieval interface returns failure;
- Compressed resource images, converted all images to webp format to reduce SDK size;
- Prevent consecutive repeated Mini-Program launches within a short period;
- Moved some APIs involving sensitive permissions (phone, contacts, recording, etc.) from the core SDK to the Extension SDK library;
- During Mini-Program hot start, if the current launch parameters are the same as the previous launch parameters, the page and data are not reloaded;
# 2.8.33
Update time: June 18, 2020
Update contents:
I. New Features:
- Increased data reporting frequency;
- Added event types such as Security Sandbox crashes and inaccessible business content to data reporting;
- jssdk adds chooseImage interface;
- Mini-Program WebView and externally provided WebViews support calling the camera to take photos or record videos, and opening folders to select files from web pages;
- Added gray release event reporting;
- Support for opening Mini-Programs with a specified development version number within a Mini-Program;
II. Bug Fixes:
"You cannot start a load for a destroyed activity" error when loading images;
Crash caused by updating UI in child threads;
When the created page is the root page, all other pages in the page stack are cleared;
After returning from a Mini-Program to the Host-App, the Mini-Program cannot be brought back to the foreground;
Some SystemInfo parameters are obtained incorrectly; III. Optimizations:
Optimized Mini-Program hot start speed;
When a Mini-Program hot starts, automatically close pages such as "About Mini-Program", "Feedback and Complaints" that were opened last time;
When a Mini-Program hot starts, no longer briefly stay on the Mini-Program page opened last time, but directly open a new page;
Adjusted the Mini-Program WebView cache mode to use the default cache for loading web pages, speeding up Mini-Program web page loading;
Removed redundant code and resource files to reduce SDK size;
Optimized the handling logic for first-time Mini-Program launch when Mini-Program download fails;
# 2.7.1
Update time: May 22, 2020
Update content:
I. New features:
- Support Mini-Program data reporting;
- Support obtaining layout information of some view controls before the Mini-Program page is rendered;
- Support mounting systemInfo and menuButtonBoundingClientRect to the Service;
- Added safeArea information to systemInfo;
- Support external injection of APM reporting data;
- Support hiding the "Back to Home" menu entry in the "More" menu;
- Support swiping left on the screen to return layer by layer through opened web pages when a Mini-Program loads web pages;
- Support national cryptographic algorithms;
II. Fixed issues:
- Fixed domain name resolution issues;
- Fixed a logic defect in recording Mini-Program launch events;
- Fixed an occasional Base Library download error;
- Fixed null pointer exceptions in some scenarios;
- Adjusted the logic for loading JS code and fixed the issue where native callback data to the Mini-Program failed;
- Fixed the issue where, when navigating to a page with query parameters in the url, the page after navigation displayed blank;
- Fixed a logic defect in deleting multi-level file directories;
- Fixed UI abnormalities when launching Mini-Programs on some device models;
- Fixed the issue of incorrect color settings for the Navigation Bar Capsule Button;
III. Optimizations:
- Adjusted API routes according to unified specifications;
- The request API returns data of the corresponding type to the Base Library according to responseType;
- Adjusted the method of externally injecting grayscale release configuration parameters;
- When a Mini-Program loads a web page, the title no longer displays the web page address;
- Adjusted the method of downloading files;
- Optimized the inter-process communication logic between the main process and the Mini-Program process;
- Optimized the logic for clearing Mini-Programs;
- Adjusted the Mini-Program process lifecycle listening logic;
- Added compatibility handling for SDK initialization configuration parameters that contain spaces;
# 2.1.27
Update time: April 22, 2020
Update content:
I. New features:
- Support grayscale release;
- More menu redesign;
- Support hiding the Feedback and Complaints menu entry in the "More" menu;
- Added some Mini-Program APIs;
- Support configuring whether to always show the back button when the Navigation Bar is the default Navigation Bar;
II. Fixed issues:
- Fixed crashes caused by theme overrides;
- Fixed the issue where, when different applications integrate the SDK, the Mini-Program processes reuse each other after opening Mini-Programs;
- Fixed errors when re-initializing the SDK;
- Fixed the issue where SDK initialization receives multiple result callbacks;
- Adjusted the logic for requesting location permission during SDK initialization to resolve crashes in Flutter projects;
- Handled crashes caused by dynamic permissions when obtaining location on some Android 10 device models;
- Fixed a logic defect in determining whether to show "Back to Home" in the More menu;
- Fixed a logic defect in setting the color of the "Share" button in the More menu;
- Fixed a logic defect in gesture-swipe back navigation on Mini-Program pages;
- Fixed the issue where native calls to JS failed;
III. Optimizations:
- Optimized the location acquisition feature;
- Adjusted the logic related to Navigation Bar settings during page switching;
- ToastView adapted to scenarios without an icon;
- Support loading rounded-corner images;
- Adjusted some API routes and authentication methods;
- Optimized the logic for launching Mini-Programs;
- Reviewed and optimized some code logic;
# 2.1.1
Update time: March 26, 2020
Update content:
I. New features:
- Changed the "About" Mini-Program popup to a page;
- Added some Mini-Program APIs;
- web-view implements the onWebviewLoad and onWebviewError events;
- Support scenarios where the download path is a relative path;
II. Fixed issues:
- Fixed crashes caused by array out-of-bounds during SDK initialization;
- Fixed some null pointer exceptions;
- Fixed the issue where Mini-Program web page loading occasionally failed;
- Fixed the issue where images could not be zoomed in for preview when selecting images;
- Fixed a logic issue in determining whether a page can go back;
- Fixed the issue where "Back to Home" was displayed in the More menu after opening the Mini-Program home page in some scenarios;
- Fixed the issue where long-pressing the Mini-Program WebView popped up the system's native "Copy" and "Search" menus;
- Fixed the issue where the bottom popup menu could not be invoked again after being closed by tapping a blank area;
- Fixed the issue of incorrect Mini-Program name display in the system task stack;
- Fixed a logic issue in switching tabs within a Tab page;
- Fixed a logic issue in obtaining Mini-Program configuration information;
III. Optimizations:
- Removed some dependency libraries and unused resources to reduce SDK size;
- Optimized logic related to database data storage and database upgrades;
- Optimized logic related to Mini-Program version management;
- Adjusted the download storage path for Mini-Program packages;
- Adjusted the naming of Scheme configuration parameters when opening Mini-Programs via URL to prevent duplication with the Host-App's configuration parameters;
- Adjusted some copy text;
- Layout optimization, removing redundant nesting;
- Adapted image and video browsing pages to notched screens;
- Improved logic related to the Navigation Bar and Tab Bar in Tab pages;
- Optimized the page loading logic when launching Mini-Programs;
- Compatible with scenarios where apiPrefix does not end with /;
- Adjusted the method of obtaining location;
- Separated the SDK Key verification and Base Library download/decompression logic during SDK initialization to avoid SDK initialization failure caused by Base Library download failure;
# 2.0.77
Update time: February 28, 2020
Update content:
I. New features:
- Added JSSDK APIs for downloading files and opening documents;
- The "More" menu supports menu item injection;
II. Fixed issues:
- Fixed the issue where page A displayed blank when switching to page A's Tab from page B;
- Fixed the issue where the Tbs SDK failed to initialize on 64-bit phones;
- Fixed the issue where, after Tbs kernel download failure, subsequent Tbs SDK initialization would always fail regardless of how it was initialized;
- Fixed the issue where the Mini-Program ID was displayed when loading a Mini-Program;
- Fixed the issue of incorrect parameters obtained by the getSystemInfo API;
III. Optimizations:
- Optimized page navigation logic;
- Optimized logic for file-related APIs and download-related APIs;
- Optimized the implementation logic for opening documents;
- Optimized gradle dependency configuration;
- Removed dependencies on some components;
- The Runtime SDK's Activity for browsing images/videos supports multiple processes;
- Optimized TabBar UI logic to make the TabBar look more coordinated whether or not Items have icons;
- Limited the maximum length of the title displayed in the top loading view control when loading a Mini-Program;
- When cold-starting a Mini-Program without launch parameters, stay directly on the page from when the Mini-Program was last closed;
# 2.0.67
Update time: February 14, 2020
Update content:
I. New features:
1. When the Mini-Program WebView loads a single-page H5 and the H5 performs internal navigation, control whether the Mini-Program Navigation Bar displays the back button;
2. Added some jssdk APIs, including: navigateTo, navigateBack, redirectTo, switchTab, reLaunch, getEnv, postMessage, getAppletInfo;
3. Added a hide mode to the Navigation Bar style (navigationStyle), which hides all parts of the Navigation Bar, including the Capsule Button in the upper right corner;
II. Fixed issues:
1. Fixed some NPEs;
2. Fixed the issue where the server address was hardcoded in Feedback and Complaints across different environments;
3. Fixed the issue where the appVersion parameter in Feedback and Complaints took the FinClip App version number;
4. Fixed the issue where the device system in Feedback and Complaints did not include the specific version number;
5. Fixed the SSL Handshake Exception when requesting the network on Android 4.4;
6. Fixed the Json Parse Exception when network requests fail;
# 2.0.64
Update time: January 17, 2020
Update content:
I. New features:
1. Added security parameter verification to backend service request APIs;
2. Handled error codes returned by backend APIs;
3. Base Library Hot Update;
4. When a Mini-Program loads a web page, the Navigation Bar displays the back button if the web page can go back, and hides it otherwise;
5. Feedback and Complaints;
6. Custom Navigation Bar;
II. Fixed issues:
1. Fixed the issue where, during layer-by-layer web page back navigation, a redirect would cause normal back navigation to fail;
2. Fixed the issue on some device models where, when loading a web page, if the same url was loaded twice in too short an interval, loading would stop halfway;
3. Fixed Android 4.4 crash issues;
4. Fixed the issue where Mini-Programs displayed blank due to incorrect launch parameter handling logic;
III. Optimizations
1. Adjusted the timing of event reporting checks;
2. Handled scenarios where backend APIs return error codes;
3. Optimized WebView html loading;
4. Organized externally exposed APIs;
5. Improved the return parameters of the getSystemInfo API;
# 2.0.39
Update time: December 27, 2019
Update content:
I. New features:
1. Provided an encapsulated WebView externally; the WebView supports H5 calling native methods and native calling JS functions;
2. Support opening Mini-Programs via url;
3. Support determining the H5 runtime environment via the __fcjs_environment variable;
4. APM data reporting;
II. Optimizations:
1. Android Q adaptation;
2. Optimized the Mini-Program package update strategy: when both version and sequence are the same, the Mini-Program is not updated;
3. Optimized the Mini-Program multi-process management logic;
III. Fixed several bugs