Appearance
Android Changelog
2.45.7
Release Date: August 23, 2024
Update Content:
Core SDK:
[New]
- Added the configuration item
setAutoFixDensity
. - Added new function
getFavoriteApplets()
to retrieve the list of favorite mini programs.
[Bug Fixes]
- Fixed an issue where the video control bar might disappear during rapid video switching and couldn't be restored.
- Fixed a crash issue that occurred while rapidly switching videos in the video component.
[Optimization]
- Optimized APM statistics function with a new event type
js_error
for reporting. - Optimized the scrolling issue when a mini program component is nested within a ScrollView.
- Optimized the launch error screen for mini programs by adding a "Reload" feature.
LiveSDK:
[Bug Fixes]
- Fixed an issue with
live-player
not displaying video for H265 format streams.
2.45.5
Release Date: August 9, 2024
Update Content:
[Bug Fixes]
- Fixed an issue where the video component's process rendering could be killed on some models, resulting in video control failure.
- Fixed an issue where
getFileInfo
did not trigger the fail callback when the file does not exist. - Fixed an issue where chunked downloads might intermittently return incomplete data.
- Fixed an issue where setting
setDebugMode
to true during SDK initialization resulted in chunked streams returning all data at once. - Fixed an issue where focusing on input/textarea after returning to the foreground from the background would not push the page up correctly.
- Fixed a problem with the absolute path returned by
getFinFileAbsolutePath
when the passed path includes a folder.
[Optimization]
- Optimized textarea to show scroll bars when content exceeds a fixed height.
- Optimized domain verification to support adding subdomains (e.g., https://*.baidu.com) in the management console.
2.45.3
Release Date: July 26, 2024
Update Content:
[New]
- Added the
disableBackForwardGesture
configuration for controlling the swiping back function on mini program pages.
[Bug Fixes]
- Fixed an issue where the cursor would jump after focusing on a textarea for the first time.
- Fixed an issue with images appearing inverted after selecting images in the mini program.
[Optimization]
- Optimized the triggering of custom API lifecycle methods in single-process scenarios to prevent duplicate triggering of methods like
onCreate
andonDestroy
. - Optimized network request to prioritize DNS resolution using IPv4 (the system defaults to IPv6, which may lead to timeout issues if the IPv6 address is incorrect).
- Optimized payload parameters for reporting APM events like
page_hide
,applet_hide
, andpage_load
, removing redundantextData
.
LiveSDK:
[Optimization]
- Optimized
live-player
to address lag and clarity issues under certain conditions.
ExtSDK:
[Bug Fixes]
- Fixed an issue with incorrect audio frame calculation during recording.
2.45.1
Release Date: July 13, 2024
Update Content:
Core SDK:
[New]
- Added
FinAppConfig
configuration itemsphone
andchannel
.
[Bug Fixes]
- Fixed an issue where opening an online mini program using a zip format offline library and then the same version of an ftpkg format online library would result in an "Offline library loading failure (13009)" error.
- Fixed issues caused by concurrent downloading of the base library and mini program code package leading to "Base library loading failure" errors.
[Optimization]
- Optimized the request headers for all management console interface requests in the SDK by adding a
mop-app-version
field. - Improved background audio and background location compatibility for targetSdkVersion 34 (Android 14) and above to prevent crashes.
- Enhanced the foreground service notification for background audio and location adaptation on Android 13 and 14.
LiveSDK:
[Optimization]
- Enhanced
live-player
to support playback of H265 format streams.
2.44.11
Release Date: June 29, 2024
Update Content:
Core SDK:
[New]
- Added a request configuration option
disableTbs
for mini program startup.
[Bug Fixes]
- Fixed an issue where the front camera could not be specified when initializing the camera during layer rendering.
- Fixed an issue with certain data not being updated in the mini program details when checking for updates.
- Fixed an issue where the
font-weight
property did not work onplaceholder
in textarea. - Corrected the
statusBarHeight
attribute value returned bygetWindowInfo
when in landscape mode.
[Optimization]
- Optimized the InnerAudio playback resume logic after being paused due to page pauses.
- Adjusted the minimum width and height for
showToast
when displaying pure text to 48. - Enhanced the audio bitrate configuration for camera recording, addressing issues related to excessive bitrate causing recognition problems.
LiveSDK:
[Optimization]
- Improved the handling of lag in lower-quality live streaming.
2.44.9
Release Date: June 14, 2024
Update Content:
[New]
- Added support for generating and saving files using the
finfile
protocol (generateFinFilePath
,getFinFileAbsolutePathCanNoExist
). - Introduced configuration strategies for permission requests and detailed text for local permission applications.
- New APIs
readCompressedFile
,readCompressedFileSync
introduced.
[Bug Fixes]
- Fixed an issue where audio from the
audio
tag did not stop when the H5 application closed. - Fixed a loading stall issue caused by frequent progress updates when using
loadSubpackage
in mini games. - Fixed issues where obtaining/operating files due to missing stream packages caused continued inability to retrieve/operate the same files when stream packages were subsequently available.
- Fixed an error in some tablets where "Using WebView from more than one process at once with the same data directory is not supported."
- Fixed a crash issue caused by excessively zooming in on images resulting in width and height being smaller than 1 after cropping.
- Corrected the orientation direction not being fixed when using
getVideoInfo
. - Fixed crashes when Gson parses unexpected data during data uploads.
- Fixed data anomalies when using pickers with custom-item settings.
- Fixed potential crashes when calling
startRecord
on camera devices in certain models.
[Optimization]
- Enhanced image cropping area brightness when cropping with fixed aspect ratios.
- Introduced
pingInterval
parameter in the websocket to control the interval at which ping frames are sent.
2.44.7
Release Date: June 1, 2024
Update Content:
[New]
- Added support for capsule more button click delegation events in H5 applications.
- Added support for fullscreen configuration in
web.json
for H5 applications. - Added support for navigation bar configuration in
web.json
for H5 applications. - Introduced support for
onAppShow
andonAppHide
in H5 applications. - Added APIs
editImage
andcropImage
. - Introduced server configuration
encryptUserId
where SDK will encrypt userId (ensure backend service is upgraded to 1.4.1 or above for this).
[Bug Fixes]
- Fixed an issue where local path images did not display in
Map
customCallout. - Corrected the ineffectiveness of click events in Gaode map
customCallout
. - Fixed an issue where text above
cover-view
did not display fully. - Fixed an issue with disconnection and reconnection of some Bluetooth devices causing abnormal data retrieval.
- Corrected a crash that occurred when obtaining system location authorization if the page had already been removed.
- Fixed potential crashes during GIF previews.
[Optimization]
- Optimized the returned object of
getPrivacyInfo
by adding theupdateTime
attribute. - Improved rendering and audio lag issues in mini games caused by InnerAudio.
- Improved preview support for BMP format images.
- Optimized triggering logic for
onActive
,onInActive
inIAppletLifecycleObserver
. - Updated administrative area data for picker components to the latest 2024 administrative division version.
2.44.5
Release Date: May 17, 2024
Update Content:
Core SDK:
[New]
- Added the
getBindApplets
method to retrieve bound mini programs. - Introduced
themeStyle
property to specify mini program theme modes (follow system, dark, light). - Added support for
queryParams
in offline H5. - Added
originUrl
configuration for offline H5.
[Bug Fixes]
- Fixed an issue where the ScrollView could not scroll after closing the keyboard in mini games.
- Fixed an issue where the first call to
getSuperviseInfo
did not display the permission request box. - Corrected dark mode adaptation issues with a background color of mini programs set to
false
. - Fixed an issue where downloading failed when the
filePath
parameter ofdownloadFile
included a folder. - Fixed an issue in single-process mode where incorrect AIDL service state judgments could result in API invocation errors ("Cannot invoke extends API, session invalid").
[Optimization]
- Improved the logic for
getSystemInfo
,getWindowInfo
to safely bypass the notch area.
MapSDK:
[Optimization]
- Optimized color adaptation for dark mode in some map pages.
BluetoothSDK:
[Bug Fixes]
- Fixed an issue where sending a command to read characteristic values might not return results under certain conditions.
- Corrected the case sensitivity of UUIDs for services and characteristic values.
2.44.3
Release Date: April 26, 2024
Update Content:
[New]
- Added a method for the main process to retrieve privacy authorization information.
[Bug Fixes]
- Fixed an issue where scanning a QR code to open a formal version mini program did not support gray parameters.
- Fixed a problem where loading pages in dark mode would briefly flash a white background.
- Corrected errors caused by the
userId
set in the initialization of the SDK including file path separators. - Fixed an exception that could arise when obtaining network images with
refererInfo
improperly formatted. - Fixed an issue where multiple redirects in requests would only process the first redirect.
- Fixed issues in Android 14 where sharing screenshots failed while using X5.
- Corrected flicker issues in the Input focus box.
[Optimization]
- Optimized the API for obtaining mini program information (added
frameworkInfo
attribute). - Improved the custom permission request pop-up prompt when taking pictures with the camera.
- Enhanced the logic for judging whether the reported event exceeds server configuration limits.
2.44.1
Release Date: April 12, 2024
Update Content:
[New]
- Added mini component functions.
- Added support for privacy policy click delegation events.
[Bug Fixes]
- Fixed an issue where occasionally opening a mini program while blocking its loading would get stuck on the loading page.
- Fixed a hot start issue where the new version would not switch to a cold start update.
- Fixed a crash issue that occurred when calling
makePhoneCall
on specific tablet devices. - Fixed the creation of excessive processes when restarting a mini program.
- Corrected an issue where the
web-view
component would not triggerbindload
when loading a webpage.
[Optimization]
- Optimized the live component to support picture-in-picture mode.
- Optimized the frequency configuration for permission pop-up requests managed by the server.
2.43.11
Release Date: March 29, 2024
Update Content:
Core SDK:
[New]
- Added synchronous and asynchronous
invoke
methods withappId
parameters inSyncApi
. - Added support for management platform configuration of built-in and custom menus.
[Bug Fixes]
- Fixed a logic error in the custom permission authorization
updateScopeStatus
method. - Fixed an issue where the
selection-start
andselection-end
properties did not work during automatic focus on input and textarea components. - Corrected an error that prompted "Page does not exist" when calling
navigateToMiniProgram
multiple times. - Fixed an issue where opening mini programs with multiple tasks on some Huawei devices (Mate20, MatePad 11) could trigger the application's Activity
onDestroy
. - Fixed issues where data reporting did not comply with the configured rules.
[Optimization]
- Optimized the decryption of
sdkkey
to prevent crashes caused by exceptions. - Improved compatibility with older versions of Gson (2.2.2).
MapSDK:
[Bug Fixes]
- Fixed an issue where status bars in
chooseLocation
andopenLocation
did not display transparently on certain Android systems.
[Optimization]
- Improved layout of the titles in
chooseLocation
andopenLocation
under wide status bars on higher versions of Android.
ShareSDK:
[Optimization]
- Improved the logic for determining whether to include a "/" when concatenating shared screenshot links.
2.43.9
Release Date: March 15, 2024
Update Content:
[New]
- Added support for third-party privacy agreements to set file names and links for privacy documents via delegation.
[Bug Fixes]
- Fixed an issue where background audio usage on Android 14 could cause crashes.
- Corrected inaccuracies in field values within data reporting events.
- Fixed initialization parameter issues in high versions (7.5.4 and above) of Baidu Map SDK.
2.43.7
Release Date: March 1, 2024
Update Content:
[New]
- Added the
net_name
field to the payload for data reporting events. - Introduced support for configuring stream-compressed versions as offline packages in online mini programs.
- Implemented simulation of
live-player
andlive-pusher
layer rendering using WebView. - Added support for
orientation
attribute inlive-player
.
[Bug Fixes]
- Resolved an issue where the minimum font size in WebView was set to 8 on certain models.
- Corrected the
mode
value type error in thestat
method for the new compression library. - Fixed a problem where input content was cleared in some scenarios during layer rendering with the input component.
- Fixed a placeholder style issue for the input component during layer rendering in some scenarios.
- Resolved a rendering issue where the camera component would obscure the bottom view after switching orientations.
- Corrected an API overriding failure in multi-process mode when using external verification for the SDK Key.
- Fixed a problem where the icon would not refresh after jumping from an independent segment page to a TabBar page.
- Fixed a problem with no animation when returning from a native secondary page.
- Corrected issues with offline mini program configurations.
- Fixed issues where log messages showed two entries when pre-downloading sub-packages in scenario three.
- Fixed flaws that prevented obtaining audio when certain stream links were used.
- Resolved problems with cases where invalid streaming addresses caused ANR issues.
- Fixed an issue where no audio was played when using Bluetooth headphones.
- Fixed Bluetooth compatibility issues on Android 12 devices.
- Resolved potential crashes during video recording with the camera component.
[Optimization]
- Improved compatibility for file uploads in complaints and feedback.
- Changed the audio channel to media audio in
live-player
.
2.43.5
Release Date: February 2, 2024
Update Content:
[New]
- Added an error prompt for 20003 when checking for mini program updates.
- Introduced
enableAlertBeforeUnload
for swipe back scenarios. - Added support for
stat/statSync
to handle compressed directories in mini program packages. - Introduced support for proxy requests in
request
,uploadFile
, anddownloadFile
APIs. - Added support for
RequestTask.onChunkReceived
.
[Bug Fixes]
- Corrected an error in obtaining remote image information with
getImageInfo
after restarting the mini program. - Fixed an issue where subpackage configurations with only the root and a trailing slash would fail to download.
- Addressed compatibility issues in the Motorola X40, where mini games and offline H5 would get stuck.
- Fixed a glitch causing garbled decryption of
sdkKey
. - Resolved flickering issues when swiping back from native pages on Android 12 and later.
- Corrections for the
ContentType
error inuploadFile
. - Fixed issues with content display in landscape mode for mini programs.
[Optimization]
- Improved the logic for obtaining the base library version when opening mini programs in offline Scenario 3 with no cache.
- Enhanced data format returned by
getImageInfo
for URL types. - Marked the
disableSlideCloseAppletGesture
configuration item as deprecated for preventing side swipes on core mini program pages. - Improved compatibility for tab bar icons that start with "./".
- Optimized logic for handling cross-origin issues during web-view resource loading.
- Enhanced response headers and callback data for the
request
,uploadFile
, anddownloadFile
APIs to include header and cookie information.
2.43.3
Release Date: January 20, 2024
Update Content:
[New]
- Added support for the result of
stat/statSync/fstat/fstatSync
to returnisFile
andisDirectory
. - Introduced
getLocalIPAddress
API. - Added NFC functionality support.
- Added support for
sha256
indigestAlgorithm
forgetFileInfo
. - Introduced
UserCryptoManager.getLatestUserKey
API.
[Bug Fixes]
- Corrected issues with the mini program logo having white rounded corners when loading in dark mode.
- Fixed occasional crashes in camera component scanning mode on Android 14 devices.
- Resolved crashes when calling
getVideoInfo
if X5 was not integrated. - Fixed issues with the complaint feedback module using an incorrect file parameter during upload.
- Fixed anomalies caused by rapid clicks on the submit button in complaint feedback.
- Corrected incorrect image paths returned from custom menus that could cause the mini program to fail to open.
- Fixed issues where
appletOpenCallBack
did not trigger. - Fixed problems where mini games and offline H5 did not display the share button in more menus.
- Corrected log inconsistencies caused by the order of logs for pre-downloading multiple sub-packages.
- Fixed issues where nonexistent sub-packages yielded no relevant download logs.
- Fixed errors that occurred when multiple values were associated with a single key in the headers for
request
. - Resolved white screen issues that arose on the "OPPO Android 10" when opening mini programs.
- Fixed issues where mini games could not update after using the new compression library.
- Corrected problems where custom entry JS was not supported for mini game sub-packages.
- Fixed occurrences of error prompts showing when updating mini programs during server anomalies.
- Fixed issues preventing the previous mini program from stopping audio when switching between mini programs playing the same address.
- Fixed issues where changes to the canvas size could lead to scale errors when modifying the
width
andheight
. - Resolved issues that disrupted painting in the background canvas component when attempting to draw.
- Fixed scale errors caused by the relationship between canvas node sizes and canvas sizes.
- Resolved alignment issues in drawing effects when parameters for
lineTo
were invalid in the canvas component. - Fixed the loss of drawing content when entering the background from the non-layer rendering canvas component due to surface recovery.
[Optimization]
- Separated successful and failed logs for pre-downloading packages into two entries.
- Optimized the method for determining URL legality in
uploadFile
anddownloadFile
to prevent false positives. - Enhanced ZIP extraction logic to avoid "zip path traversal" issues during app store reviews.
- Removed the 60s timeout restriction for
uploadFile
,request
,downloadFile
, andcreateSocketTask
. - Improved the logic for local persistent storage for mini program information.
- Enhanced mini program release logic.
- Upgraded
finclipcore
to version 1.16.1. - Improved the potential appearance of black screens when non-layer rendering changes size.
2.43.1
Release Date: January 5, 2024
Update Content:
[New]
- Added a [Clear Cache] option to the more panel menu that allows the mini program to be closed while clearing its cache.
- Introduced a series of APIs in
CacheManager
. - Added
handleWebviewPreload
configuration option andpreloadWebView
interface. - New data pre-fetching and periodic update functionalities along with four relevant APIs/events.
[Bug Fixes]
- Fixed issues where downloading sub-packages would repeat after updating the mini program.
- Corrected issues where setting font size individually for the canvas component did not apply.
- Fixed an issue from version 2.42.11 where loading SVG images would not display properly.
- Resolved noted animation anomalies caused by system side swipes on certain devices.
- Fixed discrepancies between vConsole state and the debug button labels in more menus.
- Fixed rendering issues when the camera component switches orientations occasionally in non-layer rendering.
[Optimization]
- Enhanced the connection mechanism and the timeout parameter functionality for the
connect
interface in TCPSocket. - Updated the administrative area data source for the picker component to the latest 2023 data, adding the configuration option
pickerRegionPath
to support custom administrative data configurations (JSON format). - Improved the layout of the mini program's about page to better fit internationalized language effects (Title above with content below).
- Streamlined the logic for GPS timeout adjustments for precise local positioning to 5 seconds.
- Optimized drawing-related code in the components to enhance drawing efficiency and smoothness.
- Improved the logging mechanism within the SDK (reducing unnecessary Info level logs, duplicate logs, and event parameter prints to save log size).
2.42.13
Release Date: December 25, 2023
Update Content:
[New]
- Introduced support for
getVideoInfo
andgetAvailableAudioSources
APIs. - Added APIs for
onMemoryWarning
andoffMemoryWarning
. - Introduced
restartMiniProgram
API.
[Bug Fixes]
- Fixed cross-origin issues during resource loading in the webview component that resulted in load failures.
- Fixed scroll anomalies that occurred when calling
pageScrollTo
again while scrolling was still in progress. - Fixed potential crashes in
chooseMedia
,chooseImage
, andchooseVideo
when the camera was called in rapid succession. - Fixed errors that occurred when
refererInfo
was improperly formatted. - Resolved issues preventing the API from being overridden in single-process mode under special conditions.
- Fixed failures in callbacks after opening offline H5 or mini games.
- Corrected the problems where there was no distinction between MD5 validation failures for sub-packages and full packages.
- Fixed compatibility issues with native interfaces causing upward flickering on some devices during sliding transitions.
- Fixed conditions where hot-starting offline H5 could accidentally switch to a cold start.
- Fixed black screen issues in the video component when switching to full-screen cover mode.
- Corrected orientation information errors when compressing videos in
chooseMedia
. - Fixed exceptions that occurred under the hidden mode for the camera component when calling relevant APIs.
- Fixed errors related to the camera module generating 0x505 errors.
- Resolved inconsistencies regarding the accelerometer information returned.
- Fixed background color overlapping issues if an illegal value was passed to
setBackgroundColor
. - Corrected issues where upward page swipes would not dismiss the pull-down refresh during refresh operations.
- Fixed issues that resulted in failures to retrieve files in the new compressed packages using
getImageInfo
. - Resolved problems related to anomalous values being handled in canvas-related API calls.
- Fixed inaccuracies in drawing effects of canvas-related APIs in special scenarios.
- Corrected issues where re-opening Bluetooth adapters after closing permissions would still execute successfully.
- Resolved issues where subsequent Bluetooth API calls could not execute if Bluetooth was off during the
openBluetoothAdapter
call. - Fixed repeated triggering issues when the state of Bluetooth adapter changes resulted in duplication.
- Addressed API execution failures when toggling Bluetooth in uninitialized states.
- Fixed permission requests for Bluetooth that did not pop up in cases where Bluetooth was turned off.
- Addressed issues with video capture paths not updating after re-recording in
cameraContext.stop
method. - Fixed random crash issues occurring in MTK processor models during video recordings.
- Corrected missing
extraData
parameters during hot starts.
[Optimization]
- Enhanced the logic for handling dates and date ranges in the Picker component.
- Optimized the multi-column selector in the Picker component for column count limits.
- Improved date range compatibility for time selectors in the Picker component.
- Removed processing for
disableScroll
, allowing the core library to handle it. - Adapted the new Android system's features for receiving recourse export capability.
- Improved the method for obtaining user agent strings from the J2V8 engine.
- Enhanced the compression format of mini programs and base libraries to increase compression ratios and reduce size.
- Disabled unavailable functions in more menus when the page has not finished loading or has encountered errors.
- Stripped any whitespace that might be present in the server environment configuration info.
- Optimized file storage logic related to the SDK.
- Improved strategies for adapting colors in dark mode.
- Enhanced the Bluetooth experience and aligned error messages.
- Improved on redirect requests for
request
,downloadFile
, anduploadFile
to forward based on original request logic. - Enhanced error messages for local basic libraries when no libraries exist.
- Modified the
request
API to addreLaunch
parameters that facilitate conditions for triggering re-launching during hot starts.
2.42.9
Release Date: December 10, 2023
Update Content:
Core SDK:
[New]
- Introduced logging upload functionality.
- Added support for slide-back in native pages.
- Enhanced adaptations for foldable/split-screen displays.
- Supported layer rendering for canvas components.
- Enabled canvas rendering of network images, optimizing local image reading and drawing.
[Bug Fixes]
- Fixed foreground color issues with the return home button.
- Corrected extraction failures when multi-layer folders were present in compressed packages.
- Fixed parameter name errors in redirection callbacks.
- Fixed subtitle support issues in video layer rendering.
- Corrected duration discrepancies occurring at the end of video playback during layer rendering.
- Fixed issues where manually calling the stop API caused inaccuracies in playback starting positions.
- Resolved issues where XLogSDK logs would not write to the main process log file in single-process modes.
- Fixed white screens when navigation to unregistered domains occurred before exiting the mini program.
- Fixed touchable events in input and textarea components when not focused that prevented scrolling.
- Fixed update issues with input box positions in textarea when focusing and defocusing repeatedly.
- Resolved crashing issues in rapid toggles of j2v8 settings.
- Fixed ongoing issues during navigation errors in routing with multiple
.html
suffixes. - Corrected flash issues that occurred while swiping back to different pages during transitions.
- Resolved discrepancies in callback structures for
readDirSync
. - Fixed abnormal audio playback states when mini games enter and exit background states.
- Resolved failure issues when trying to open mini games after previous failures in weak network environments.
- Fixed issues with cold starts when opening mini games each time.
[Optimization]
- Improved animation effects for the privacy agreement switching process.
- Enhanced white screens during the startup.
- Optimized download logic for base libraries and mini programs.
- Adjusted the wording for better alignment with iOS.
- Improved the initialization of return keys and title styles in feedback and complaint pages to sync with mini program configurations.
- Enhanced the event handling mechanism for touch events in input and textarea components.
- Adjusted information for failures returned when calling getSelectedTextRange without focus in input boxes.
2.42.7
Release Date: November 24, 2023
Update Content:
[New]
- Added method to capture screenshots in mini programs.
- Upgraded j2v8 to support frame data callback.
- Created support for
setInnerAudioOption
.
[Bug Fixes]
- Fixed occasional crashes in web-view components with Android 5.x versions under certain conditions.
- Corrected intermittent crashes during slide-backs.
- Fixed automatic play issues during video previews in
previewMedia
. - Fixed issues where video cover images set with
tempPath
,storePath
, orfinPath
were not being displayed. - Corrected issues with potential white screens or abnormal displays in H5 pages after exiting and re-entering the mini program from the home page.
- Resolved issues with capturing mini program screenshots that left black edges.
- Fixed undefined window errors during remote debugging with j2v8.
- Corrected invalid font measurement errors when directly passing font parameters to measureText.
- Fixed crashes occurring in
chooseLocation
andchoosePoi
when using the updated Tencent Map SDK. - Fixed issues where the video stream could not be resumed after switching back from the camera page.
- Fixed problems with input and textarea components where cursor, selectionsStart, and selectionEnd attributes did not support dynamic updates.
- Corrected issues where custom keyboards were positioned above the bottom TabBar.
- Fixed problems with mini programs failing to receive parameters from pages opened with landing pages.
[Optimization]
- Modified the
enableAlertBeforeUnload
synchronization to use the WeChatShowModal
dialog. - Improved the use of file managers when selecting images or videos simultaneously.
- Enhanced
getAccountInfoSync
to return the version even in non-release versions. - Reconstructed the camera component to reduce package size.
- Improved the native reconstruction of feedback and complaints.
- Optimized Tab page loading processes.
- Enhanced H5
bindload
triggering logic. - Improved deduplication for the last page data in Tencent Map POI searches.
2.42.5
Release Date: November 11, 2023
Update Content:
[New]
- Introduced the option to close mini programs and provide associated cleanup functionality via the more options menu.
- Captured additional APIs in
CacheManager
. - Enabled support for the
handleWebviewPreload
configuration option with thepreloadWebView
API. - Enabled data pre-pulling and periodic updates with associated four APIs/events.
[Bug Fixes]
- Fixed issues where launching offline mini programs could lead to repeated cache getting stuck.
- Corrected issues where independently set font sizes in canvas components did not apply.
- Fixed occurrences where rendering SVG images would not work correctly starting from version 2.42.11.
- Resolved flickering issues observed during side swipes on specific devices.
- Fixed issues in vConsole states and debug button text discrepancies.
- Corrected temporary faults where camera component position rendering issues occurred during separate non-layer transitions.
[Optimization]
- Enhanced the connection process for
TCPSocket
. - Revisited how dates and date ranges are handled during selections in the Picker component.
- Improved the multi-column selector within Picker component regarding column counts.
- Enhanced date range compatibility for time selectors in the Picker.
- Removed the
disableScroll
handling, allowing the foundation to manage it. - Refined receiver extraction capabilities for the latest Android features.
- Adjusted techniques for fetching user agent strings through J2V8.
- Enhanced compression formats for mini programs and base libraries for better efficiency, reducing their size.
- Excluded non-functional features in more menus when pages are still loading or errors occur.
- Cleared unnecessary whitespaces in server settings to prevent errors.
- Improved file storage logic within SDK configurations.
- Improved color adaptation strategies specifically for dark modes.
- Enhanced error messages in Bluetooth experience contexts for clarity.
- Provided clearer logic during redirect requests in
request
,downloadFile
, anduploadFile
processes.
2.42.3
Release Date: October 27, 2023
Update Content:
[New]
- Added the delegate methods for closing buttons in capsules to decide if the mini program should be closed.
- New error codes introduced for failure to download mini programs and base libraries.
- Enhanced
showActionSheet
to supportalertText
. - Introduced long-press support for saving images in the web-view components.
[Optimization]
- Improved extraction, verification logic in base libraries to prevent issues when exiting applications midway through decompression.
- Enhanced timing for triggering the "onInitCompletion" event when initializing (after serviceReady) to avoid early messages sent to base libraries.
- Streamlined the number of invoke calls injected into WebView during initial setups.
- Improved the handling of Activity objects post-unexpected closures.
- Deprecated proxy methods in local mini programs for
getAccountInfoSync
(these will no longer trigger as events internally). - Updated lifecycle parameter checks in
IAppletLifecycleObserver
to ensureappId
is a non-null type. - Enhanced logic for determining if X5 kernel has successfully loaded.
- Improved the timing of validation checks for SDK configuration information to prevent any disruption to mini program openings.
- Optimized the loading process of mini games, mitigating abnormal loading displays.
[Bug Fixes]
- Resolved issues that emerged when
projectType
was not correctly assigned, resulting in errors when loading offline H5 experience or mini games. - Improved loading mechanisms for mini games.
- Corrected dynamic updates to the disabled state within input and textarea components that were previously ineffective.
- Fixed inconsistencies with input and textarea component visibility under varying contexts.
- Resolved issues where focus changes did not initiate expected responses.
2.42.1
Release Date: October 13, 2023
Update Content:
[New]
- Introduced support for compressed image handling via the
compressedWidth
andcompressedHeight
parameters. - Updated the implementation method for custom Scope authority APIs.
- Enabled support for the
disableScroll
configuration.
[Optimization]
- Enhanced debugging functionality during remote debugging to reduce error probabilities.
- Refined loading mechanisms for mini games, preventing rare distortions in landscape orientations.
- Adjusted the navigation bar to conceal when opening images from articles on public accounts in web views.
- Improved logging for pre-loaded actions in mini game downloads.
- Fixed the mechanisms replacing terminology for "Mini-Program" and "小程序" within fixed texts.
- Optimized the layout and display of More menu options under landscape settings.
- Improved the implementation for switching languages dynamically.
- Enhanced textual representation for the camera capture page.
- Improved clarity in camera-related error messages.
- Removed unnecessary entries from the FileProvider resource files to improve efficiency.
- Adjusted the color and visibility logic during loading states of H5 interfaces.
- Updated the More menu setup to be interactive only with the currently displayed Tab page, as opposed to all Tab pages.
- Refined the timing for mini game loading triggers to minimize abnormal display issues caused by screen rotations.
[Bug Fixes]
- Resolved asynchronous SDK initialization errors.
- Fixed potential mismatches when fetching window height in non-Tab mini programs at the
onLaunch
stage. - Corrected issues where
showLoading
andshowToast
would be hidden shortly after showing. - Fixed crash occurrences when setting
borderStyle
for top tab bars. - Resolved issues leading to unintentional pull-down refreshes after calling
startPullDownRefresh
and immediately callingstopPullDownRefresh
. - Corrected
scope
permission-related failures when invoking APIs likechooseLocation
. - Fixed incompatibilities in remote debugging potentially absent in certain modules while using X5.
- Fixed intermittent content blanks during remote debugging in Console, Elements, and Network panels.
- Addressed failures encountered in remote diagnostics when network connections utilized proxies.
- Fixed crashes resulting from quickly stopping video recordings post-starts.
- Enhanced notifications for mini game sections to clarify missing messages.
- Fixed issues with the H5 loading within mini programs caused by escaped links yielding blank pages.
- Resolved crashes encountered while modifying
Scope
permissions from the authorization management page without opening the mini program. - Adjusted crash behaviors during quick toggles of
stopRecord
on the camera component. - Fixed inaccuracies when injecting multiple instances of the camera component.
- Fixed potential crash occurrences in extensive MORE_MENU_NORMAL types.
- Corrected the consistent execution of
navigateBack
failing callback issues regarding delta values. - Fixed paste behaviors inherent to the
textarea
component where sporadic pastes could result in the lost contents upon relocation. - Addressed issues stemming from gesture returns leading to inactive previous pages.
- Resolved problems where transitioning between appId variants presented notification hurdles from previous mini programs.
- Fixed issues related to query accessibility post Tab page changes.
- Addressed unused calls leading to misplaced routing events during early scene operations.
- Resolved no responses from Bluetooth SDK connected devices.
- Fixed errors caused by repeating calls to
readBLECharacteristicValue
. - Resolved crashes concerning any Bluetooth inquiries that concurrently surfaced on Android 6.x and earlier.
- Temporary fixed discrepancies with peripheral streams occasionally falling under inaccuracies.
2.41.13
Release Date: September 23, 2023
Update Content:
[New]
- Added province, city, and district level setting support for Picker selectors.
- Introduced
FileSystemManager.stat
support for package internal paths. - Set methods for the MapSDK to utilize specific map types.
- Allowed
homeButton
configurations within mini program pages. - Enabled layer rendering for input and textarea components.
- Added a new
qrCode
property forFinAppInfo
when opened using a QR code.
[Optimization]
- Improved frame width and height handling for landscape and portrait orientations in Camera frame callbacks.
- Optimized permissions handling connected to WeChatSDK broadcasts.
- Fine-tuned
showLoading
andshowToast
styles, along with loading animations. - Enhanced the "refresh preview" function when connecting mini programs to IDE, preventing background refresh while switched off.
- Refined the error handling within camera component scenes, including clarity in error messages.
- Improved fault tolerance for camera direction handling consistency.
- Refined error logs where routing addresses do not exist.
- Clarified visibility management logic for the home button, eliminating flickering issues.
- Fixed a lack of internationalization in certain texts.
- Improved rendering speed for the front page of mini programs.
- Enhanced the specificity around Bluetooth-related API error handling.
- Optimized recorder callback handling across multiple contexts.
2.41.11
Release Date: September 8, 2023
Update Content:
Core SDK:
[New]
- Introduced
enableWebViewDownloadFile
in SDK initialization configurations to allow file download support in web-view components. - Implemented the
AppletDebugMode
to include a Forbidden Release mode prohibiting vConsole in release versions. - Enabled support for automatic previews in IDE.
- Added remote debugging capabilities for j2v8.
- Implemented single-process multi-task stack mode for mini program launching.
- Added request configurations such as
hideMiniProgramMoreButton
to manage visibility of capsule menus. - Improved logo image configurations for mini program showcases in the more options menu.
- Added request configurations for
appAvatar
andappTitle
to customize mini program launch branding details. - Enabled hot-launching features for non-release versions.
[Bug Fixes]
- Fixed sporadic
window undefined
occurrences when using j2v8. - Resolved crashes encountered when clicking the blocking confirmation button initiated by uninitialized appService errors.
- Fixed support for local file loading in mini games.
- Addressed issues setting hidden navigation bars in mini games and offline H5 launch parameters.
- Corrected inconsistencies in CPU type returns in
getDeviceInfo
to maintain consistency with WeChat. - Fixed crash issues tied to invalid height and width for off-screen rendering setups.
- Resolved issues with flashlight settings not taking effect when recording in the camera component.
- Fixed errors occurring during the preview restoration in camera operations.
- Addressed restoring preview spans across multiple camera component pages, preventing failures when exiting.
- Resolved zero or null frame-size defaults interfering with callback data dimensions.
- Fixed local interface-type request errors caused by license checks leading to failed mini program openings.
[Optimization]
- Enhanced default selections on location permissions, with defaults selecting the second option (for mini program usage and after exiting).
- Improved lifecycle event mechanics for mini programs.
- Enhanced scoped permissions and local data storage management strategies.
- Refined fault tolerance for camera component abnormal input handling.
- Solved sluggish transitions observed in some device configurations when transitioning camera interfaces.
- Enhanced distinction in error messaging surrounding license domain verification failures when SDK information requests fail.
- Improved logo display speeds during initial openings when cached mini programs are accessed.
- Optimized the logic guiding deletion related to mini program package handling.
- Alleviated sluggish occurrences during departures from camera pages.
ClipBoardSDK:
[Optimization]
- Improved prompts within
setClipboardData
feature in clipboard SDK for clearer internationalization.
2.41.9
Release Date: August 25, 2023
Update Content:
[New]
- Added support for the
disabled
property in input and textarea components. - Included API events related to device orientation monitoring.
[Bug Fixes]
- Corrected issues that arose when setting
entryPagePath
leading to incorrect paths inonLaunch
andonShow
. - Fixed issues preventing checking for updates during hot-launches when opening without cache in release versions.
- Resolved mismatches of custom keyboard types in input components.
Issues Fixed
- Fixed the playback issue for the legal format.
- Fixed the issue where the width and height parameters of the onVideoObjectfit event were incorrect after switching the video component to full screen/half screen.
- Fixed the BufferQueue has been abandoned error that occurred on some models when the video component surface was destroyed, leading to the inability for the player to continue playback after re-associating with a new surface.
- Fixed the issue with incorrect coordinates for touch events after focusing on the input component and clicking the page.
- Fixed the issue where disableScroll was ineffective.
- Fixed the issue where the flashlight property did not take effect after the camera was hidden and then displayed again.
- Fixed the issue where selecting files through the input tag when loading H5 in the Mini Program would not pop up the bottom menu, but instead directly enter the camera shooting page.
- Fixed the issue where the Mini Program background color was light when the system theme was set to dark on Mini Programs configured with darkMode in app.json.
- Fixed the abnormal popup of error prompts regarding the limit on the number of apps in the app store.
- Fixed the issue where the custom_event_gameConfigUpdate event became ineffective, causing the mini game status bar configuration to fail.
- Fixed the issue where the WebView page did not adapt to dark mode.
- Fixed the issue where the cover-view could not be scrolled while scrolling the page at the same time.
- Fixed the issue where the offline Mini Program appRuntimeDomain setting was invalid.
- Fixed the issue where setting single-process startup mode did not take effect when opening the experience version of the Mini Program.
- Fixed the crash issue with WebResourceResponse.
- Fixed the issue where whitespace would be filtered out when inputting a bank card number with the input component where inputType was set to number.
- Fixed the problem where parameters were not fully passed when jumping between offline Mini Programs.
- Fixed stuttering caused by adding Referer to WebView resource requests when loading a large number of resources.
- Fixed the crash issue caused by clicking the "Re-enter Mini Program" option in the MORE_MENU_NORMAL type more menu.
- Fixed the sporadic issue of a white screen during the full package loading.
- Fixed the issue of not filtering the key with an empty string value in the startup parameters.
- Fixed the issue where the mini game hot start caused the status bar configuration to become ineffective.
Optimizations
- Optimized the synchronization of the flashlight behavior in the camera when the hidden attribute value changes, now matching WeChat.
- Optimized logging to provide detailed reasons for unavailability when taking photos and recording videos with the camera when hidden.
- Optimized the logic for opening the settings interface.
- Optimized the parent view of the central play button in the video component to have a semi-transparent background color, preventing the central play button from being invisible when the video background color is white.
- Optimized the timing for event reporting of applet_show.
- Optimized the color of the mini game capsule button and the status bar.
- Optimized unnecessary permissions for READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE when opening the file picker in WebView.
- Optimized scanCode to support scanType.
- Removed the zxing android-core library.
- Optimized the pre-downloading of sub-packages based on the entryPagePath in the new Mini Program details during Mini Program update checks.
- Optimized the preview interface to display the current preview index and total count when previewing images or videos via previewImage, previewVideo, and previewMedia.
- Improved the logic and text for the privacy protocol authorization popup.
- Optimized the MORE_MENU_NORMAL type of more menu to be a fixed light mode.
- Refined websocket abnormal error messages.
Extension SDK
New Features
- Added support for X5 adaptation.
MapSDK
New Features
- Added logic support for the hidden property.
Optimizations
- Optimized to remove Bluetooth scanning permission declarations.
BluetoothSDK
Issues Fixed
- Fixed the issue where the advertisingData length was inconsistent with WeChat after discovering Bluetooth devices.
LiveSDK
New Features
- Added logic support for the hidden property.
Issues Fixed
- Fixed security vulnerabilities in so file.
MediaSDK
Issues Fixed
- Fixed security vulnerabilities in so file.
XLogSDK
Issues Fixed
- Fixed security vulnerabilities in so file.
ShareSDK
Optimizations
- Optimized the screenshot method to support Mini Program sharing.
2.40.13
Update date: June 17, 2023
Update Contents:
New Features
- Added support for pre-downloading the foundational library.
- Added support for the host App to write logs to vConsole.
- Added a removeAllCookies method to clear all cookies.
- Added support for CalendarSDK.
- Added APIs related to gyroscope.
- Added support to send SMS and emails via sms and mailto URL schemes.
Issues Fixed
- Fixed the issue where the camera could not save photos taken through the system camera on Android 6.0 devices, replacing it with the built-in SDK camera.
- Fixed the crash issue when selecting photos from H5 on Android 5.0 devices.
- Fixed the issue where getSystemInfo returned statusBarHeight as 0 when in horizontal screen mode.
- Fixed the issue where Picture-in-Picture was not turned off when switching tabs.
- Fixed the problem where the header with an empty string value in network requests was filtered out.
- Fixed the issue where the title in the navigation bar was fixed to the default value rather than the webpage title when loading a webpage.
- Fixed the issue with errors when previewMedia displayed part of the video.
- Fixed the error for special scenarios that caused FinWebView to report errors.
- Fixed the error when starting the foreground service.
- Fixed the crash issue when saving images in a webview in special scenarios.
- Fixed the error display for errorCode=-1.
- Fixed the abnormal display position for authorization popups, pickers, and desktop shortcut prompts in landscape mode on some devices.
- Fixed the issue where removing the camera component failed.
- Fixed the crash issue occurring while invoking the camera with scanCode and the camera closed.
Optimizations
- Optimized the switch camera icon in the built-in camera.
- Optimized the cold startup delay caused by initPackages.
- Optimized domain management configuration to support wildcards.
- Optimized vConsole debug configuration for local persistence.
- Improved logic for removeAllCookies.
2.40.11
Update date: June 2, 2023
Update Contents:
New Features
- Added interfaces related to Mini Program system information.
- Added the ability to select images from the album when using scanCode.
- Added support for custom sharing links in ShareSDK.
- Added support for customizing APK download URLs in ShareSDK.
- Added support for customizing the content of scope permission popups.
Issues Fixed
- Fixed the issue where the "Complete" button did not disappear when focusing on the textarea component and executing the page jump back to the original page.
- Fixed the issue where the cover-view could not be scrolled while scrolling the page up.
- Fixed the issue where wx.getSuperviseInfo would bring the background Mini Program activity back to the foreground.
- Fixed the issue where the error message lacked the word 'cancel' when chooseXXX was canceled.
- Removed the unnecessary runtime permission application when requesting to take a photo in H5 to avoid permission compatibility issues in some Android 13 devices.
- Fixed the abnormal behavior of the expand button when the detailed description, version description, and label length of the Mini Program's About page were too long during landscape/portrait switching.
- Fixed the issue related to opening the Mini Program from WeChat after sharing it causing an error.
- Fixed several English spelling issues for internationalization.
Optimizations
- Optimized the QR code scanning function to increase the ability to recognize inverse color QR codes.
- Batch update Mini Program interfaces optimized.
- The request API aligns with WeChat’s mandatory use of UTF-8 character set to parse text data.
- If there is cached Mini Program information locally but not in the foundational library, the foundational library will be downloaded first before loading the Mini Program.
- Improved the error message for unassociated Mini Program ID.
- Optimized the logging output judgment logic so that the logging proxy class is affected by DebugMode and log level configurations.
2.40.9
Update date: May 19, 2023
Update Contents:
New Features
- Added a convenient method to get SDK version number.
- Added a proxy class for the asynchronous callback of getUserInfo.
- Added a proxy class for getUserProfile.
- Added support for setting version description during the startup of offline Mini Programs.
- Opened up ToastView.
Issues Fixed
- Fixed the issue of being prompted with no development permission when opening an audit version of the Mini Program without audit permissions.
- Fixed the issue where the page displayed an error message directly when the foundational library download failed.
- Fixed the need to return twice to close the page for unregistered error pages.
- Fixed incorrect URLs for data reporting events.
- Fixed the issue where setting the request header content-type would default to adding a character set.
- Fixed the issue where chooseVideo and chooseMedia had no cancel action when clicked outside.
- Fixed the issue where selecting GIF images after chooseImage and chooseMedia only displayed static images.
- Fixed potential failures in selecting images with chooseImage and chooseMedia.
- Fixed the issue where clicking the screen while previewing GIF images would not exit the preview.
- Fixed the issue where the Video component's controls would automatically display when exiting full screen.
- Fixed the issue where clearApplets did not clear the cache for all user IDs for Mini Programs.
- Fixed the issue where clearApplets became ineffective for certain Mini Programs in specific environments.
- Fixed the abnormal display of the homepage button's visibility state for H5 pages of Mini Programs.
Optimizations
- Optimized the messaging for unregistered domain and blacklisted domain prompts.
- Optimized the timing of when the Mini Program collect state interface was invoked, so that calls no longer occur when the collect button is hidden.
- Optimized fixed Referer added to some requests.
- Optimized the spacing between menu items in the more menu.
2.40.7
Update date: May 7, 2023
Update Contents:
Core SDK
New Features
- Supported dynamically setting userId.
- Supported Mini Program disableScroll configuration option.
- Added the setPageOrientation custom API to control screen orientation and capsule button visibility.
Issues Fixed
- Fixed the issue where the placeholder of the dynamic input component did not change when focused.
- Fixed the issue with the share button in the more menu's English adaptation.
- Fixed the local asset Mini Program startup exception issue.
- Fixed the issue where certain models could not jump to specified pages during hot starts.
Optimizations
- Adapted the bottom navigation bar display effect in tablet mode.
- Optimized the auto-pause-if-open-native effect of the video component, now in sync with WeChat.
- Optimized show/hide behavior of video controls, synchronized during transitions between full-screen and non-full-screen modes.
- Improved the text length display effect when the showModal button is pressed.
- Enhanced the appearance of the Mini Program permission popup.
- Optimized the cache-clearing API for Mini Programs, supporting the deletion of non-official version caches.
- Enhanced the interface for getting the absolute file path, now supporting files from the usr path.
WeChatSDK
New Features
- Added navigateToWechatMiniProgram API to support invoking WeChat Mini Programs.
SDKCore
Issues Fixed
- Fixed sporadic decryption crashes for some SDK Keys.
2.40.5
Update date: April 24, 2023
Update Contents:
Core SDK
New Features
- Added support for customizing Mini Program About pages.
Optimizations
- Optimized the triggering timing of onShow for Mini Programs.
- When the server returns an empty MD5 for the foundational library, only check if the version number matches the server.
- Aligned the bottom navigation bar color with WeChat in tablet mode.
- Transferred the cancel callback of custom APIs to the fail callback. Marked the cancel callback as deprecated.
- Supported configuring the title and icon for the forward button.
- Improved the logging system.
- Enhanced the validation logic for License configuration when starting the Mini Program.
- Optimized router event processing logic when sub-packages fail to load.
- Fixed the issue where the Mini Program failed to load additionally when the page was shown again after a failed load.
- Improved getting the FinAppInfo object during runtime to include app.json content.
- Enhanced gesture displays for different bottom navigation bar modes in tablet mode.
Issues Fixed
- Fixed the issue where an invalid file extension in chooseFile appeared.
- Fixed the incorrect duration unit in chooseVideo.
- Fixed that showNavigationBarLoading in tab pages did not work for individual tabs.
- Added compatibility processing for extreme cases where finAppConfig might be null.
- Fixed the issue where navigateToMiniProgram's referrerInfo was of the incorrect type.
- Fixed the common case where bulk downloading Mini Programs would fail due to excessive data.
- Fixed the issue where some network files would fail to download due to regular checks failing the URL.
- Fixed the issue of unmasked input when setting password and type="number" or "digit" in the input component, only masking after the focus was canceled.
- Fixed the issue of losing query parameters in the forwarding proxy method.
- Fixed the error in generating the available date range when the starting and ending years were the same in the date picker.
- Fixed the issue of referrerInfo not updating in time.
Extension SDK
Issues Fixed
- Fixed the handling logic for RecordManager regarding the last frame of callbacks.
ShareSDK
Issues Fixed
- Fixed possible exceptions caused by image loading failures during sharing the Mini Program.
2.40.3
Update date: April 8, 2023
Update Contents:
Core SDK
New Features
- Added a proxy class for frontloading permission requests.
- Added a proxy class for permissions request result callbacks.
- Added a proxy class for custom titles in privacy authorization popups.
- Added a proxy class for customized Mini Program settings pages.
- Added methods to get a list of Mini Program permissions and to modify the Mini Program permissions status.
- Added server extension information in the Mini Program details object.
Issues Fixed
- Fixed incorrect error message information displayed for some experience version Mini Program pages.
- Fixed exceptions caused by returning empty data for FinCallback in startApplet interface.
- Fixed crashes caused by frequently creating and destroying video components using released surfaces.
- Fixed issues where touch events were not correctly propagated in cover-view and cover-image components.
- Fixed layout issues where text adjustment was triggered during text input for textarea components.
- Fixed the issue where keyboard-up detected gestures failed to trigger when there were input boxes and lists on the page.
- Fixed crashes caused by multiple hosts pointing to the same Mini Program.
- Fixed missing response for screenshot monitoring events.
Optimizations
- Optimized error handling for chooseFile regarding count and extension parameters.
- Optimized the English adaptation for the share button in the MORE_MENU_NORMAL type.
MapSDK
Issues Fixed
- Fixed the issue where not configuring the high德地图定位service in the Manifest for the app integration could lead to click chooseLocation showing an empty map.
MediaSDK
Issues Fixed
- Fixed crashes caused by rapidly creating and destroying video components leading to using released surfaces.
2.40.1
Update date: March 25, 2023
Update Contents:
Core SDK
New Features
- Added support for multi-language configuration.
- Added support for custom dark images in custom menus.
- Added support for setting Mini Program types during the startup of offline Mini Programs.
- Added your configuration for showing or hiding the debug button in the more menu.
- Introduced remote debugging for offline Mini Programs using the setDebugInfo method.
- Enhanced the English internationalization related to remote debugging error prompts.
- Displayed Mini Program version identifiers in the more menu panel.
- Introduced a proxy class to allow the host app to receive app.json from the Mini Program.
- Added buttons for "Add to Desktop" and "Collect" in the more menu as well as their visibility configuration, defaulting to hidden.
- Added a callback interface after successfully opening a Mini Program process.
- Added authorization popups for scanCode.
Issues Fixed
- Fixed the issue with the cover-view component updating position through animateCoverView incorrectly.
- Fixed the incorrect positioning of the cover-view component when embedded in a video component in full-screen mode.
- Fixed the incorrect positioning of the starting location of the cover-view component when nested with the camera component.
- Fixed the display issue for cover-view components when the Mini Program page was scrollable.
- Fixed the issue where the Network module was invalid when remote debugging for legacy single-process mode.
- Fixed the handling of Mini Program identifiers on scope management pages and popups.
- Fixed compatibility issues in the constructors of MoreMenuItem for older SDK versions.
- Fixed the issue of the auto-pause-if-navigate attribute in video components in the routing queue not taking effect.
- Fixed the issue where onPageNotFound event did not trigger.
- Fixed the issue of the cover-image click event not responding when cover-view was nested within it.
- Fixed the issue where the hideKeyboard call could not dismiss the custom keyboard.
- Fixed the scrolling issue where the cover-view component could not scroll.
- Fixed potential crashes when closing the preview page by tapping the close button quickly.
- Fixed the issue where delayed loading caused video components to fail to auto-rotate.
- Fixed startup issues with Picture-in-Picture.
Optimizations
- Optimized the language adaptation for the Mini Program authorization management and settings pages.
- Optimized the exitMiniProgram interface to completely close the Mini Program.
- Synchronized the play button's behavior and rules in Video with WeChat's.
- Adapted public UI features for compatibility with different orientations.
- Enhanced the timing of initialization for video components to avoid premature collection of sensor data.
Extension SDK
Issues Fixed
- Fixed issues regarding single-channel recording for AAC format audio in RecordManager.
- Fixed callback issues for AAC format audio in RecordManager.
- Fixed double-channel recording issues for MP3 format audio in RecordManager.
- Fixed frame callback issues for MP3 format audio in RecordManager.
MapSDK
New Features
- Supported the displayWithCallout attribute for maps.
- Introduced Google Maps that hide its displayed bubble when clicking on markers.
Issues Fixed
- Fixed the invalid cluster for Google Maps markers.
- Fixed the occasional crash after the Google Maps initialization.
- Fixed the issue with removing markers in Google Maps that caused crashes when the infoWindow was displayed.
- Fixed the scaling issue on Baidu Maps where the regionChange scale value was off by 1.
- Fixed the issue with Baidu Maps where markers were not removed in the correct instance when using MapContext.removeMarkers.
Optimizations
- Enhanced compatibility with public UI layout for both orientations.
ShareSDK
Optimizations
- Included short link services in sharing URLs.
2.39.11
Update date: March 10, 2023
Update Contents:
Core SDK
New Features
- Added the chooseFile interface for Mini Programs.
- Included a share button in the more panel.
- Added a configuration item in UIConfig to control the visibility of the share button.
Issues Fixed
- Fixed crashing when the input component had length restrictions while focused.
- Fixed errors due to the lack of agent when the offline Mini Program was not set up properly.
- Fixed the controller being hidden immediately when switching between full-screen and non-full-screen in the video component.
Optimizations
- Optimized the navigateBarTextStyle to still modify status bar text color even when the navigation bar is set to custom.
- Optimized the transition effects for the homepage button's visibility in the navigation bar.
- Refined the method of acquiring unique device identifiers to prevent redundant acquisitions.
- Enhanced scaling handling for multi-column selectors when display space is insufficient.
- Improved error codes and prompts for offline sub-packages.
WeChatSDK
Optimizations
- Removed the automatic generation of WXEntryActivity; methods are now called from the host app to receive WeChat callbacks.
MediaSDK
Issues Fixed
- Resolved crashing issues in ijkplayer on Android 11.
ShareSDK
New Features
- Added ShareSDK support for sharing Mini Programs to WeChat friends and WeChat Moments.
2.39.9
Update date: February 24, 2023
Update Contents:
New Features
- Animation parameter support for displaying and hiding tabBar.
Issues Fixed
- Fixed the issue where changing the Mini Program identifier on some pages was ineffective.
- Resolved crashes when previewMedia was called with empty parameters.
- Fixed backward compatibility issues with scope.
- Fixed crashes caused by the wx:if control for video components when hiding and showing.
- Fixed issues where the textarea component's complete button bar did not hide when the keyboard was dismissed on certain devices.
- Corrected the issue with extra line breaks in automatically wrapping textarea inputs.
- Fixed the problem of onPageNotFound not triggering.
- Fixed crashes caused by setting custom_event_clearTimeout with "null".
- Resolved problems with parameter decoding in Mini Program routes.
- Fixed the issue where query parameters were not passable after restoring the Mini Program's foreground.
- Fixed the incorrect timing of trigger for wx.enableAlertBeforeUnload.
- Corrected the incorrect handling of page orientation settings in error cases.
- Fixed the incorrect positioning of textarea components in tab pages.
- Fixed issues where query parameters were inaccessible in Mini Program page routes.
- Fixed issues where Mini Program identifiers were incorrectly replaced under specific conditions.
Optimizations
- Enhanced the supported number of columns for multi-column selectors.
- Optimization of the compass and accelerometer startup timing.
- Compatibility for Mini Program startup parameters with paths including queries.
2.39.7
Update date: February 10, 2023
Update Contents:
Core SDK
Optimizations
- Enhanced full video playback upon smartphone rotation to horizontal after video playback, synchronizing with WeChat.
- Changed the identifier for the real-machine debugging Mini Program version to "Development Version".
- Merged and optimized the internal logic for SDK methods to start Mini Programs.
- Improved the photo/video/media selection options to no longer request scope permissions.
- Enhanced the title text for personal information authorization management pages.
- Centered the elements within the action sheet.
- Enhanced the UI with no content in the information authorization page.
- Fine-tuned the services used for pre-created processes to avoid automatic restarts.
- Improved the restart logic for toggling debugging mode, accommodating certain specific device types.
- Removed the verification of JS files when handling offline sub-packages.
Issues Fixed
- Fixed the problem with ijkPlayer playback freezing after invoking stop.
- Addressed issues in the routing queue where video pages failed to trigger auto-pause-if-navigate properly.
- Fixed the incorrect keyboard height returned for textarea components when show-confirm-bar was true.
- Improved handling of camera exceptions during cloud testing.
- Fixed the issue where map clicks became ineffective post re-entering the Mini Program.
- Fixed issues regarding the occurrence of temporary images referencing previously cached data inaccurately.
Extension SDK
Optimizations
- Enhanced the error codes for recording interfaces regarding different channels.
MediaSDK
Issues Fixed
- Fixed default maximum cache configurations for ijkPlayer affecting local playback for some smartphones.
2.39.5
Update date: January 19, 2023
Update Contents:
Issues Fixed
- Fixed crashes caused by Maps.
- Fixed visibility management issues for ActionSheet components during orientation changes.
- Resolved crashes occurring regarding single-process Mini Programs on automotive platforms.
- Corrected crashes involving launching other Mini Programs within single-process Mini Programs on automotive platforms.
- Fixed hanging on loading during failed main package load when offline sub-packages were loading.
- Resolved anomalies with MP3 audio recording.
Optimizations
- Enhanced the method for obtaining screenshots in the WebView for Mini Program processes to enable specified long or short images.
- Improved error codes for loading offline sub-packages.
- Enhanced error messages displayed during the loading of Mini Programs.
2.39.3
Update date: January 7, 2023
Update Contents:
Core SDK
Issues Fixed
- Fixed toast messages being obscured by a cover-view.
- Fixed visibility issues for picker components during orientation changes.
- Resolved cookie return issues from requests.
- Fixed jumping positions of coverview elements.
- Fixed the vConsole entry button showing up when returning to previous pages.
- Fixed filename encoding issues leading to corrupted extraction of multi-byte characters.
Optimizations
- Enhanced callback warnings when the storage API key is empty.
- Improved handling during application initialization.
- Improved configuration on response headers for finfile to avoid caching.
- Enhanced error handling for partial package loading.
- Improved compatibility for older configuration methods in vConsole.
- Enhanced divider colors for bottom TabBars.
- Cleared icon cache during setTabBarItem calls.
ExtSDK
Issues Fixed
- Improved configuration on audio channels for recording.
MapSDK
Issues Fixed
- Fixed crashes caused by removing maps in high德地图 for Android 7.x and below.
- Now compatible with null elements in the Mini Program arrays to prevent crashes.
2.39.1
Update date: December 24, 2022
Update Contents:
New Features
- Introduced FLog logs and performance statistics logs with a proxy interface supporting host app takeover.
- Added a forbidden configuration item for vConsole.
- Added support for the nativeBuffers field in the request API.
- Enhanced UI customization for authorization popups.
- Unified color transparency rules for Mini Program components and APIs.
- Added a new interface to allow developers to manually batch download Mini Programs.
- Introduced a single-process mode.
- Provided support for native picker components.
- Provided compatibility with J2V8.
- Provided support for canvasMethod.
- Enabled pip support for video components.
- New APIs for continuous location updates (startLocationUpdate, startLocationUpdateBackground).
Issues Fixed
- Fixed abnormal requests in the single-process mode.
- Addressed issues with setting Cookie priority over cache items.
- Fixed incorrect webviewId for onBindMessage events.
- Corrected filename spacing issues in downloadFile.
- Fixed redundant downloads of sub-packages after updating the Mini Program version.
- Resolved crashes on image uploads affecting return or selection actions.
- Improved successful image selections after previously choosing images.
- Fixed premature closures for external processes when finishRunningApplet was called.
- Addressed incorrect appType messages for offline Mini Programs.
- Fixed missing deviceName values in Bluetooth searches.
- Fixed the dynamic properties of Map API updates.
- Improved control over connectivity error codes.
Optimizations
- Removed domain error display titles for better usability.
- Removed the applaunch route event.
- Updated Gson version to cater to lower development team requirements.
- Enhanced methods to retrieve the status bar height.
- Optimized performance statistics recording.
- Improved webview adaptive design.
- Optimized tablet compatibility.
- Enhanced public UI with English language prompts.
- Improved the smoothing of map movement along paths.
- Improved the UI and logic of authorization popups.
2.38.11
Update date: December 9, 2022
Update Contents:
Issues Fixed
- Fixed问题 with MapSDKInitializer.CoordType being obfuscated.
- Fixed an issue with multiple instances of the same Mini Program running simultaneously.
- Fixed occasional crashes in the camera view.
- Corrected vConsole button to prevent it from overlapping with the tabbar in specific situations.
- Fixed application crashes upon returning from WeChat.
- Fixed masking bottom views with input box background colors incorrectly.
- Fixed userId retrieval issues in the main process.
- Fixed errors occurring from managing invalid app process closures.
Optimizations
- Enhanced granular control for pre-created process configurations.
- Integrated fault tolerance for log recording systems, silencing errors in loading shared objects.
- Allowed hiding of the close button in the runtime's top right corner on the startup of Mini Programs.
- Improved responses of the request API.
2.38.9
Update date: November 26, 2022
Update Contents:
New Features
- Request now supports the forceCellularNetwork parameter.
- getPhoneNumber now displays the related backend description.
- hideToast and hideLoading now support the noConflict parameter.
Optimizations
- Custom APIs now have callbacks adapted to child threads.
- Fixed sorting for permission lists in Mini Programs.
- Improved variable and method naming in custom Scheme lists.
- Enhanced showToast and showLoading UI design.
- Improved caching logic for Mini Program decryption.
- Adjusted formatting for getSystemInfo’s language return value.
- Refined the status bar display for modals.
Issues Fixed
- Fixed a crash happening when loading Mini Programs using the QR code while offline.
- Fixed the potential for multiple instances of the same Mini Program process.
- Corrected the white screen issue that occurred when executing onAppRoute before loading sub-packages.
- Fixed truncation issues for showToast and showLoading.
- Resolved the issue where higher version of high德地图 marker bubbles failed to display.
- Fixed incorrect naming for the contacts' permission fields.
2.38.7
Update date: November 12, 2022
New Features
- Added support for Tencent Maps.
- Enhanced MapSDK to configure privacy policies and secret keys.
Optimizations
- Adjusted vConsole button position to avoid covering the tabBar.
- Enhanced downloadFile to improve file suffix handling.
- Streamlined poi searches to minimize repeated requests.
Issues Fixed
- Fixed overlapping issues with the navigation navbar and homepage button.
- Fixed null pointer problems in appletProcessApiManager.
- Corrected the URL assembly for sub-package downloads.
- Fixed issues arising from empty uiconfig configurations.
- Fixed issues with Video components’ styles during fullscreen/non-fullscreen transitions.
- Resolved incorrect horizontal screen detection when the phone is placed horizontally.
2.38.5
Update date: October 28, 2022
Core SDK
New Features
- Enhanced token generation and restoration interfaces.
- Added timeout parameter for Request interface, aligning error messages with WeChat.
- Introduced configuration items for navigation bar title and back button colors.
Issues Fixed
- Resolved issues around color resource compatibility crashes.
- Fixed Mini Program’s looping restart issues.
- Corrected cover-view non-visibility issues on some devices.
- Fixed Video control inconsistencies in fullscreen mode.
- Fixed sync issues regarding fullscreen and non-fullscreen transitions of Video components.
- Resolved issues related to opacity in background Mini Program tasks.
- Fixed issues regarding finishRunningApplet and erroneous main process closures.
- Corrected Video component’s behavior when aligned with screen orientation changes.
Optimizations
- Enhanced pre-creation process logic.
- Streamlined error messaging when domain recognition fails for uploads and downloads.
- Improved error feedback for WebSocket timeouts.
- Enhanced support identifiers on loading screens.
- Improved request procedural flow for GetPhoneNumber and GetUserInfo permissions.
- Improved permissions for GetUserProfile.
- Re-aligned text-area agreement controls with frontend logic for input truncation.
- Adjusted Video behavior after completion of playback to return to the initial position.
- Refined Video component behavior related to showing posters or final frames.
- Expanded target clickable area for play, pause, and fullscreen return controls on Video components.
- Enhanced design of more menu UI elements.
- Fine-tuned the immersive status bar visibility.
- Optimized Mini Program startup styles.
- Improved real machine debugging window functionality, minimizing display bugs.
2.38.3
Update date: October 16, 2022
Core SDK
New Features
- Extended getSystemInfo to include appVersion.
Issues Fixed
- Fixed issues with adjacent input fields being obscured by keyboards.
- Fixed the allowance for only one decimal point in number input from the numeric keyboard.
- Corrected potential black screens from full screen switches during paused states.
- Fixed changes in handle view directly influenced by progress dragging in pauses.
- Resolved incorrect styles assigned to cover-view elements.
- Corrected default status bar text styling for navigation bars.
- Addressed exception handling for failed AIDL calls.
- Fixed the lack of redirections when accessing phone number retrieval, payment, or logins without switch prompts.
Optimizations
- Enhanced compatibility with the x5 core.
MapSDK
New Features
- Baidu Maps now supports configurable coordinate systems.
Issues Fixed
- Fixed marker icon update problems for Baidu Maps during repeated settings.
Optimizations
- Enhanced rendering and mapping for baidu Maps.
2.38.1
Update date: September 23, 2022
Core SDK
New Features
- Introduced support for service branding identifiers during loading.
- Added configurations to set global and Mini Program custom Scheme arrays at startup.
- Introduced dynamic methods for setting background text styles.
- Enhanced page-meta to support page-orientation attributes.
- Allowed customizable settings to hide the capsule close button during running Mini Program.
- Expanded camera component with setZoom API features.
- Added video compression for chooseVideo and chooseMedia.
- Enhanced chooseVideo, chooseMedia, and chooseImage to include custom camera interfaces.
- Incorporated configuration support for JsSDK.
- Updated support to exchange Finogeeks and related product identifiers.
- Added improvements for event processing through routing queues.
- Enhanced Mini Program privacy control and management capabilities.
- Incorporated additional support for compass and accelerators.
- Introduced function enabling custom H5 cookie methods.
- Enhanced WebView settings for verifying certificate information.
- Expanded location data retrieval to include horizontalAccuracy.
- Enhanced ID card and number-specific keyboards.
- Added features to support edge-play for video components.
- Introduced licensing constraints for device numbers.
- Added functionality for video streaming.
Issues Fixed
- Corrected discrepancies with the autoplay feature in the InnerAudioContext.
- Resolved crashes stemming from enhanced background audio management on Android devices.
- Addressed irregular positioning issues when maximizing textarea height under autoHeight conditions.
- Corrected bindkeyboardheightchange events being triggered solely upon focusing input/textarea.
- Rectified discrepancies in query retrieval when utilizing the same scheme to open Mini Program.
- Fixed application error prompts for low memory conditions when horizontal entry was first approached.
- Resolved timing issues leading to invalid responses upon prompt activations.
- Addressed issues around improperly handled urgent requests.
Optimizations
- Improved interfaces for public text handling to obscure font scaling conditions.
- Streamlined UI adaptability for refresh-triggered articles.
- Optimized performance for getSystemInfo API.
- Enhanced control over device width and height for future adaptability.
- Improved thread handling for high-pressure video editing sessions.
Extension SDK
Issues Fixed
- Addressed recording issues concerning single-channel AAC formatting.
- Resolved frame callback inconsistencies within AAC recording models.
- Fixed dark copies in audio quality measures when laid against background patterns.
MapSDK
New Features
- Supported displayWithCallout for display affects tied to maps.
- Improved Google Maps' bubble handling on marker selections.
Issues Fixed
- Resolved clustering issues in marker displays for Google Maps.
- Corrected potential crashes post-display initialization for Google Maps.
- Ensured smooth icon withdrawals from infoWindow instances when markers were toggled.
- Addressed scaling errors in Baidu Maps regarding region changes.
- Resolved marker removal errors on Baidu Maps that previously led to crashes.
Optimizations
- Enhanced UI relevance for common vulnerabilities.
2.37.13
Update date: September 9, 2022
New Features
- Added support for IAppletOpenTypeHandler supporting open-type event delegation handling separately from IAppetHandler.
Issues Fixed
- Resolved brightness issues post-page exit for video components.
- Fixed crashes occurring from video components under targetSDK 31 or higher.
- Fixed issues affecting directory retrieval for Mini Programs.
- Adjusted chooseImage, chooseVideo, and chooseMedia selections for cancellation events.
- Resolved closure issues when invoking close code.
Optimizations
- Improved cross-process communications for the WeChat extension SDK.
- Streamlined behaviors of background video gameplay.
2.37.9
Update date: August 12, 2022
New Features
- Added support for deletion key handling in Input and TextArea components.
- Updated getSystemInfo for device orientation and enableDebug.
- Optimized API calls for custom menu status checking.
- Now supports single or multitasking stack opening for Mini Programs.
Issues Fixed
- Addressed issues for video residual markings when toggling fullscreen.
- Fixed errors caused by missing uiConfig settings.
- Fixed compatibility issues for onUserCaptureScreen in special device cases.
- Resolved incompatibility issues with lower versions of APIs.
- Corrected issues affecting current location visibility from Baidu Maps.
- Fixed irregular scaling scope and styles from Baidu maps.
- Resolved upload issues for visuals in the video component without permissions.
- Addressed fullscreen toggling rotation issues for videos when the screen switches rotation orientations.
Optimizations
- Improved loading initiation subtasks for Mini Programs.
- Enhanced setting for input components for custom events.
- Removed unnecessary loading placeholders from processes.
- Improved timing for loading statistics.
- Improved returned values from QR codes used within scans.
2.37.3
Updated: 16 July 2022 [New].
- support for the combined display of mini programs and host APPs in the list of recent tasks. [Restoration].
- fixing the problem of incorrect invoke types in the XLog record AppService.
- fixing a crash when releasing a canvas for off-screen rendering.
- fixing the failure in cases where the actual data size of base64ToTempFilePath does not match the size specified in the json.
- fixing selection-end to pass null as text length.
- fixing an issue with incorrect height fetching in the bindfocus event of input/textarea. [Optimisation].
- add mime-type checks for local files by the video component.
- remove the toast alert for video playback errors.
- optimizing the KeyboardHeightProvider to deal with the misalignment of states caused by switching between horizontal and vertical screens.
- turn landscape to ignore the holdKeyboard property and turn off the keyboard directly.
- adjusting the logic related to the enableDebug configuration item. [Contact].
- the value of the addPhoneContact firstName field is not allowed to be "".
- click on create contact when addPhoneContact is not filled with firstName, the callback fails directly and no longer pops up first.
- addPhoneContact supports the photoFilePath property.
- fix a crash when the addPhoneContact avatar file does not exist. [Bluetooth].
- add a createBLEConnection timeout check.
- the addition of some error code refinements.
- adding a default maximum timeout duration.
- getBLEDeviceCharacteristics adds the type of attribute.
- startAdvertising supports repeat broadcasts.
- the Bluetooth low-power peripheral API is no longer checked for initialization when it is called.
2.37.1
Updated on: 2 July 2022 [New
- add contactsdk, support contact api
- getAccountInfoSync interface support
- Open mini program interface supports success and failure callbacks
- Remote debugging function support
- webview supports trimming long images
- New background audio function
- new screenshot recording control configuration
- New watermark configuration
- Support for individual settings of some configuration items for mini programs
- support for custom request header
- offline mini programs support navigateToMiniprogram interface
- Offline mini program hosting to implement separate loading and version update logic for sub-packages
- New logging system
- new MapMarker customCallout support
- New offline mini program extension API whitelisting mechanism
- new temp directory segregated by user-id
- new chooseMedia interface
- add support for setVisualEffectOnCapture
- the navigation bar back to the home button to add priority configuration, support for individual mini program independent configuration
- Adding SoundNet SDK registration [Optimisation].
- navigateToMiniprogram and navigateBack parameters and return result optimization
- Optimize the way you get the height of the keyboard-accessory
- optimizing the FileSystemManager-related interface for file access restrictions
- The status bar of the mini program loading page is adjusted to white
- appLaunch and relaunch optimized jump and callback logic
- add support for the startRecord stopRecord interface
- mini program loading page status bar adapted to dark mode
- subcontracted mini program version update when the mini program information update timing aligned ios side [Restoration].
- Fix the problem of pop-up windows even after the webview is hidden
- fix camera compatibility issues and permission issues for low version models
- Fix incorrect Tab status on some low version Android systems
- fix the problem that the return value of getScreenBrightness is greater than 1 for Xiaomi models
- Fix the KeyboardHeight listening problem in some models
- fix the problem that native-view does not display properly when it is out of the screen range
- fix the problem of selecting multiple tabs in the tabbar when they correspond to the same page
- fix the problem that query is not passed to the page when the start parameter path is empty
2.36.11
Updated on: 18 June 2022 [New
- support for setting the minimum supported version of the Android SDK.
- support playVoice, pauseVoice, stopVoice API. [Restoration].
- fixing cover-view support for text-overflow:ellipsis.
- fixing the FinRequestManager thread safety issue.
- fixing the problem with the mini program's time-consuming statistics events.
- fixing the downloadfile file suffix and type recognition problem.
- fixing the openDocument error reporting problem.
- fixing the flashback problem with the launch of mini programs.
- fixing an exception caused by FinHTMLWebLayout returning immediately when a jsAlert is about to pop up but has not yet done so.
- fixing the problem of webView not responding to click events caused by jsAlert in extreme cases of FinHTMLWebChromeClient.
- fixing the problem of mini programs not receiving data when calling frame callbacks in earlier life cycles such as OnLoad.
- fixing a bug in the dark mode adaptation of the more menus when switching between landscape screens.
- fixing a crash on Android 5.X devices caused by unsupported encoded colour formats.
- fix the problem that the camera component could not be previewed when the camera was first opened on low-end models such as VivoX7Plus due to pop-ups asking for permission.
- Fix a possible flashback caused by exiting the mini program directly while the frame callback is in progress. [Optimisation].
- optimization of the background settings for the launch of mini programs.
- optimizing the handling scheme for calling the adaptation frame callback on OnLoad.
- Optimize the onAPPForeground event and fix the problem of incorrect hot start parameters.
2.36.9
Updated on: 3 June 2022 [New]
- location selection support for poi results page flip.
- dark mode support for location selection and viewing of Gaudet maps.
- location selection and viewing support to record selection history. [Restoration].
- fixes to colour resolution issues.
- the DownloadManager allows mobile networks.
- fixing problems with switching input boxes.
- fixing data desynchronization that may occur with repeated requests under multiple threads.
- fixing the setTabBarItem API, which clears the text when no text field is passed.
- fixing the setTabBarItem API, where the parameter iconPath set to local path did not take effect.
- fixing the fact that compressImage does not do a check for the existence of the source file.
- previewImage, previewMedia, previewVideo add in-package path support and determination of file existence.
- fixing the apiUrl splicing problem handling.
- fixing problems with QR code recognition.
- fixing the problem that the path getImageInfo in the code package does not fetch information.
- fixing an exception when the map marker path is invalid.
- Fix the problem that the bubble may not be hidden when Baidu Map removes the marker;
- fixing an issue with the onShow call.
- fixing the saveImageToPhotosAlbum web link crash. [Optimisation].
- text-area, confirm-bar support dark mode.
- optimizing the position of text-area, input.
- web image support for TabBar icons.
- logging access_exception events when access to the base library details interface fails.
- optimization of the data reporting logic.
2.36.7
Updated: 20 May 2022 [New
- Support for custom mini program menu pages
- offline mini program logo support configuration bitmap
- Supports configuration of maximum page levels
- textarea supports the show-confirm-bar property [Optimisation].
- Fault tolerance for some page error states and parameter errors
- Merging classes with the same function
- showModal Behaviour Alignment WeChat
- exposing default implementation classes for interfaces with more methods
- Optimize the way the page is pushed up when the input method pops up [Restoration].
- fix the problem that the saveFile interface does not delete the original cache file
- fix the problem that the image information is still returned when the getImageInfo file does not exist
- fix the conflict between input corsor-spacing and keyboard-accessory
- Fix the residual image problem when switching between input and textarea
- Fix the problem that onBackPressed on the last page does not exit
- fixing the keyboard-accessory overlap issue
- fixing the video component binding error on pages with tabs
- Fix offline mini program caching issue
- fix text-area line feeds that cause the page to be briefly obscured by the input box due to delayed page push up
- fix the probable flashback issue of switching input boxes repeatedly and quickly
2.36.5
Updated: 29 April 2022 [Update].
- InnerAudio new duration, currentTime, buffered property updates, fixing known issues.
- the addition of support for developer-defined map components.
- minimum version support to 4.4 and above. [Restoration].
- input support for idcard, fix for focus issue.
- fixing a bug where syncapi was being obfuscated.
- fixing the problem of not deleting the mini program SharedPrefs data when calling the clear mini program interface.
- fixing the problem that the version of the mini program does not update properly.
- fixing a path handling error in readZipEntry during transfer.
- video component to fix potential crash risks in the playback process.
- fix the problem that the TabBar call to the Remove Corner or Red Dot API did not remove both the corner and the red dot.
- fix the problem with getConnectedBluetoothDevices.
- fixing an issue where the file anti-download duplication mechanism did not call back results and remove cache requests correctly. [Optimisation].
- optimization of the QR code to open the mini program.
- clearing other processes running the same appId when the mini program is launched.
- chooseImage and chooseVideo APIs, which perform the corresponding action directly when there is only one option for sourceType, and no longer display the bottom selection pop-up box.
- chooseImage and chooseVideo APIs, where files generated by camera shots are saved inside the application.
- ImageLoader support for anti-duplicate downloading of images.
- the TabBar red dot and the corner markers are not displayed simultaneously.
- TabBar does not display icons when no iconPath is set.
- selectedIconPath takes the iconPath if the TabBar does not have a selectedIconPath set.
- optimization of the logic for handling the case of failure to obtain a sub-package when loading a page.
- the MapSDK alignment location selection and location viewing interface UI.
- the time format in the video component event callback is adjusted to a decimal number in seconds.
- the video component allows the initialization of src to be empty.
- an unofficial version of the mini program that reloads when opened again, even if it is currently being loaded.
2.36.3
Updated: 19 April 2022 [New
- the addition of an mini program state machine.
- the addition of open-type attribute support to the Button component.
- a new interface for converting finfile paths to absolute paths.
- the addition of organId to the download mini program interface.
- the addition of Bluetooth to scope permissions.
- add scope checks to openBluetoothAdapter, createBLEPeripheralServer for Bluetooth.
- access to TPNS push by the Vantaa assistant. [Optimisation].
- displaying a detailed error message on the error page when downloading an mini program fails.
- not reuse any local cache resources when launching informal versions of mini programs.
- optimize the file decompression logic to prevent the problem of not being able to trigger decompression again when an exception occurs in the callback.
- optimization of the logic for launching offline mini programs.
- optimizing the display of error messages for mini program loading failures. [Restoration].
- fixing the problem that when the code is swiped to launch the experience version of the mini program, the mini program details interface is requested twice.
- fixing a null pointer exception that occurred when no path was passed for the start parameter.
- fixing an issue where the page would not reload if the referrerInfo in the start-up parameters changed.
- fixing the problem of incomplete display of pages caused by incorrect SystemInfo windowHeight.
- fix the problem that the input box at the bottom of the web page is blocked by the keyboard when the mini program is opened several times.
- fixing the black block that appears at the bottom when returning to the foreground from the background.
- fixing the incorrect height of the input box at the bottom of the page when it is first opened.
- fixing the problem that the front page of the mini program experience keeps loading.
- fix an exception caused by an empty bitmap when flutter-sdk is shared.
- fixing the flickering problem when uploading images to the flutterwebview of the Vantaa assistant.
2.36.1
Updated: 2 April 2022 [Optimisation].
- the mini program and the base library are changed to parallel downloads, with support for the organId parameter.
- video frame callbacks to adjust the implementation scheme and optimize the memory footprint.
- compatibility with the WebViewActivity adaptation of dark mode using the url query parameter.
- adaptation of the complaints and feedback page to dark mode.
- extension api support synchronization api
- support for modifying the userId. [Restoration].
- repairing the problem of incorrect judgement of the navigation bar back to home button on the underlying page.
- the deprecation of the Back to Home button in the More menu.
- fixing an issue where restarting an mini program would fail after opening the mini program through the administration mini program.
- alignment of the WeChat debug configuration.
- fix the problem that the camera component cannot remove the camera when used with native-view and cover-view.
- the isHideBackHome configuration item is adjusted to control the display or non-display of the Home button in the navigation bar.
- fixing the issue of incorrectly set parameters for creating webSocket protocols.
- handling of deadobject exception crashes when AIDL communication is disconnected.
- repairing the problem caused by the hard coding of the apiServer for the determination of the code to open the mini program.
- fix OOM when loading images on small memory devices cover-view;
- fixes an issue where the keyboard would retract before popping up when the Input component was switched directly.
- fix the problem that some models cannot adjust the speaker volume via the phone volume buttons.
- modifying the way screen orientation is determined.
- fixing the problem that there is no callback after a successful call to the TabBar-related API.
- fixing the Tab page white screen problem.
2.35.11
Updated: 18 March 2022 [New
- the addition of a new mini program life cycle function.
- support for built-in api override logic.
- Offline mini programs with hidden tabs and support for launch parameters. [Optimisation].
- return an error message when the html file selection is not authorized.
- Set the drop-down refresh font colour according to backgroundTextStyle. [Restoration].
- fixing the problem of the Experience mini program not getting the file path.
- fixing the CachedStore issue.
- fixing life cycle issues when processes are multiplexed.
- fix the problem that when switching between Tab pages, the Tab page cut away will have an additional onShow event.
- fixing the webSwitchTabPage issue.
- fixes an issue where permissions are considered granted even if the returned permission result is an empty array when requesting permissions.
- fixing the problem of flashing back when the mini program page slides down.
- remove reflection from obtaining status information about MediaMuxer to avoid problems when users disable reflection.
- fixing the filestore synchronization problem.
- fixing the problem that the KeyboardAccessory is not closed when the mini program page is closed.
- Fix an issue where cover-views with fixed position types would move down with the drop-down refresh.
2.35.9
Updated: 4 March 2022 [New
- New ibeacon interface support [Optimisation].
- Optimise the way errors are displayed when subcontracts do not exist
- Remove ForegroundService permission and adapt
- Native component level optimisation
- webview adds geolocation authorization pop-ups
- webview add autoplay configuration
- Remove the clipboard interface [Restoration].
- Fix the problem that the start-up parameters are not retained after the mini program is updated and restarted
- fix UDPSocket base64 encoding issue
- fix some problems with the map component
2.35.7
Updated: 18 February 2022 [New
- adding support for the holdKeyboard attribute. [Restoration].
- fixing the problem of the title becoming page non-existent when the tab page does not exist.
- resolving the problem that touch on the map does not hide the keyboard.
- fixing the fact that Service loading subpackage js does not get the latest startup parameters when the mini program subpackage is loaded to pass startup parameters.
- fixing the problem of flashback when selecting images to return.
- fix the problem that Baidu Maps can still zoom in by double-clicking and zoom out by clicking on both fingers at the same time after disabling the zoom gesture.
- fixing the problem of landscape pages becoming vertical pages when exiting full screen. [Optimisation].
- adjusting the parameters for opening the Gaudet Map App for navigation.
- independent of the Bluetooth component.
- catching an exception when initializing the SDK to set WebView.setWebContentsDebuggingEnabled.
- when the mini program is loaded in a sub-package and the sub-package is not found according to the page path in the start-up parameters, the message "page does not exist" is displayed.
- adapting the status bar exception caused by different situations of switching between horizontal and vertical screens, adapting the bangscreen.
- Adaptation of vertical video on landscape pages, with status bar when full screen is changed to vertical.
2.35.5
Update event: 28 January 2022 [New
- add editable, placeholderText support to ShowModal. [Restoration].
- fixing the problem that no error message is returned when the switchtab path does not exist.
- fixing the problem of not being able to access image files via finfile://usr.
- fixing problems with the number of images selected.
- fixing the switchtab issue. [Optimisation].
- Scope pop-up horizontal screen and gouge screen adaptations.
- ModalDialog landscape and bangscreen adaptations.
- the MapSDK removes the ConstraintLayout.
- optimizing the initRenderingCache storage method.
2.35.3
Updated on: 17 January 2022 [New
- The License has a new configuration information switch.
- Support setting username and password when creating PeerConnection. [Restoration].
- Fix the low probability Crash issue of Map component.
- Fix the screen height calculation error.
- Fix the problem of abnormal display of status bar when switching between horizontal and vertical screens of the mini program. [Optimisation].
- Refine the Canvas.
- Map component lifecycle optimization.
- Optimization of the colour of the circle for positioning accuracy in Gaode Map.
- the WebSocket.onSocketOpen header parameter type is changed to object.
2.35.1
Updated on: 7 January 2022 [New
- support for the KeyboardAccessory component.
- support for offline mini programs.
- support for customizing the mini program Loading view.
- a map SDK supporting Gaode, Baidu and Google Maps.
- support for the management of mini program permissions.
- Map, WebRTC split from the extension SDK as a separate SDK.
- support for pre-download of mini program sub-packages.
- support for the configuration of mini program themes.
- the inputId of the input, textarea component is changed to be generated by the base library.
- adding the getImageData, putImageData API.
- the addition of the checkIsOpenAccessibility API.
- support for TabBar page preloading.
- support for Canvas.
- the addition of an interface for launching the mini program by QR code.
- base64ToTempFilePath adds fileType support. [Optimisation].
- sdkcore removes dependencies on the Android Support library.
- optimization of the batch update mini program logic.
- support for pre-downloaded sub-packages when updating mini programs in bulk if they are sub-packaged mini programs.
- optimizing the mini program decompression logic to ensure that the mini program can be updated accurately.
- replacing the webSubscribeCallBackHandler method in the JSSDK.
- optimizing the logic of multi-threaded downloads of the base library, the whole package of mini programs and the sub-package of mini programs.
- optimizing the UI when the mini program Scope sets empty permissions on the page.
- adaptation of some pages to dark mode.
- optimization of the getLocation interface.
- the SDK is only initialized in the main process.
- optimising more of the menu UI.
- harmonization of expired copy for minor procedures.
- optimizing the logic of readZipEntry.
- optimization of the module on time consumption statistics for the launch of mini progminis.
- optimise the Scope application methodology.
- prevent duplicate decompression of files under multiple threads. [Restoration].
- fixing an issue where removing the video component crashed.
- fixing the problem that the play button in the middle of the video component is not displayed when it is first loaded.
- fixing the problem of the cover image not being displayed when entering the same video component page twice.
- fixing the issue of video playback processes crashing when disconnected from mini program processes.
- fixing an issue that crashes when the same camera component is created repeatedly.
- fixing camera removal issues.
- fixing an issue where the video component cover image was not controlled by the object-fit property.
- fixing an issue with the status bar being incorrect when the video component exits full screen.
- fixing the incorrect loading state of the video component when switching to full screen.
- fixing the problem of incorrect orientation of images when viewing them.
- fixing the problem of incomplete coverage of CoverView images.
- fixing the obfuscation configuration to avoid causing obfuscation failures in some classes of the host project.
- fixing the problem of flashback when loading images due to thread switching.
- fixes an occasional problem with the ChooseLocation search box fill hint not appearing.
- fixing the problem that getAppletTempPath returns an incorrect path.
- fixing issues related to theme settings.
- fixing the loss of LocalStorage.
- fixing the relaunch white screen issue.
- fixing a crash when the base64ToTempFilePath parameter exceeds the size of the image.
- fixing the incorrect value of the getMenuButtonBoundingClientRect top property.
- fixes to the Camera component Scope.
- fix the issue of repeated execution of onDomContentLoaded for Tab page preloading.
- fixing problems with the loading order of the main package and other sub-packages.
- fixing the black line at the bottom of the CoverView.
- fixing the problem of displaying the back button when calling switchtab to switch to the home page.
- fixing the duplicate sending of relaunch events.
- fixing the problem of repeated switching of the same Tab page.
- fixing the crash of the Map component.
- Fix the problem that the mini program kept loading in some cases.
2.34.12
Updated on: 17 December 2021 [Optimisation].
- Replace the webSubscribeCallBackHandler method in JSSDK
- Optimize multi-threaded download mini program sub-package logic [Restoration].
- fix the problem caused by the timing of the update of the packages field of the mini program
- fix the problem of repeated downloads of sub-packages
- fix the problem of flickering back when loading the mini program icon by opening the experience version of the mini program
2.34.9
Updated on: 03 December 2021 [Optimisation].
- upgrading the SDKCore.
- optimization of batch update mini programs and pre-downloading of subd-packages for sub-packages.
- optimization of the mini program decompression logic. [Restoration].
- fixing the caching problem after the update of the mini program.
- fixing the issue that the video component cover image is not controlled by the object-fit attribute.
- fixing the incorrect status bar when the video component exits full screen.
- fixing the incorrect loading state of the video component when switching to full screen.
- fixing the obfuscation configuration to avoid causing obfuscation failures in some classes of the host project.
2.34.7
Updated on: 19 November 2021 [New
- getSuperviseInfo and getSystemInfo, add bundleId field
- JSSDK adds request interface [Restoration].
- fixing the removal of the video component crash.
- fixing the problem that the play button in the middle of the video component is not displayed when it is first loaded.
- fixing the problem of the cover image not being displayed when entering the same video component page twice.
- fixing the crash of the video playback process disconnected from the mini program process.
- fixing the crash of repeatedly creating the same camera component.
- fixing the camera removal bug.
- fixing the problem of incorrect orientation of images when viewing them.
- fixing the problem of incomplete coverage of CoverView images.
2.34.5
Updated: 08 November 2021 [New
- New account lock alert [Optimisation].
- getImageInfo adds orientation, type [Restoration].
- fix the problem of request returning empty cookies
- Fix the problem of occasional white screen when opening mini programs
- Fix repeated execution of onAppRoute event
- Fix a callback error when unpacking files
- Fix crash when initializing the SDK in a sub-thread
- Fix the problem that the status bar overwrites the content when returning to the mini program from the landscape page
- Fix an abnormal page rendering problem when switching between pages with different navigation bar styles
- fix showActionSheet font colour issue
- Fix webrtc not applying video and audio permissions
- fix the problem that the text of some scenes is not fully displayed when the cover-view has multi-line text line feeds
- Fix the problem that Bluetooth cannot get the service immediately after creating a connection
2.34.3
Updated: 23 October 2021 [New
- Webview supports configuration of header
- deprecate apiPrefix configuration items [Optimisation].
- Optimize the text description of the callback for the permission to reject location information
- Optimize the text description of the camera permission callback for the sweep interface
- Optimize the time consuming automatic registration of the extension SDK API
- optimise the frequency of frontend services when launching mini programs
- Optimize the prompt in the Geolocation API when permission is not obtained [Restoration].
- Fix an error reported in Android 12 field reflection
- Fix SDK packaging obfuscation issue
2.34.1
Updated: 28 September 2021 [New
- Support configuration to hide the close button and disable right swipe back
- Swipe to open the mini program supports passing start-up parameters [Optimisation].
- add permission request for camera onResume [Restoration].
- Fix a crash in setting the lineHeight for low version coverView
- fix the crash issue of camera low version
- fix some scenes where mini programs keep loading
2.33.15
Updated: 10 September 2021 [Optimisation].
- cover-view supports line feeds
- optimize chooseImage image compression scheme, support sizeType parameter [Restoration].
- fix the problem of missing content in some scenes of input
- fix the problem that cover-view cannot be fixed
- Fix a crash caused by api requests with cookies
- fix camera green screen issue
2.33.11
Updated: 28 August 2021 [New
- Support configuration to hide the close button and disable right swipe back
- Swipe to open the mini program supports passing start-up parameters [Optimisation].
- add permission request for camera onResume [Restoration].
- Fix a crash in setting the lineHeight for low version coverView
- fix the crash issue of camera low version
- fix some scenes where mini programs keep loading
2.33.3
Updated: 13 August 2021 [New
- New data reporting fields and events
- New configuration server returns encrypted data
- New mini progmini experience version, development version logo [Optimisation].
- use the system webview to replace the x5 loading mini program
- Optimize the alert when the mini program page does not exist
- use a uniform style for mini program loading error prompts
- remove anko dependency
- Optimize more menu styles [Restoration].
- Fix the problem that memory cache information is not cleared when clearing mini programs
- fix toast prompt word count and layout issues
- fix the problem caused when the file storage path is not legal
2.33.1
Updated: 31 July 2021 [New
- Support for mini program sub-package loading
- new websocket api support
- New mini program data reporting events and fields
- add getSystemInfoSyncAPI [Optimisation].
- Remove data reporting from the development version of the Experience mini program to avoid interference with official data
- Optimize mini program caching and reuse logic [Restoration].
- Fix the problem that the text of the mini program input box overlaps with the native input box when the Input component showKeyBoard
- fix http obfuscation issue
2.32.1
Updated: 16 July 2021 [New
- new readFile, readFileSync interfaces
- new exitMiniProgram interface [Optimisation].
- Local mini programs do not check the domain name
- navigateToMiniProgram interface to remove the sequence parameter to avoid jumping to arbitrary versions
- Optimize the input scheme to solve the problem of incorrect input content in some scenarios [Restoration].
- fix camera green screen issue
- fix the white screen problem caused by js error
- fix rounded corners of coverview not taking effect and font display problem
- fix the problem of not showing coverview in nativeview and handle coordinate conversion
- fix incorrect handling of padding within the sdk
- fix the problem that the webview-related interface of the mini program is not available when the extension SDK is not integrated
2.31.1
Updated: 1 July 2021 [New
- new writeFile interface
- New interface for managing mini programs
- Added handling of http interface cookies [Optimisation].
- Optimize the way the mini program error is indicated
- Optimize screenshot listening logic, no longer requesting storage permission when starting the mini program
- optimising camera frame processing logic using libyuv
- add suffixes according to contentType when downloading files
- Upgrade x5 kernel and disable sensitive permissions [Restoration].
- fix camera recording bitrate issue
- fix the incorrect position of the file field of the uploadFile interface
- fix multiple calls to api lifecycle
- fix data reporting issues
- fix input cursor issue
2.30.1
Updated: 18 June 2021 [New
- Support for launching experience versions, temporary versions of mini programs
- Security mechanism added to the QR code of the mini program [Optimisation].
- webview supports a timeout mechanism for loading web pages
- remove rxjava rxpermission related code and optimize sdk size [Restoration].
- Fix the problem that the mini program does not follow the system rotation in landscape mode
- Fix the problem that the mini program keeps loading when loading
- fix the camera and flash problem in camera sweep mode
- fix the problem of invokeNativeViewTask failure callback in NativeView
- Fix the problem of incorrect colour of status bar due to custom navigation bar of mini program
2.29.1
Updated: 7 June 2021 [New
- New camera component [Optimisation].
- Optimization of mini program loading animation, no more double loading animation
- Remove vibration, flash and foreground service permissions
- add low version system checks to ensure no crashes on low version systems
- Optimize the certificate verification logic to support whether to verify the certificate according to the server-side control [Restoration].
- fix camera overlay cover-view issue
- Fix the problem of Crash when multiple local undownloaded mini programs are opened one after another in the mini program
2.28.1
Updated: 31 May 2021 [New
- New FileSystemManager, support saveFile, getFileInfo, removeSavedFile, getSavedFileList, getSavedFileInfo.
- add control over whether to disable the getSuperviseInfo interface via an SDK configuration item [Optimisation].
- Optimize the drop-down refresh and pass back the refresh type to the front-end
- Adjusting callback messages when the API is not implemented
- mini program downgrade copy changes
- Optimization: increase the cache when the main process notifies the mini program process of the execution behavior to ensure sequential execution behavior
- remove rxjava rxpermission dependency
- optimization, delete old files before unpacking mini programs
- Optimisation: reduce the inner margin when the TabBar is at the top of the page to avoid the TabBar being displayed at too high a height [Restoration].
- Fix the inability to click on the content of the mini program page when pulling down and refreshing
- Fix a bug in the transition animation of some models when entering the home page from the mini program loading page
2.26.1
Updated: 14 May 2021 Updated to include I. New features.
- the addition of the getLocation interface to the JSSDK.
- the addition of a hashcode to the mini program details interface.
- control whether to compress the reported data through a configuration item.
- Provide an interface to search for mini programs. II. Restoration issues.
- fixing the issue of IllegalArgumentException when fetching the task stack.
- fixing some null pointer exceptions.
- Fix the problem that the mini program launch parameter was cleared. III. Optimisation.
- optimising the speed of SDK initialisation.
- Optimize the mini program error alert.
2.25.1
MD5: 13b18b5f6a1c1e701032cfdafbc8cacb
Updated: 30 April 2021< br /> Updates:
I. New Features.
- the certificate verification supports strong verification of domain names.
- support for animation effects when setting the colour of the navigation bar.
- the addition of the authorize interface.
- add domain blacklist, whitelist support configuration . *. II. Restoration issues.
- fix:getMenuButtonBoundingClientRect gets the incorrect top.
- fixing the incorrect height of the TextArea Input keyboard.
- fixing the problem of invalid short vibrations. III. Optimisation.
- adjusting the way data is reported for query events.
- removal of the sdk database in favour of file-encrypted storage.
- support for bi-directional transfer of large data volumes (> 1M) when calling custom APIs across processes.
- optimizing the WebView https certificate verification logic.
- limiting the path configuration to avoid FileProvider having excessive file sharing capabilities for security reasons.
- refactoring of the cover-view, cover-image modules.
2.24.1
MD5: Core SDK: 38b81147bd51f2c1476988dadff73099
Extended SDK: 780b7e505eaaedfaa9a0016f162d84df
Updated: April 9, 2021
Update Contents:
I. New features.
- support for https certificate validation.
- support for data reporting through sampling rate control.
- support for custom API audit management.
- support for custom TabBar.
- support for cover-view.
- Support automatic injection of APIs in the extension SDK. II. Restoration issues.
- fixing problems caused by repeated initialization of the sdk.
- fixing issues related to the InnerAudioContext.
- fixing the problem of flickering text when input and textarea switch input boxes.
- fix the problem that WebView cannot reload web pages.
- fix the problem that some Android 4.x models fail to access the web interface.
- Fix incorrect event name on jssdk api callback. III. Optimisation.
- RequestModule fault-tolerance handling.
- fault-tolerant handling of database initialization.
- partial code fault-tolerance handling.
- optimising more of the menu interaction logic.
- optimizing the interaction logic of the mini program pages.
- Block calls to the Get License Configuration Information interface.
2.23.1
Updated: 19 March 2020 Updates:
I. New features.
- support for front desk service warranties.
- support for the configuration of additional menus in the background.
- support for base library checksum md5 and decryption.
- support for simultaneous closure of mini programs when the main process is killed.
- support for setting the WebView mixed content mode.
- support for InnerAudioContext.
- the addition of an SDK fingerprint field for data reporting.
- an API for data storage related APIs to support synchronous versions.
- the JSSDK supports data storage related APIs.
- support url to wake up Alipay, WeChat, FinClip APP.
- support for database encryption.
- adding callbacks for mini program closing pop-ups.
- adding apmServer configuration.
- add the fileToBase64 interface.
- support for control of mini programs without domain name checks.
- support for previewVideo, previewMedia video playback on the fly.
- environments where SDK fingerprinting is present do not call the interface for obtaining License configuration information.
- support for downloading files from web pages when the mini program loads them.
- Support for configuring replacement sdk hints for mini programs in projects with text. II. Restoration issues.
- fixing the problem of images not being previewed.
- fixing the problem that some data in the mini program were not synchronized in time.
- fixing the problem of not getting the mini program process.
- fixing some scenarios where the bottom of the mini program page flickers.
- repairing the problem of sliding lag on the pages of the mini program in some scenes.
- fixing an error reported in the getSuperviseInfo interface.
- fixing the problem of conflicting resource attribute names.
- fixing the incorrect format of the keys field in the data returned by getStorageInfo.
- Fix the problem caused by repeated initialization of the sdk. III. Optimisation.
- optimization of more menu-related logic.
- optimization of the mini program launch logic.
- optimization of the mini program loading animation.
- optimization of url blocking logic.
- optimizing the logic for managing collections of mini program processes.
- blocking calls to the native api when the sessionId is inconsistent.
- the page state is set at page initialization based on the url.
- optimizing the webview scrollbar display-hiding logic.
- optimization of the video playback logic.
- listening to screenshot events for Android Q and above.
- the customization of more menus by the mini program is compatible with back-end services.
- optimising the logic for dynamically setting the menu layout for more menus.
- fault-tolerant handling of database initialization.
- fault-tolerant handling of some of the mini program APIs.
- adjust the data reporting strategy.
2.13.102
Updated: 20 January 2020 Updates:
I. New features.
- support for multiple application markets.
- support for sending events to mini programs natively.
- support for getting the url and userAgent of the current mini program page WebView.
- support for setting cookies.
- support SDK initialization as a means of configuring the number of mini programs to be updated in bulk.
- support for NativeView, live-puser, live-player, camera components.
- support for the injection of custom APIs into the mini program process.
- support for RequestTask, UploadTask, DownloadTask, UDPSocket.
- support for hiding the "Forward" button in the "More" menu.
- support for js synchronous calls to native methods.
- support for supporting the style of configuration capsules.
- the addition of the path field to the more menu clicks event.
- add the enablePullDownRefresh, disablePullDownRefresh API.
- add setScreenBrightnessAPI, getScreenBrightness, setKeepScreenOn, onUserCaptureScreen API.
- add showShareMenu, hideShareMenu API.
- adding vibrateShort, vibrateLong APIs.
- the addition of the previewMedia API.
- adding the addPhoneContact API.
- add the canGoBack canNavigateBack API.
- add the getSelectedTextRange API.
- Add the interface for getting mini program information, and extend the api to support providing the appId parameter. II. Restoration issues.
- fix the problem that Only fullscreen activities can request orientation exception when setting the screen orientation.
- fixing NativeView related issues.
- fixing the registration API cross-process call issue.
- fix the problem of not being able to pop up the authorization confirmation pop-up in the mini program.
- fixing redirection problems.
- fixing the TextArea linechange issue.
- fixing the black screen problem with webrtc opening.
- fixing problems with the compression of selected images.
- fixing the problem of left-right swipe and up-down swipe conflicts on the mini program pages.
- fixing download progress issues.
- fixing problems with the runtime permission verification logic.
- fix the problem that the tab is switched only after the drop-down refresh is completed when switching tab pages.
- Fix an exception problem when the AIDL interface is called. III. Optimisation.
- optimization of data reporting.
- optimizing the logic related to domain name validation.
- optimization of the SDK initialization logic.
- optimization of the logic for batch updating of mini programs.
- optimization of some UI interaction logic.
- adjustment of geolocation-related codes.
- distinguish the WebViewClient used by each of the mini program page WebView and web page WebView.
- reload the service if it has not been loaded after the TBS initialization is complete.
- navigateToMiniProgram does not allow jumps to itself.
- optimization of the screenshot code logic.
- optimization of multi-process communication logic.
- the description of the corresponding error details in the failure callback when the API is called by the mini program if it does not have runtime access.
- optimizing the mini program rendering process and speeding up mini program rendering.
- optimization of SDK error reporting pop-ups.
- optimization of some API implementation logic.
- optimization of the logic for launching mini programs via url.
- When the SDK is initialised, the stack of tasks that are no longer running is cleaned up.
2.12.37
Updated: 27 November 2020 Updates:
I. New features.
- support for web-related APIs.
- support for TabBar-related APIs and events.
- support for encryption and decryption of mini program packages.
- image browsing API support for Base64 data.
- support for sending pageonunload events to web pages when mini program pages are destroyed.
- support for the textarea component.
- the JSSDK supports the getLocalImgData interface.
- Support for determining whether a page has js-sdk loaded. II. Restoration issues.
- the issue of side sliding returns for mini programs.
- the problem of selecting files (pictures/videos).
- input, textarea component-related issues.
- problems with the logic for getting and clearing start parameters when onAppRoute.
- other known issues. III. Optimisation.
- the callback fails if the API called by the mini program does not exist, and a description of "API not implemented" is passed into the callback interface.
- some third-party libraries are changed to source dependencies to reduce conflict issues during integration.
- optimize the Activity transition animation fetching logic so that it does not have to fetch the animation first each time it transitions.
- removal of the part of the unwanted toast when opening the mini program fails.
- adjusting the version of gms to improve compatibility.
- the first page opened on cold launch of the mini program is changed to appLaunch.
- optimizing the onActivityResult processing logic.
- optimizing the logic of redirectTo.
- Compatible with some scenes with a targetSdkVersion of 23.
2.11.93
Updated: 23 October 2020
Updates:
I. New features.
- implement the custom_event_getImageBase64 interface.
- implementation of the compressImage interface.
- implementation of the pageScrollTo interface.
- implementation of the saveImageToPhotosAlbum interface.
- implementation of the saveVideoToPhotosAlbum interface.
- transition animation support without animation.
- support for SDK fingerprint verification.
- support the disabling of the Tbs SDK.
- support for web page publish events from the Service layer to the Page layer.
- support for ending a single running mini program.
- support for callbacks to the "close" button click event in the mini program navigation bar.
- supports the printing of output logs based on initialization parameters.
- adjustment of the mini program loading view.
- Support for opening documents in formats such as pdf when the mini program loads a web page. II. Restoration issues.
- input component related issues.
- remove some of the attributes that had compatibility issues.
- the problem of inconsistencies between the colour of the status bar and the colour of the navigation bar.
- the incorrect colour of the status bar when the screen is rotated.
- crashes caused by errors reported by low versions of RecyclerView.
- the issue of reloading the hot launch page of the mini program.
- input component related issues.
- The problem of repeated pop-ups for mini programs. III. Optimisation.
- optimization of the logic for selecting documents.
- optimization of the logic for saving documents.
- optimization of temporary file naming rules.
- optimizing the logic of the chooseVideo, chooseImage interfaces.
- optimization of the logic for obtaining the cover image when forwarding.
- the addition of a retry mechanism for reporting failures to APM.
- APM to prevent duplicate reporting.
- the APM adjusts the reporting interval to 12 hours.
- removal of dependencies on some third party libraries.
- lowering the version of the support library to avoid version compatibility problems when integrating the SDK.
- optimization of the logic for initializing the SDK.
- optimization of the event interaction logic in the mini program Page.
- optimizing the logic for determining legitimate domain names.
- getSystemInfo distinguishes between full-screen and non-full-screen when obtaining screenHeight, windowHeight.
- optimization of edirectTo logic.
- Removal of Java 8 and above syntax features.
2.11.15
Updated on 11 September 2020
Updates:
I. New features.
- support for the removal of cookies for specified domains.
- support for passing larger amounts of data across process slices II. Restoration issues.
- input component related issues.
- incorrect TabBar background colour.
- a probability of failure to mount systemInfo information.
- determine whether the page is capable of returning errors in logic.
- a crash in parsing colours when the colour value is incorrect.
- the colour of the navigation bar is updated when the mini program page returns.
- the screenHeight obtained by non-bangscreen devices is incorrect.
- repeated loading of the service resulting in unsuccessful execution of js code on ServiceReady.
- the extConfig field is not retrieved by the GoldEasyLink mini program.
- Some models throw an exception when obtaining anti-geocoding information. III. Optimisation.
- refactoring of the input component code logic.
- the input component adapts to a rounded background.
- reLaunch logic.
- when hot-launching an mini program, the launch parameters remain unchanged from the last time, but the page will also be reloaded if the page to be opened is different from the current one.
- the logic for determining whether the soft keyboard pops up is compatible with the Google input method.
- not to log an inaccessible business content event when the data reporting interface call fails.
- Improve the processing logic of the html input tag to select a file.
2.10.7
Updated: 14 August 2020
Updates:
I. New features.
- the SDK provides the interface to close the mini program.
- the JSSDK adds an interface for closing mini programs.
- the JSSDK adds "navigateToMiniProgram" and "navigateBackMiniProgram" interfaces.
- adjusting the incident reporting strategy.
- support for configuring whether to prohibit the initiation of runtime permission requests when initializing parameters.
- support for mini programs to configure whether to hide the "more" and "close" buttons in the navigation bar via profiles.
- support for the configuration of navigation bar title text styles.
- support for centering the title of the mini program navigation bar.
- support for the removal of the background from the navigation buttons in the mini program navigation bar.
- support for mini programs in landscape.
- Pop-ups are given according to "mini program expiry" and "app expiry". II. Restoration issues.
- input component related issues.
- adjusting the drop-down refresh logic and fixing related logic flaws.
- The Android high version system device reports an error when starting a service in the background. III. Optimisation.
- when the mini program loads a page, navigationStyle set to hide hides the entire navigation bar.
- removing the Glide library and implementing its own image loading and caching to avoid compatibility problems caused by different versions of Glide.
- modify the obfuscation rules to not obfuscate BuildConfig.
- remove unnecessary code, permissions and resources.
- the clipboard-related API is moved from the core SDk to the extension SDK.
- optimizing the mini program launch logic: if the base library is not yet downloaded, the base library will be downloaded first, and the mini program will be launched after the base library is downloaded.
- adaptation of Mainifest risk checking issues.
- optimization of the base library update process.
- optimization of input components.
- allow calls to be made in H5.
- SO bank reinforcement.
2.8.76
Updated: 17 July 2020
Updates:
I. New features.
- support for input components.
- fault-tolerant handling of the Get mini program Details interface.
- the addition of the getSuperviseInfo interface.
- adaptation of the web-view component implementation.
- support for carrying parameters in the callback method when an API interface call fails or is cancelled.
- License domain name verification.
- Forced and timed updates to mini programs. II. Restoration issues.
- the onBindMessage event is not triggered after the H5 page sends the postMessage event.
- request interface when the contentType is application/x-www-formd-urlencoded, the body will be resolved as empty.
- The MD5 comparison logic of the mini program is incorrect. III. Optimisation.
- AndroidX to the Support library.
- the getSystemInfo interface returns navBarHeight and tabBarHeight.
- remove parts of the code and resources that are not used.
- removal of dependencies on selected libraries.
- optimizing the loading process of the mini program.
- log access_exception events on all failed web interface requests.
- compatibility with zip files with hidden directories (e.g. MACOSX/.script) when unzipping them.
- refine the logic for determining whether the base library is valid.
- adjusting the event reporting fields.
- adjusting a series of prompt texts when the Get mini program Details interface returns a failure.
- compressing resource images, converting all images to webp format and reducing the size of the sdk.
- to prevent successive and repeated launches of mini programs within a short period of time.
- moving some of the APIs in the core SDK that involve sensitive permissions (phone calls, contacts, recordings, etc.) to the extended SDK library.
- Hot start the mini program without reloading pages and data if the current start parameters are the same as the previous start parameters.
2.8.33
Updated: 18 June 2020
Updates:
I. New features.
- increase the frequency of data reporting.
- the addition of event types such as security sandbox crashes and inaccessible business content to data escalation.
- the addition of the chooseImage interface to jssdk.
- the mini program WebView and the externally provided WebView support for calling the camera to take a picture or record a video in a web page and opening a folder to select a file.
- the addition of grey-scale event reporting.
- Support for opening mini programs with a specified development version number in the mini program. II. Restoration issues.
- the error "You cannot start a load for a destroyed activity" when loading an image.
- crashes triggered by updating the UI in a sub-thread.
- when the page created is the root page, all other pages in the page stack are cleared.
- the mini program cannot be swapped back to the foreground after returning from the mini program to the host app.
- The SystemInfo part of the parameter is not obtained correctly. III. Optimisation.
- optimizing the speed of hot-launching mini progmini.
- the last opened page of "About the mini program", "Feedback and complaints", etc. is automatically closed when the mini program is hotd-launched.
- the hot launch of an mini program does not dwell briefly on the last opened mini program page and opens a new page directly.
- adjusting the mini program WebView cache mode to use the default cache to load pages and speed up the mini program loading pages.
- Removal of redundant code and resource files to reduce the size of the SDK.
- Optimize the processing logic when the mini program is launched for the first time and the mini program download fails.
2.7.1
Updated: 22 May 2020
Updates:
I. New features.
- support for the reporting of data from mini progmini.
- support for getting the layout information of some view controls before the mini program page is rendered ready.
- support for mounting systemInfo and menuButtonBoundingClientRect to the Service.
- the addition of safeArea information to systemInfo.
- support for external injection of data reported by APM.
- support for hiding the "Back to Home" menu entry in the "More" menu.
- support for swiping the screen left to return to an opened web page layer by layer when the mini program is loading a web page.
- Support for national secret algorithms. II. Restoration issues.
- fixing problems with domain name resolution.
- fix a flaw in the logic for recording mini program launch events.
- fixing an occasional error in downloading the base library.
- fixing a null pointer exception in some scenarios.
- adjusting the logic of loading JS code to fix the failure of native callbacks of data to mini programs.
- fixing the problem that if the url has query parameters when the page is jumped, the jumped page shows blank.
- fixing a logical flaw in the deletion of multi-level file directories.
- fixing the problem of UI abnormality when launching mini programs in some models.
- Fix an issue with the wrong colour of the capsule button in the settings navigation bar. III. Optimisation.
- the interface routing is adapted to the uniform specifications.
- the request interface returns data of the corresponding type to the base library according to the responseType.
- adjusting the way in which external injection of grey-scale release configuration parameters is carried out.
- when the mini program loads a web page, the title does not show the web address.
- adjusting the way in which documents are downloaded.
- optimization of the logic for inter-process communication between the main process and the mini program.
- optimization of the logic for clearing the mini program.
- adjusting the mini program process lifecycle listening logic.
- Compatibility with SDK initialisation configuration parameters with spaces.
2.1.27
Updated: 22 April 2020
Updates:
I. New features.
- support for grey-scale releases.
- more menu modifications.
- support for hiding the feedback and complaints menu entry in the "More" menu.
- the addition of some new mini program interfaces.
- support for whether the back button is always displayed when the navigation bar is the default navigation bar. II. Restoration issues.
- fixing crashes triggered by theme overlays.
- repairing the problem that mini program processes will be multiplexed with each other after opening mini programs when different applications integrate the SDK.
- fixing an error when reinitializing the SDK.
- fixing an issue where the initialization SDK would receive multiple result callbacks.
- adjusting the logic for requesting geolocation permissions when initializing the SDK to resolve the crash in the Flutter project.
- dealing with crashes caused by dynamic permissions when obtaining geolocation on some Android 10 models.
- fixing a flaw in the logic for determining whether the return to home page is displayed in the more menu.
- fix a logic flaw in setting the colour of the "Forward" button in the More menu.
- fixing a flaw in the logic of the gesture swipe to return to the mini program page.
- Fix the problem that the native call to JS fails. III. Optimisation.
- optimization of the function of obtaining geographical location.
- adjusting the logic relating to the setting of the navigation bar when switching between pages.
- the ToastView adapts to scenes without icons.
- support for loading images with rounded corners.
- adjusting the routing and authentication methods of some interfaces.
- optimization of the logic for launching mini programs.
- some code logic combing and optimization.
2.1.1
Updated: 26 March 2020
Updates:
I. New features.
- the "About" mini program pop-up to a page.
- the addition of some new mini program interfaces.
- web-view implements the onWebviewLoad and onWebviewError events.
- Supports scenarios where the download path is a relative path. II. Restoration issues.
- fixing a crash caused by an array out-of-bounds when initializing the SDK.
- fixing some null pointer exceptions.
- fixing the probability of failure of the mini program when loading web pages.
- fixing the problem of not being able to zoom in to preview images when selecting them.
- fixing a logical problem in determining whether a page can be returned or not.
- fix the problem that "back to home" is displayed in the more menu after opening the home page of the mini program in some scenarios.
- fix the problem that the system's native "Copy" and "Search" menus pop up when long pressing the mini program WebView.
- fixing the problem that the menu cannot be brought up again after clicking on a blank space to close the bottom pop-up menu.
- fixing the problem of incorrect display of mini program names in the system task stack.
- fixing the logic problem of switching Tabs in Tab pages.
- Fix the logic problem of getting the configuration information of the mini program. III. Optimisation.
- remove some dependent libraries and useless resources and reduce the size of the SDK.
- optimization of database data storage, database upgrade related logic.
- optimizing the logic related to the version management of the mini program.
- adjusting the path to the download storage of the mini program.
- adjusting the naming of Scheme configuration parameters when opening an mini program via URL to prevent duplication with the configuration parameters of the host application.
- to adjust some of the text.
- layout optimization to remove redundant nesting.
- adapting the image and video viewing pages to the bangscreen.
- refining the logic related to the navigation bar and TabBar in the Tab page.
- optimization of the page loading logic when launching the mini program.
- be compatible with scenarios where apiPrefix does not end with /.
- adjusting the way in which geographical locations are obtained.
- Separate the logic of SDK Key verification and base library download and decompression during SDK initialization to avoid SDK initialization failure due to base library download failure.
2.0.77
Updated: 28 February 2020
Updates:
I. New features.
- the addition of an interface for the JSSDK to download files and open documents.
- The "More" menu supports menu item injection. II. Restoration issues.
- fixing an issue where page A appears blank when switching tabs on page B.
- fixing an issue where the Tbs SDK would fail to initialise on 64-bit phones.
- fixing the problem that the Tbs kernel download failed and subsequent initialization of the Tbs SDK would fail no matter what.
- fixing the problem of displaying mini program IDs when loading mini programs.
- Fix the problem that the getSystemInfo interface gets some parameters incorrectly. III. Optimisation.
- optimization of the page navigation logic.
- optimizing the logic of file-related interfaces and download-related interfaces.
- optimization of the implementation logic for opening documents.
- optimizing the gradle dependency configuration.
- removal of dependencies on some components.
- multi-process support for the Activtiy of the runtime SDK for browsing images/videos.
- optimizing the TabBar UI logic to make the TabBar look more coherent when the Item has icons and when it does not.
- limiting the maximum length of the title displayed by the top loading view control when loading an mini program.
- cold start the mini program, when there are no start parameters, it stays directly on the page when the mini program was last closed.
2.0.67
Update: 14 February 2020
Update content:
I. New features:
1. mini programWebView load single page H5, when the H5 occurs internal jump, control whether the mini program navigation bar display back button;
2. add some new jssdk interfaces, including: navigateTo, navigateBack, redirectTo, switchTab, reLaunch, getEnv, postMessage, getmini programInfo;
3. NavigationStyle adds hide mode, i.e. hide all parts of the navigation bar, including the capsule button in the top right corner.
2. Fix the problems:
1. Fix some NPEs;
2. Fix the problem that the server address is written dead when the feedback and complaint distinguish different environments;
3. Fix the problem that the appVersion of the feedback and complaint parameter is taken as the FinClip APP version number;
4.
4. Repair the problem that the device system of feedback and complaint does not carry the specific version number; < br /> 5. Repair the problem that Android 4.4 requests network with SSL Handshake Exception;
6. Repair the problem that network request fails with Json Parse Exception.
2.0.64
Update: 17 January 2020
Update content:
I. New features:
1. Add security parameter verification for back-end service request interface;
2. Handle error codes returned by back-end interface;
3. Hot update of base library;
4.br/> 4. When the mini program loads a web page, the navigation bar shows the back button when the web page can return, and hides the opposite;
5.
2. Fix the problem:
1. Fix the problem that if redirection occurs during the process of returning the web page layer by layer, it will not return normally;
2. Fix the problem that when loading the web page in some models, if the front and back loading url is the same and the interval time is too short, it will stop loading halfway;
3. Android 4.4 crash problem;
4. Fix the problem of blank mini program display caused by the error of the start-up parameter processing logic;
3. Scenario handling;
3. WebView loading html optimization;
4. Organize the API exposed to the public;
5. Improve getSystemInfo interface return parameters.
2.0.39
Update: 27 December 2019
Update content:
I. New features:
1. Provide encapsulated WebView externally, WebView supports H5 calling native methods and native calling JS functions;< br /> 2. Support url to open mini programs;& lt;br/> 3. It supports H5 running environment by supporting __fcjs_environment variable;
4. APM data reporting.
2. Optimization:
1. Android Q adaptation;
2. mini program file package update strategy optimization, not update mini program if both version and sequence are the same;
3. mini program multi-process management logic optimization. < br /> 3. Fix some bugs