# Financial Edition Update Log
# 2026-07-01
# iOS-SDK
Version: 2.52.10
Update content:
【New Features】
- The cover-view component now supports touchMove and longPress.
- A function to set the hidden state of the close button of the Capsule Button in the Navigation Bar of the current page.
- A function to set the hidden state of the more menu button of the Capsule Button in the Navigation Bar of the current page.
- A function to get the path of the current page of the Mini-Program.
- The image request header of Mini-Program pages supports adding a referer.
- Support for the line spacing attribute of the textarea component.
- Support for custom authorization pop-ups.
- The more button of the Mini-Program Capsule supports displaying a red dot.
- An API to delete cache information of a specified user.
- performance adds a resource metric parameter.
- Long-pressing Chinese text in the Mini-Program supports a custom menu.
- Support for configuring screenshot prohibition in the Mini-Program configuration file.
- Limit the file size that can be read by readFile and readFileSync.
- FATConfig adds a screenshot prohibition priority configuration item.
- Opening a Mini-Program supports passing a parameter for whether to prohibit screenshots.
- A function to refresh the web page of the current webView.
- The Mini-Program image component, previewImage, and previewMedia support Host-App custom long-press menus.
- Support for customizing the prompt text of the permission authorization pop-up in the Mini-Program app.json configuration file.
- FATConfig adds a configuration item: customPlatformHeader, supporting adding custom request headers to network interfaces.
- FATConfig adds a configuration item: enableScreenShot, configuring whether systems above iOS 13 need to support screenshot prohibition.
- Pass the backgroundColorContent parameter when opening a Mini-Program.
- Support for the backgroundColorContent configuration item.
- The takePhoto of the camera component supports the quality parameter.
- The hideLoadingAndHomeBackButtonWhenPushStyle parameter, supporting hiding the loading and the home page back button when opening a Mini-Program with the push animation.
- The getWebViewUrlSync Mini-Program API.
- The ignoreAppDelegateSupportedInterfaceOrientations field.
- The editImage and cropImage APIs.
- getBindAppletsWithRequest:completion (get the list of bound Mini-Programs) method.
- The themeStyle property, supporting configuring the theme mode of the Mini-Program.
- The applet:shouldChangePrivacyClickAction: delegate method, supporting custom privacy agreement click events.
- Support for the disableBackForwardGesture configuration item in the Mini-Program app.json/page.json (whether to disable the swipe-back gesture to return to the previous page).
- The readCompressedFile and readCompressedFileSync APIs.
- Support for custom same-layer components.
- Support for opening native pages and Mini-Program pages in an embedded manner.
- The scanCode scanning page supports gesture zoom.
- APIs for the Mini-Program entering the foreground and entering the background.
【Fixes】
- The issue where the Control Center could not control play/pause when playing background audio on systems above 26.3.
- The compilation error of the lame library on Xcode 26.4.1.
- The issue where the image cropping page restored the original size after zooming the image.
- The issue where long-pressing could not trigger the delegate event after enabling the refer setting in the image component.
- The issue where the previewed image index changed after rotating the screen when previewing multiple images with previewImage.
- The issue of abnormal mask brightness when switching between landscape and portrait in editImage image editing.
- The issue where repeatedly hot-starting to open multiple Mini-Programs could cause the Mini-Program to become unresponsive to interaction events.
- Setting the automatic authorization parameter when opening a specified Mini-Program.
- The crash after reloading when downloading a Subpackage fails during real-device debugging.
- The issue where the generated Finfile path had a "." character at the end when generating a Finfile protocol path without a file extension.
- The issue where changing the show-background-playback-button attribute from true to false in the video component did not take effect.
- The possible crash when the image cache stores an empty image.
- The issue where dynamically modifying initial-time before the video starts playing in the Video component did not take effect.
- The issue where the Video component hides the control bar during user interaction.
- The issue of abnormal swipe gestures in the Video component.
- The possible memory leak in the Video component.
- The issue where InnerAudio blocks the main thread and affects lottie animation playback.
- The issue where setting scale on cover-view may cause incorrect animation behavior.
- The issue where the first character entered was directly confirmed when using a Chinese input method in the textarea component.
- The issue where the image component of the Mini-Program still validated the SSL certificate after setting ignoreWebviewCertAuth.
- The issue where pressing Enter could not trigger bindconfirm when the input box was focused when the app runs on a computer with an M chip.
- The issue where the textarea input box could not trigger bindfocus and bindblur when the app runs on a computer with an M chip.
- The issue where the scroll-top attribute of the iOS cover-view component did not take effect.
- The abnormal style issue of the confirmBar of the textarea component on iOS 26.
- The issue where swiping in the scrollview area when a pageContainer exists on the Mini-Program page caused the route queue to be blocked.
- The issue where the windowHeight values of getSystemInfo and getWindowInfo were incorrect in the custom tabbar scenario.
- The issue where saving to local reported an error after taking a photo when the width or height of the camera component was 0.
- The issue where opening a Mini-Program via navigateToMiniprogram did not use the animation method set in UIConfig.
- The issue where the Mini-Program introduction content was not updated after updating the Mini-Program introduction in the Management Console.
- The issue where the tabbar height returned by getSystemInfo was incorrect when the tabbar was set to custom.
- The issue where calling base64ToTempFilePath to convert a string to an image may fail.
- The issue where the cover-image image failed to load because a header was added.
- The issue where the video file saved after recording with the camera component was too large.
- The issue where the input component in a page pop-up could be dragged after being focused.
- The issue where setting the line height of the textarea component affected the text alignment.
- The issue where the recorded video orientation was incorrect after switching to the front camera in the camera component.
- The crash caused by the cloud Management Console batch interface and the Mini-Program detail interface possibly returning null.
- The issue where the duration field returned by getVideoInfo was not of number type.
- The possible crash when reading Mini-Program files when the phone memory is insufficient.
- The issue where the Video component hides the cover image too early during video playback.
- The issue of looping the first second during long video playback.
- The issue where the host page was not correctly destroyed when returning (pop) after pushing to a Host-App page via the Mini-Program Navigation Bar controller.
- The issue where the Mini-Program showed a white screen after the Base Library file was deleted in special scenarios.
- The issue where immediately relaunching to another page after entering the home page may fail when the Mini-Program re-enters.
- The issue where immediately navigating to another page after entering the home page may fail when the Mini-Program re-enters.
- The issue where clicking play after network recovery could not play normally in the Video component.
- The issue where switching between multiple input boxes may cause no response to clicks on iOS 26.
- The issue where certain widths and heights of the camera component caused stopRecord to have no callback.
- The issue where scanning GBK QR code content with scancode produced garbled text.
- The issue where the version number obtained by the Calendar SDK was incorrect.
- The issue where updating the album permission value failed.
- The issue where the image orientation was inconsistent after taking a photo with the camera component on systems above iOS 16.
- The issue where the playing video would delay stopping when redirecting from a Mini-Program page to another page.
- The issue where the coexistence of the camera component and the picture-in-picture small window caused the picture-in-picture video to stop playing.
- The issue where reloading after failing to open the trial version Mini-Program reported an error.
- The issue where clicking the shortcut added to the desktop could not open the Host-App.
- The issue where the default color of the showModal button was incorrect.
- The issue where clearLocalApplets did not delete the usr directory data.
- The issue where rename/renameSync reported an error when the target path did not exist.
- The issue where clicking a share link may fail to open the Mini-Program when multiple ApiServers are initialized.
- The issue where older (roughly before 2021) sdkkeys could not be initialized successfully in the new SDK version.
- The issue where the video had an obvious size change when exiting full screen when a swiper nests a video component.
- The issue where the cursor position of the bindblur event may be incorrect when switching between multiple input boxes on the page.
- The issue where the input box corresponding to the bindkeyboardheightchange event triggered by switching between multiple input boxes on the page was incorrect.
- The issue where the input text color on the Mini-Program page was not updated after changing the Mini-Program theme mode.
- The issue where switching focus and inputting among multiple input tags in a Mini-Program form may cause form data loss on iOS 26.
- The issue where requesting the same permission multiple times popped up multiple authorization pop-ups.
- The issue where the start_fail event fields were incomplete after Mini-Program resource download failed.
- The issue where the APP crashed when selecting a certain address of a contact on iOS 26.
- The issue where the Mini-Program could not update permissions via API when permissions were not set.
- The issue where apm events may be missing fields when Mini-Program information is obtained successfully but resource download fails.
- The issue where the full-screen orientation would not be determined based on the video width and height when an invalid parameter was set for the video full-screen orientation parameter.
- The issue where the image was not grayed out when a more menu menu item was disabled.
- The issue where the more menu panel of the Mini-Program was empty if the Host-App hooked the reloadData method of UICollectionView on systems below iOS 16.
- The readFile function supports reading large files (injecting a new variable).
- The possible crash during the use of Websocket.
- The issue where the contact pop-up did not adapt to Dark Mode.
- The issue where the navBarHeight data of getSystemInfo was incorrect after the page loaded the webview component when the Mini-Program navigateStyle was set to custom.
- The issue where the safe area data obtained was incorrect when the home page was not yet displayed on the screen.
- The possible crash caused by circular calls in the method swizzling in the crash prevention feature.
- The issue where the screen recording event did not trigger the delegate callback when the Mini-Program opened a non-Mini-Program page such as the album image selection page.
- The issue where copyFile/copyFileSync failed to copy files when the target path had multi-level folders.
- The issue where starting the Mini-Program called the get favorite status interface when the Mini-Program set to hide the favorite button in the more menu.
- The issue where setting backgroundColor in the Mini-Program may not take effect.
- The issue where media queries did not take effect when the Mini-Program did not support darkMode.
- The issue where chooseFile may fail to select files on systems below iOS 14.
- The issue where the loading page may keep displaying when the path in the startup parameters of the opened Mini-Program does not exist and the Mini-Program has no cache.
- The issue where returning to the previous page did not trigger the result callback after setting enableAlertBeforeUnload.
- The issue where the websocket was not actively disconnected after the Mini-Program was cleared.
- The issue where setting the background color of the Mini-Program did not take effect.
- The possible crash when the number of callback frames exceeded a certain number after enabling frame data callback in the camera component.
- The issue where the image may not be fully displayed after rotating the screen when editing images with editImage.
- The issue where the video duration was displayed as 0 before the video started playing when previewing with previewMedia.
- The issue where clicking the play button in the bottom bar did not play the video when previewing with previewMedia.
- The issue where the bindplay event was still triggered when the video component automatically restarted from the beginning after playback finished with loop set to true.
- The issue where relaunch triggered the onShow event of the previously displayed page during Mini-Program hot start.
- The issue where the description for requesting the scope.getPhoneNumber permission did not read the permission configuration item in the Mini-Program app.json.
- The issue where the Mini-Program failed to read permission and request permissions in the combined scenario where the backend is not configured and the Mini-Program has configured permission, under the premise that the SDK initialization configures the privacy policy as "do not request permission if not configured" (authDescStrategy = FATAuthDescStrategyForbidden).
- The issue where background audio automatically played after buffering data when paused during playback.
- The issue where switching the playback rate of background audio may fail.
- The issue where the video could not play normally when played again after finishing due to the buffering strategy of the Video component.
- The issue where the play button was updated to the paused state after dragging the progress in the Video component.
- The issue where the playback time may differ by 1 second after seeking to a specified time in the Video component.
- The issue where the page no longer displayed the screenshot button after clicking the lock screen button and then clicking unlock again when the Video component had controls=false and full screen enabled.
- The issue where the centered play button was always displayed during video playback when the Video component had play-btn-position=center and controls=false.
- The issue where the playback address of the Video component / innerAudio / backgroundAudio could not play normally when it contained Chinese characters or special characters.
- The issue where the Authorization field was added to the header after the websocket connection succeeded.
- The issue where the original Mini-Program could not navigate pages normally after the Mini-Program opened a native page in non-full-screen mode, the native page opened another Mini-Program, and then the other Mini-Program and the native page were closed in sequence.
- The issue where switching the playback rate during background audio playback of the Mini-Program caused pausing.
- The issue of abnormal layout of the Mini-Program permission request pop-up when the Mini-Program name was too long.
- The issue where scrolling the cover-view triggered click events when a cover-view was added on the Video component.
- The issue where updating the control bar play button position to center caused the center play button to display when the Video component did not display the center play button.
- The issue of a border around the logo image on the Mini-Program about page.
- The issue where the saved image was blank when the width and height parameters of canvasToTempFilePath were passed as 0.
- The issue where the returned image data was inconsistent with the selection order after selecting multiple images with chooseImage.
- The issue where dynamically modifying backgroundColorContent during Mini-Program hot start did not take effect.
- The issue where Mini-Program white screen detection caused Mini-Program hot start to possibly become cold start.
- The issue where the "Cancel" menu still popped up on long-press in the preview interface when calling the previewMedia API with the showMenu parameter passed as false.
- The issue where the specific type was not displayed on the complaint and feedback opening function abnormality / complaint report page.
- The crash caused by parsing exceptions when base64ToTempFilePath data carried the data:image/xxx;base64 prefix.
- The issue where the Base Library was not updated and downloaded in the scenario where the Base Library had an update but the Mini-Program did not.
- The issue where some data returned by getSystemInfo and getWindowInfo was incorrect when opening the Mini-Program in non-full-screen mode on iPad.
- The issue where the data of getMenuButtonBoundingClientRect was incorrect when opening the Mini-Program in non-full-screen mode on iPad.
- The issue of incorrect height when the Mini-Program more menu displayed 4 menus per page.
- The issue where the status bar was not displayed when the Video component was in portrait full screen.
- The crash when the cropImage image was a Code Package path.
- The issue where the "get favorite Mini-Programs interface" and "Mini-Program favorite status interface" did not urlEncode the userId with special characters after encryption, causing abnormal interface calls.
- The crash on Mini-Program restart caused by the old service's interface for parsing the "trial version" QR code not returning the Mini-Program id.
- The issue where the device orientation was not restored after exiting full screen in the Video component.
- The issue where the tab page where the web-view was located was blank every time it was switched to in non-first switches in the scenario where the tab root page carried a web-view component.
- The issue where the Capsule Button appeared in screenshots when the Video component was in full screen.
- The issue of abnormal page stack managed by the SDK caused by canceling the swipe-back during the swipe-back process on a non-Mini-Program page.
- The issue where opening a URL in the webview of the Mini-Program did not actively load the redirect address.
- The issue where the Mini-Program occasionally kept loading when opening a Subpackage page.
- The issue where clicking the full-screen button did not respond occasionally after rotating to landscape in the Video component.
- The crash caused by passing an object type as the delay parameter of the setTimeout function in the Mini-Program.
- The issue where setting not to compress videos in chooseMedia and chooseVideo did not take effect.
- The issue where dragging the progress bar did not take effect after the Video component was in full screen.
- The issue where the brightness adjustment icon was not centered when adjusting brightness with gestures after the Video component was in full screen.
- The issue where the original video page did not trigger the onunload event when opening picture-in-picture in pop mode and closing picture-in-picture via VideoContext.exitPictureInPicture in the Mini-Program, or closing picture-in-picture when using other components that support picture-in-picture.
- The issue where the Mini-Program API makePhoneCall was invalid on iOS 18 for projects packaged with Xcode 16.
- The issue where the video could not continue playing normally after being paused and left for a period of time in the Video component.
- The issue where vconsole disappeared after clicking the more menu to enter the settings page and then returning to the Mini-Program page after opening vconsole in the Mini-Program.
- The issue where the vconsole button position jumped when returning to the previous page after the Mini-Program opened a webview redirect address.
- The bug where the Mini-Program could not select all album images when calling the chooseImage/chooseMedia API to select album images when the project was run on systems above iOS 18.0 using Xcode 16.
- The bug of abnormal landscape/portrait switching based on Mini-Program page configuration items in some scenarios.
- The bug of abnormal Mini-Program page lifecycle order in the picture-in-picture scenario.
- The bug where the two buttons overlapped when the Video component displayed both the background audio playback button and the screen casting button.
- The bug where no error pop-up appeared when opening the Mini-Program with a cached state when the bundleId was disabled.
- The bug where calling startCompass did not trigger the callback.
- The issue where switching to other tab pages showed a white screen after opening a tabbar Mini-Program, switching the APP to the background, and then switching back to the foreground after a period of time.
- The issue where reloading the page showed a white screen after the Subpackage loading of the tabbar Mini-Program page failed.
- The issue where the websocket did not call back the onclose event when the network was disconnected.
- The bug where previewing PDF files on iOS 18 may show garbled text.
- The bug where the last native page dismiss triggered the onShow event after the Mini-Program page pushed to a native interface and then presented to a native interface.
- The bug where the String url encode utility method did not take effect for special symbols such as = and &.
- The issue where the vconsole button position moved up when switching tabs in the tabbar Mini-Program.
- The issue where the custom tabbar of the Mini-Program was not displayed when the current Tab page displayed a webview.
- The issue where some systems showed a network abnormality during the process of opening the Mini-Program when starting the Mini-Program from the Safari browser via scheme if there was no local Mini-Program cache.
- The issue where the internationalization language of the shared UI and interface requests of the Mini-Program was inconsistent when both language and customLanguagePath were configured.
- The crash when two Mini-Programs called each other via the navigateToMiniProgram API.
- The issue where a horizontal line was displayed in the middle of the vertical direction of the playback view when clicking picture-in-picture to return to the original interface after the picture-in-picture video playback finished.
- The white screen issue caused by immediately calling reLaunch or redirectTo after navigateTo.
- The issue where saveFileSync did not validate whether filePath was empty.
- The issue where the image height was 1 px less than the original image after rotating the image 90 degrees in editImage.
- The issue where scrollview could not scroll in specific scenarios on systems below iOS 13.
- The issue where the position was incorrect after focusing in the scenario where the input component set the fixed attribute and there were other scroll views on the page.
- The issue where the video data could not be read normally after selecting a video with chooseMedia on iOS 18.
- The crash caused by the path parameter of navigateToMiniprogram being a non-string.
- The issue where getFileInfo returned success on higher version systems when passing a network address.
- The issue where the height of the textarea component was not updated after setting the text by clicking a button in the Mini-Program.
- The crash when opening the Mini-Program in uni-app.
- The crash caused by calling previewMedia in onload during Mini-Program hot start.
- The crash of the textarea component caused by the Host-App introducing a third-party UITextView library.
- The issue where 1 or more videos occasionally failed when selecting multiple videos with chooseMedia.
- The white screen issue when opening the Mini-Program on systems below iOS 11 after the Host-App integrated the Umeng SDK.
- The issue where the placeholder of the textarea component did not support setting text-align.
- The issue where the timeupdate event was not triggered when continuing playback after switching between foreground and background during inneraudio playback.
- The memory leak caused by frequent network interface calls in the Mini-Program.
- The issue where the text change listener was not triggered when a system pop-up appeared when pasting text from the clipboard in input/textarea.
- The issue where the uploadFile interface could successfully upload files that did not exist in the Mini-Program package.
- The crash caused by setting non-string type data in the header of request/uploadFile/downloadFile.
- The issue where the Navigation Bar title and back button disappeared during the swipe-back gesture on the settings page.
- The issue where there was no response when clicking a Mini-Program list item after first swiping left to return on the permission list page.
- The occasional crash caused by the Mini-Program id being nil in viewDidDisappear.
- The issue of abnormal scanning of UEAN-13 and UPC-A barcodes with scanCode.
- The possible crash when the type of the canvas component was configured as webgl.
- The issue where the video recorded by the camera component may have no sound.
- The issue where the input component automatically closed the keyboard in some cases after being focused.
- The issue of incorrect frame data callback of the camera component on lower version systems.
- The crash when the picker component popped up when the host project only supported landscape.
- The issue of incorrect timing of the success/complete callback of openSetting.
- The issue where the position was occasionally incorrect after the Pull-down Refresh completed.
- The issue where the onplay event was not triggered in the two scenarios of playing again after pausing inneraudio and continuing playback after switching between foreground and background.
- The issue where there was a chance of abnormality when opening the Mini-Program for the first time after updating the Base Library version.
- The issue of incorrect administrative division data of the region picker (administrative divisions and postal codes of Hubei - Xiantao City, Xinjiang - Baiyang City, Xinjiang - Xinxing City).
- The issue where the border of the cancel button at the bottom of the picker component was not displayed in light mode.
- The issue of abnormal image display after rotating when cropping images with cropImage.
- The issue where the keyboard may close after inputting text in the input component in special cases.
- The issue where characters could not be deleted after focusing again in specific scenarios in the input component.
- The issue of missing data field when the request interface succeeded with no data returned (returning data:"").
- The issue where cover-view was not displayed in special cases.
- The issue where openDocument reported an error when the file name contained a directory.
- The white screen issue of Subpackage pages caused by incorrect reading of Subpackages.
- The crash caused by custom data in the picker component.
- The issue where the cursor position was occasionally incorrect after pasting text in the input component.
- The issue where the Mini-Program failed to open after modifying the Host-App to integrate certain file management SDKs.
- The issue where the safeArea parameter in the data returned by getSystemInfo was incorrect.
- The issue where the loading page displayed the system Navigation Bar and the Capsule position was incorrect caused by integrating the third-party library FDFullscreenPopGesture.
- The issue of compressed package verification failure caused by externally implementing a sha256 digest information function with the same name (convertDataToHexStr) (a prefix has been added).
- The issue where network requests occasionally did not read the cache in weak network environments.
- The issue where TCPSocket occasionally reported errors when receiving messages.
- The issue where the apm event (applet_start) for Mini-Program startup completion could not be counted.
- The issue where the images generated by taking photos with the camera component on some models were not clear enough.
- The issue where holdkeyboard did not take effect in the input/textarea components on iOS 12.
- The issue of incorrect orientation corresponding to the frame data of the camera component.
【Optimizations】
- The implementation of landscape/portrait switching of Mini-Program pages, avoiding being affected by the classification methods of the Host-App.
- The image library was upgraded from the AssetsLibrary library to the PhotoLibrary library.
- The handling of related Window acquisition when the Host-App uses the UIScene lifecycle.
- Plaintext keys are stored in sdkcore.
- The color of the confirmBar complete button of the textarea component.
- The return value of the getAppBaseInfo interface (adding the appVersion, runtimeSDKVersion, inFinChat, and frameworkVersion fields).
- Support for custom same-layer components.
- Opening native pages and Mini-Program pages in an embedded manner.
- The issue where the Capsule Button was hidden when the permission request pop-up was displayed.
- The priority of the websocket resident thread, avoiding the priority inversion issue that may occur on systems above 16.
- Experience optimization of previewMedia image preview.
- Optimization of the pre-download Base Library logic, not triggering Base Library pre-download if the Base Library exists locally.
- The file selection logic of the chooseFile interface (file supports audio; all supports all file types).
- The handling of illegal colors in the setBackgroundColor method, adjusted to a fail callback (prompting invalid color).
- The field content returned by the getSuperviseInfo API, uniformly changing the default value "NA" to an empty string.
- The openURL: function in the SDK, adjusted to the new function openURL:options:completionHandler: on new version systems.
- apm statistics, adding js_error type apm events.
- Adding a "Reload" feature to the Mini-Program startup loading failure interface.
- Forcibly clearing the memory cache if the current Mini-Program page is a white screen when closing the Mini-Program.
- The Pull-down Refresh effect of Mini-Program pages.
- The previewMedia interface, supporting poster as an image in the Code Package.
- The landscape/portrait handling logic of view controllers in the SDK, avoiding crashes when rotating to an orientation not supported by the application.
- The theme color of the chooseImage/chooseMedia related pages is blue.
- The page navigation effect of opening a previously opened Mini-Program via navigateToMiniProgram.
- The parsing of the showmunu parameter of previewImage/previewMedia, treating non-bool values as the default value true.
- Custom APIs overriding built-in API functionality.
- The page push-up effect when the input/textarea component is focused.
- The timing of hiding the Capsule.
- The background color display effect of the Mini-Program opened page.
- The Mini-Program batch update logic.
- The display position of the full-screen toolbar and buttons of the Video component.
- The Mini-Program Subpackage loading and trial version loading failure error page (supporting custom configuration, taking effect with baseLoadFailedViewClass).
- Mini-Program page stack management (managing the Mini-Program page stack separately, independent of the system navigation controller page stack).
- Mini-Program favorite related interfaces (prioritizing the new interface, calling the old interface on failure).
- The content display and layout logic of the Mini-Program about page.
- The Mini-Program request and downloadFile interfaces, adding profile information to the return value.
- Mini-Program UI, loading animation.
- The parameters of the forward delegate method, adding appLink.
- The permission pop-up control feature of online Mini-Programs, supporting configuring the permission pop-up frequency in the Management Console.
- Renaming the class names, global functions, and global variables involved in the third-party dependency library Ejecta.
- The request/uploadFile/downloadFile interfaces, adding a default user-agent when user-agent is not set.
- The boundary scenario handling of the Mini-Program resource download progress callback, avoiding potential crashes.
- Uniformly adding SDK standard request headers to the download requests of Mini-Program package download, Base Library download, Logo image, and more panel menu images.
- The video progress bar color in the Video component, previewMedia, and previewVideo API.
- The order of camera and album in chooseImage, chooseVideo, and chooseMedia (determined by the Mini-Program parameters).
- openDocument, supporting the showMenu parameter.
- The submission logic of the complaint feedback page, encrypting the contact information before submission.
- The completion of some missing fields in the apm event reporting data.
- chooseImage supports the image editing feature.
- The administrative region data of the picker component, updated to the latest administrative division version of 2024.
- chooseImage supports the image editing feature.
- The content input of the input component, restricting the input content to only the specified character set when type is set to number, idcard, or digit.
- The release of cover-view when the Mini-Program is cleared.
- The event response of same-layer rendering components, avoiding the conflict between focusing and click gestures of input and textarea components.
- The permission pop-up control feature of online Mini-Programs, supporting configuring the permission pop-up frequency in the Management Console.
- The display effect of text-only Toast.
# Android-SDK
Version: 2.52.9
Update contents:
【New】
- Added the resizableOrientationLocked property to UIConfig configuration, used to control whether to lock landscape/portrait orientation on devices with changeable screens (mainly foldable screens).
- Added the "appletAutoAuthorize" auto-authorization feature to Mini-Program json configuration.
- Support for cover-view touch series events.
- Event reporting proxy API.
- The cover-view Component supports the scrollTop property.
- Privacy statement display and enable configuration items for the system permission request overlay.
- Proxy for intercepting system back button on Mini-Program pages.
- External API to get the pagePath of the current page of the current Mini-Program.
- External API to control hide/show of the more menu and close button in the Capsule Button.
- External API for SDK to show/hide the more menu panel.
- Scan page supports gesture zoom for preview, double-tap to zoom in/out the preview.
- Proxy for custom permission request dialog flow.
- The textarea Component supports the line-height property.
- UI configuration item navigationBarHeight, used to set the Navigation Bar height.
- Support for Mini-Program Performance uri, initiatorType, transferSize, domainLookupStart, domainLookupEnd fields.
- requestSubscribeMessage function and related features.
- The web-view Component supports cover-view.
- Mini-Program home page side-swipe and virtual back proxy (AppletHomeBackPressedHandler).
- Text long-press proxy event (textLongPressed).
- reloadCurrentWebView API.
- AppletInteractionHandler proxy, supporting long-press on image Component, previewImage, previewMedia to trigger custom dialogs.
- Support for the permission configuration item in app.json; permission request descriptions prioritize reading the permission configuration in app.json.
- Trigger onError callback when the Mini-Program is closed during loading in single-task mode.
- Mini-Program backgroundColorContent configuration item.
- Methods to get and update favorite status.
- Configuration item for whether to hide the status bar in Mini-Program landscape mode (UIConfig.setHideLandscapeStatusBar).
- Mini-Program getPerformance API.
- Public pages support watermark feature.
- Public pages support screenshot prevention feature.
- Mini-Program launch parameter themeStyle, used to independently set the Mini-Program's Dark Mode.
- sendSms API.
- getWebViewUrlSync Mini-Program API.
- Function to get the list of favorited Mini-Programs: getFavoriteApplets().
- Mini-Program disableBackForwardGesture configuration, used to control whether the side-swipe back feature on Mini-Program pages is enabled.
- Permission request configuration strategy and detailed local permission request description text.
- Support for readCompressedFile, readCompressedFileSync API.
- editImage, cropImage API.
- themeStyle property, supporting specification of Mini-Program theme mode (follow system, dark, light).
- Support for privacy agreement click proxy event.
【Fixes】
- Possible parsing exceptions when using rgba color values for tabBar color-related properties in the Mini-Program app.json.
- Issue where taking photos could freeze on some phones.
- Issue where tempFilePath generated by camera recording via chooseMedia was abnormal on some phones.
- Issue where some custom file extensions were recognized as .bin when using the chooseFile API.
- Issue where calling the chooseFile API on some phones running Android below 9 was mistakenly identified as opening the contacts.
- Exception issues caused by inability to recognize downloaded image formats on some phones.
- Video compression exceptions and thread freezes on some phones.
- Issue where the custom numeric keypad would not close when touch-scrolling on Mini-Program pages.
- Issue where Video would occasionally remain in loading state and fail to play when rapidly and frequently switching between Videos.
- Issue where Video could not be replayed after a playback error by clicking the play button.
- Issue on systems below Android 9 where the Capsule more button could not display the more menu panel after the Mini-Program called the setNavigationBarColor API.
- Preloaded webview not destroyed on restart;
- The fileSystemManager.unlink and unlinkSync APIs did not support finfile://tmp paths.
- Incorrect calculation of the detail.direction field in the bindfullScreenChange event.
- Issue where the camera Component would not respond or crash when photo width/height was too large/small.
- Issue where compressing video could crash when the camera Component width was small and the stopRecord parameter compressed was true.
- Issue where special invisible characters in data returned by the server for request API requests affected JSON parsing.
- Issue where the Loading indicator would not disappear during video preview playback on some Samsung phones.
- Issue where the video property initialTime could be set repeatedly after playback.
- Issue where the custom numeric keypad was not closed after the page was closed.
- Issue with abnormal behavior when the web-view Component was used in combination with wx:if.
- Issue where video duration occasionally returned 0.
- Issue where the closeBtnLeftMargin configuration for the close button in the Capsule Button did not take effect in mirrored layout.
- Issue where the contact field was encrypted even when the contact was empty on the complaint feedback page.
- Issue where the left value of Capsule position information (getMenuButtonBoundingClientRect) was inaccurate when the system Navigation Bar was displayed in Mini-Program landscape mode.
- Issue where Video height was abnormal after switching from portrait fullscreen to non-fullscreen on some phones.
- Issue where custom loading views would throw errors (requires exposing finAppInfo).
- Issue where when server-side menuInfo was null, the system would not verify whether the Mini-Program implemented onMiniProgram type events and would always display custom onMiniProgram type menus.
- Issue where the camera failed to open on some phones.
- Issue where cover-view added via wx:if in Video fullscreen could not be removed in non-fullscreen mode.
- Large screen adaptation logic, adapting to foldable screen expand/fold state switching.
- Issue where scan results were garbled when some QR code contents were in Chinese.
- Issue where old version (pre-2021) sdkKey could not be initialized successfully in the new SDK version.
- Issue where videos recorded by the Camera Component could not be played on some browsers.
- Logic issue where the Mini-Program should have been closed but was not in exceptional cases.
- Crash issue caused by starting Video PlayerService in the background.
- Issue where the keyboard was displayed but input focus was lost after switching input fields on some device models.
- Issue where local permissions could not be changed via API without going through permission requests.
- Issue where the Title Bar height of the trial version front page was incorrect (causing the close button to be obscured or invisible).
- Issue where video orientation could be incorrect after entering fullscreen by clicking the Video fullscreen button.
- Issue where the screen casting device selection dialog UI exceeded the screen range in fullscreen landscape mode.
- Issue where playing video in the new SDK version triggered onError causing playback failure.
- Occasional "IllegalArgumentException: pointerIndex out of range" gesture issue on Mini-Program media browsing pages.
- Mini-Program memory leak issues caused by system connection services on some system versions (e.g., Android 12).
- Issue where the clearUserCache API would fail in some cases.
- Memory leak issues caused by Mini-Program request calls.
- setStorage-related storage exceptions caused by excessively long userId.
- Issue where readSync and read interfaces did not support finfile://tmp_ format paths.
- Adaptation of the SDK initialization foregroundServiceConfig configuration item for Android 14.
- Issue where camera zoom would reset during continuous zooming.
- Issue where camera setZoom calculation was incorrect and did not reset when passing 1.
- Known occasional crash issues with chooseMedia when taking photos from the camera.
- Issue where video display position could be incorrect after exiting Video fullscreen mode.
- Issue where the photo button would become unresponsive when alternating between video recording and photo taking on the Redmi K70 Ultra using internal camera pages such as chooseMedia.
- Issue where 【Re-enter】 in the more menu would cause incorrect processLaunch values in Performance.
- Issue where the single data size limit judgment was inaccurate when storing data with setStorage.
- Issue where params (content returned in Mini-Program events) was missing from appInfo in the custom menu item click proxy event.
- Crash issue when taking photos on the Redmi K70 Ultra using internal camera pages such as chooseMedia.
- Crash issue when WebView request interception referer or cross-origin handling encountered URLs with domain names containing "_".
- Crash issue when setBackgroundColor was passed a non-hexadecimal color.
- Issue where JSON strings passed via postMessage in the web-view Component were converted to JSON objects.
- Occasional crash issues in performance statistics.
- Issue where InnerAudio could not dynamically adjust playbackRate.
- Issue where the same Mini-Program id could open multiple Activities when single-process and single-task-stack were configured.
- Issue where redirect failures were caused by adding referer to Mini-Program URLs.
- Issue where wildcard domains could not match domain names with underscores.
- Issue where setting the screenshot prevention configuration item for a single Mini-Program using Java would throw errors.
- Issue where the day column would be affected after first scrolling the day column and then the year column in the picker Component date selector.
- Issue where calling stopRecord after rotating the screen orientation after calling startRecord in the camera Component would throw errors.
- Issue where backgroundAudio could not switch playback rate during playback.
- Issue where the Mini-Program did not request permissions when app.json was configured with permission and FinAppConfig was configured with privacy strategy AUTH_DESC_STRATEGY_FORBIDDEN.
- Issue where passing unencoded URLs to the video Component and webview would cause inaccessibility.
- Issue where the bottom menu theme display was abnormal in the previewImage preview interface.
- Crash issue caused by rapidly switching src when listening to the Video bindended event using the ijkplayer-based player.
- Issue where errMsg was incomplete when setStorageSync was called with only data.
- Issue where the icon was not centered when showToast and showLoading had only icons without text.
- Issue where the picker Component region selector changed the default selection to the first item "All" after scrolling provinces.
- Issue where error logs appeared when calling navigateBack after the view container page-container popped up.
- Issue where the left-side gesture swipe-back animation was abnormal on Android 15.
- Issue where webview might repeatedly trigger the bindload event in some cases.
- Issue where setting preview image parameters to negative numbers caused incorrect display of the top index number.
- Issue where the bottom popup obscured the Navigation Bar in landscape mode; the cancel button was moved out of the scroll area and fixed at the bottom.
- Issue where the web-view Component's binderror event was not triggered in three scenarios: src not filed/registered, port number exceeding the limit, or webview loading H5 front proxy enabled but proxy rejected.
- Issue where video would automatically switch to landscape when clicking fullscreen after playback completed without specifying direction in the video Component.
- Issue where the last frame of the old video would flash when switching src and then clicking to play a new video in the video Component.
- Issue where when play-btn-position=center and controls were dynamically switched to false in the video Component, clicking the video during the hiding process of the centered play button would cause the center play button to never hide.
- Crash issue when CoverImage loaded extremely large images.
- Issue where previewVideo would keep showing the loading animation after pausing and then clicking play again.
- Issue where the Mini-Program permission request dialog layout was disordered when the Mini-Program name was too long.
- Issue where the bottom-left corner of the button was not rounded when showModal had only one button.
- Issue where ".html" in query parameters of the page path obtained by the proxy method onRegisteredMoreMenuItemClicked was replaced with empty.
- Issue where pull-down refresh could still be triggered via wx.startPullDownRefresh when the page was configured to disable pull-down refresh.
- Issue where takePhoto resolution configurations medium and high produced the same dimensions.
- Issue with pixel precision loss in editImage after rotation, e.g., original image width 500px becoming 499px after conversion.
- Issue where the Mini-Program crashed when the entries parameter passed to FileSystemManager.readZipEntry was a non-existent path value.
- Issue where the errMsg field was missing from entries returned by FileSystemManager.readZipEntry.
- Issue where the saveFileToDisk api reported "this api is not filed/registered on the platform".
- Issue where dynamically setting poster in the Video Component did not take effect.
- Issue where after setting controls=false in the Video Component and entering fullscreen, clicking the lock screen button and then clicking unlock again would cause the screenshot button to not display.
- Issue where after setting controls=false in the Video Component and entering fullscreen, clicking the lock screen button and then clicking unlock again, after waiting a few seconds the lock screen button would auto-hide, and clicking the video again would not show the lock screen button.
- Crash issue caused by userId containing / when requesting Mini-Program Scope.
- Issue where the top area of the error page displayed a gray background on tablets.
- Issue where abnormal current parameter passing in the previewMedia API caused incorrect display of the current preview page index.
- Issue where the host.appid data returned by the getAppBaseInfo API was incorrect.
- Issue where opening a Mini-Program had no callback when the old version Mini-Program Management Console QR code did not contain appId.
- Occasional crash issue when the base64ToTempPath interface parameter contained a base64 prefix.
- Issue where getSavedFileInfo and removeSavedFile would trigger success callbacks even when passing non-existent files.
- Issue where the dialog position would change when calling showModal multiple times consecutively and closing dialogs one by one.
- Issue where resource loading failed when Mini-Program local resource paths contained parameters.
- Issue where the top/left of the Capsule obtained by getMenuButtonBoundingClientRect was inaccurate when there was top-bottom/left-right padding on large screen adapted Mini-Program pages.
- Issue where screen brightness might be inaccurate on Xiaomi phones running Android 13 and above.
- Issue where the open success callback and proxy method were not triggered on hot start when calling the api to open a Mini-Program.
- Issue where the page path in Android callbacks had an html suffix when injecting menus manually.
- Crash issue when adding custom menu items when the more panel was in page mode.
- Issue where the Video Component would stutter and fail to play when playing relatively large videos.
- Issue where incorrect methods for finding \r\n and \n\n in onChunk caused splitting issues.
- Issue where there was no separator line in the middle of the showActionSheet Component.
- Issue where videos recorded by the camera Component were blurry.
- Exception caused by deletion of default buttons on custom error pages.
- Issue where opening a Mini-Program after batch download completed would not use the cache.
- Issue where after publishing a new version after opening a Mini-Program and then using the batch interface to update, the old version was still opened.
- Issue where initialTime did not take effect when switching src in the Video Component.
- Issue where fixed and absolute type cover-views added after Video Component fullscreen were not displayed.
- Issue where openDocument might fail due to abnormal file extension retrieval from filePath.
- Issue where stopCompass would not trigger onSuccess.
- Issue where video did not trigger the bindwaiting event.
- Issue where video did not trigger the bindprogress event after switching URLs.
- Issue where Mini-Program update checking might be re-triggered when the Mini-Program detail interface call failed during update checking.
- Issue where the downloadFile interface might return duplicate paths when called frequently in a short period.
- Issue where 【Re-enter】 in the more menu would not trigger the applet_launch apm event.
- Crash issue when readFile/readFileSync read large files.
- Issue where readFileSync had no callback when reading network paths.
- Issue where apm data reporting would not be triggered even when conditions were met after SDK initialization.
- Issue where the control bar might disappear and not recover when rapidly switching videos in video.
- Issue where crashes might occur when rapidly switching videos in the video Component.
- Issue where getFileInfo did not trigger the fail callback when the file did not exist.
- Issue where chunk data was incompletely truncated in some cases in chunked download streams.
- Issue where chunk streams would be returned all at once when setDebugMode was set to true during SDK initialization.
- Issue where the page could not be pushed up when input/textarea was focused on the current page after the Mini-Program went to background and returned to foreground.
- Issue where the absolute path converted by the getFinFileAbsolutePath function contained two levels of folders when the passed path contained folders.
- Issue where the cursor would jump after the textarea first gained focus.
- Issue where images appeared inverted after selecting images in the Mini-Program.
- Issues such as "Base Library loading failure" caused by concurrent downloads of the Base Library and Mini-Program Code Packages.
- Issue where some data in Mini-Program details was not synchronously updated during update checking.
- Issue where the textarea font-weight property did not work on placeholder.
- Issue where the statusBarHeight property value was incorrect when the Mini-Program getWindowInfo was in landscape mode.
- Issue where opening a Mini-Program occasionally got stuck on the loading page when blocking Mini-Program loading was enabled.
- Issue where hot start did not switch to cold start to update and open the new version when a new version was available in some scenarios.
- Crash issue when the Mini-Program called makePhoneCall on some tablet devices.
- Issue where restarting the Mini-Program would pre-create extra processes.
- Issue where loading web pages in the web-view Component did not trigger the bindload event.
- Issue where getSuperviseInfo did not pop up the permission request dialog on first call.
- Issue with background color adaptation for Mini-Programs with darkMode value false in Dark Mode.
- Issue where downloadFile would fail when the filePath parameter contained folders.
- Issue where scanning QR codes to open the official version of Mini-Programs did not support grayscale parameters.
- Issue where pages would flash a white background when loading in Dark Mode.
- Issue where Mini-Program storage errors were caused by userId containing file path separators set during SDK initialization.
- Issue where getImageInfo might encounter exceptions caused by adding referer when fetching network images.
- Issue where request would only request the first redirect when there were multiple redirects.
- Issue where the Input field flickered when focused.
【Optimizations】
- Added album permission authorization before long-press save image in the webview Component.
- BLE connection diagnostics and direct connection stability.
- Mini-Program auto-authorization configuration can be specified at the Mini-Program level.
- Added appId to js log (onConsoleMessage) content;
- Plaintext keys stored in sdkcore.
- Call frequency of the AppTask.getTaskInfo() method triggered by finishAllRunningApplets().
- Mini-Program setVisualEffectOnCapture takes effect on native pages (Activity).
- Header "User-Agent" override logic for Mini-Program request, download, upload APIs, ignoring key case.
- Display format for video duration exceeding one hour.
- Initialization configuration item ignoreWebviewCertAuth supports ignoring SSL errors for images.
- Vulnerability issues that might be caused by the judgment logic for creating desktop shortcuts for Mini-Programs.
- No longer need to request Mini-Program Scope permissions when using the Mini-Program openLocation, chooseLocation, choosePoi APIs.
- Issue where non-same-layer Video nested inside lists affected list scrolling.
- The API (capturePicture) is also affected if screenshot prevention related procedures are configured.
- Adjusted the maximum concurrency for OkHttp network requests (such as Mini-Program ft.request) with the same hostname (from 5 to 20).
- Large screen adaptation logic, adapting to foldable screen expand/fold state switching.
- Adapted to targetSdkVersion ≥ 35 forced edge-to-edge layout.
- SDK internal file write exception handling.
- Removed the sound emitted after successful scanning.
- Added unified headers for Mini-Program logo loading and custom menu icon loading.
- Unified the Video Component progress bar color to blue.
- Aligned with iOS error pages not displaying titles.
- Capsule Button adapted for mirrored languages.
- Mini-Program desktop shortcut API, added configuration parameters to specify the Activity and schema to open.
- Compatible with host project AndroidManifest application tag enabling "predictive back".
- Issue where custom APIs registered in the main process could not be overridden when opening Mini-Programs in multi-process mode.
- Complaint feedback page submission logic: contact information is encrypted before submission.
- getAppBaseInfo interface return values (added appVersion, runtimeSDKVersion, inFinChat, frameworkVersion fields).
- Call frequency of the getRunningAppProcesses() method for getting process list information.
- moveToLocation added location scope permission request.
- Adjusted OkHttp log printing level in SDK debugMode to avoid causing download progress monitoring to only start triggering after download completion.
- Added UI configuration item navigationBarHeight, used to set the Navigation Bar height.
- APM event reporting: supplemented some data and fixed accuracy of some fields.
- Privacy protection guide page adapted for Dark Mode.
- getCurrentWebViewUserAgent logic (also supports retrieval when H5 pages are not loaded).
- Removed the default Set-Cookie configuration returned by the server from being added to Mini-Program ft.request headers.
- Enter/exit animations for Mini-Program scope dialog and picker dialog.
- Camera Component scanCode mode supports recognizing inverted-color QR codes.
- Disabled edge stretching and bounce effects on Mini-Program pages and Mini-Program web-view Components.
- customWebViewUserAgent property supports dynamic modification (already opened Mini-Programs need to be released and reopened to take effect).
- Removed the independent process for video, keeping it in the same process as the Mini-Program.
- White screen time of Mini-Program pages before the home page content is displayed.
- preloadFramework configuration item functionality (adjusted to only pre-download the Base Library when there is no local Base Library).
- Legitimacy judgment of link ports loaded by the web-view Component (for extremely large ports, e.g., 9999999999, returns a port-exceeded error).
- SystemInfo does not include the theme property when the darkmode configuration item in the Mini-Program app.json is not true.
- Judgment logic for whether Mini-Program Subpackages have been loaded (to avoid repeated downloads caused by incorrect judgment after update checking).
- Added try-catch to the SDK initialization method to prevent App crashes caused by errors.
- Avoided console error messages when ScopeStatusChangeHandler is not set.
- Non-same-layer Video supports rounded corner settings.
- chooseFile selectable file type logic (updated m4a/m4p audio format mimetype to audio/mp4; added selectable file types when type=file).
- Mini-Program readFile supports larger files when encoding is binary.
- Output file path format for stat and statSync when recursive=true, e.g., for a.txt file under finfile://usr folder, the original output was "a.txt", optimized to output "/a.txt".
- Video Component implementation reuses the player object to avoid creating a new player every time src is updated.
- Video Component control bar width and position to avoid being obscured by camera or screen rounded corners.
- Removed the stroke/outline on Mini-Program icons on the about page and authorization dialog page.
- Reduced the number of calls to the getRunningAppProcesses() method for getting process lists.
- Custom APIs override built-in API functionality.
- chooseImage compression limited to 400k.
- Video Component playback progress trigger frequency (adjusted to trigger twice per second) to avoid blocking message communication due to excessive triggers.
- Mini-Program launch page orientation.
- Default display content of "Service Privacy and Data Notice" on the about page.
- Color configuration for ActionSheet control in Dark Mode.
- Mini-Program about page does not display when account entity has no content.
- Unified loading error pages and other internal error pages.
- Mini-Program favorites related interfaces (prioritize calling the new favorites interface, fall back to the old one on failure).
- Property names returned by getLocalIPAddress.
- request and downloadFile interfaces support the profile property.
- Mini-Program UI and enter/exit animations.
- Error codes returned by the Mini-Program detail interface (added 20043 - current application does not have permission to open the review QR code).
- Scenario where bundleId is disabled in the Mini-Program detail interface response (added dialog prompt on launch).
- Image processing logic for the camera Component takePhoto interface to reduce image size.
- Added appLink parameter to appInfo in the Forward button proxy event parameters.
- Error prompts for readFile/readFileSync for network paths.
- openDocument limited to supported file formats.
- getSuperviseInfo interface: removed logic for reading imei, Mac address, and phone state permissions (imei and mac address return "").
- Prompt messages for unfiled/unregistered custom APIs.
- Special character handling logic in gson to avoid potential crashes when the Host-App uses lower versions of gson (e.g., 2.2.2).
- APM statistics feature: added js_error type reporting events.
- Added "Reload" feature to the Mini-Program launch loading failure screen.
- textarea displays scrollbar by scrolling up/down when content exceeds fixed height.
- Domain verification logic supports adding second-level domains in the Management Console (e.g., https://*.baidu.com).
- Single-process custom API lifecycle method triggering to prevent repeated triggering of onCreate, onDestroy, etc.
- Removed redundant extData from the payload parameters of page_hide/applet_hide/page_load events in apm event reporting.
- Added mop-app-version field to all Management Console interface request headers in the SDK.
- InnerAudio will resume playback after page resume if it was paused due to page pause during playback.
- Minimum width/height of 48 for showToast with plain text.
- Issue with recognition abnormalities caused by excessively large audio bitrate when calling startRecord in camera; also opened the audioBitrate configuration item to support specifying audio bitrate.
- Cropped area is more highlighted when cropping images at a fixed ratio.
- Added pingInterval parameter to websocket to control the interval for sending ping frames.
- Added updateTime property to the object returned by getPrivacyInfo.
- Support for previewing bmp format images.
- IAppletLifecycleObserver onActive, onInActive trigger logic.
- Updated picker Component administrative region data to the latest 2024 administrative division version.
- getSystemInfo, getWindowInfo safeArea avoids the notch area.
- Permission dialog request frequency count supports server-side configuration.
# Base Library
Version: 3.11.5 (opens new window)
Update content:
【New】
- editImage & cropImage API
- Compatible with canvas isPointInPath interface
- iOS readCompressedFile support
- Android non-same-layer input and textarea placeholder-style/class behavior aligned
- IDE input and textarea placeholder-style/class behavior aligned
- require supports Subpackage Asynchronization
- Mini-Program loadSubpackage logic
- getWebViewUrlSync AP
- sendSms API
- request, downloadFile API support enableProfile property configuration
- button open-type as share supports dataset data retrieval
- iOS App supports click events in mac environment
- Added createInterstitialAd and createRewardedVideoAd logic
- getPerformance support
- Same-layer video adds danmu support
- iOS/Android readFile data transmission modification and optimization
- camera adds border radius data handling
- editor Component supports holdKeyboard property configuration
- image tag src supports referer handling on iOS
- Same-layer id logic adjustment, handling the issue of same-layer Component lookup failure on iPhone 17
- video Component adds same-layer Component rendering compatibility logic and handles incorrect position issues in non-same-layer scenarios
- cover-view/cover-image support longpress and touch series events
【Fixes】
- request API response data anomaly issue
- Non-same-layer textarea not displaying placeholder after clearing
- iOS scroll-view bounce failure when child nodes change
- Removed service Component loading cache logic
- Custom JS Component loading incorrectly
- Some iOS system webview responding to extra clicks causing keyboard dismissal
- connectWifi parameter validation, compatible with maunal=true scenario
- textarea inner scroll element behavior not as expected
- Optimized the issue where triggering transitionend in some scenarios causes a large number of getSystemInfo calls
- Compatible handling of Mobile picker empty data issue
- createImageData error when passing Uint8ClampedArray
- Memory leak caused by taro in a certain scenario
- Optimized the issue where textarea style height overrides auto-height setting value
- editor error when there is no id
- Android onResize triggered during loading causing webviewId error
- Compatible with iOS 17.4 input abnormal collapse issue
- Handling incorrect inline styles for input, textarea
- Extended Library error on Android when using Lazy Code Loading
- Input box focus true auto-focus without selection
- input internal nodes inheriting background settings
- video picture-in-picture context api error in certain scenarios
- page-container style overriding external Components
- placeholder style adds dynamic update
- Compatible with some canvas libraries overriding draw method causing blank drawing
- Mini-Program third-party library babel environment determined as browser
- textarea value change assignment logic
- slider style issue fix
- Style -2rpx converted to 1px issue
- scroll-view property scroll-left setting rpx not taking effect
- progress border radius not taking effect
- editor min-height effect incorrect
- Adjusted picker default value and date picker initialization logic
- Avoid recursive calls caused by external modification of console
- scroll-view scrollTop using numeric value not taking effect
- text nested text causing inner text click event not taking effect
- logManager calling log fails with error
- Non-custom tabbar pages showing cover-view
- Custom tabbar not rendering
- Referencing Main Package files not triggering loadSubpackage
- Restrict pageNotFound event to only trigger on launch and reLaunch
- Subpackage placeholder node not replaced
- Adjusted initialization event sending timing
- MediaQueryObserver.observe callback function not triggering
- slider block-color not taking effect when disabled and block-color are set simultaneously
- input/textarea adjusted default role='textbox' configuration
- textarea multi-line line-height display issue when using long text placeholder
- Handling the issue where setting 1px on input/textarea iOS same-layer Components causes same-layer rendering failure
- vconsole cannot be opened on lower Android versions
- Mini-Program loadSubpackage API may repeatedly inject Subpackage
- Setting scrollTop causes keyboard dismissal during scrolling
- Optimized redundant loadJsFile logic when calling loadSubPackage
- read API complete and success parameters inconsistent
- Scroll-to-dismiss-keyboard behavior adjustment, added hideKeyboardWhenScroll property
- Independent Subpackage Component existence check incorrect
- vant-field clear button not working when clearable is configured in vant ui
- textarea style height being overridden by Component update when autoHeight is true causing incorrect height
- Aligned with WeChat behavior where tap can still be triggered after longtap
- input missing timeStamp field
- cover-view inside video slot rendering incorrect data after fullscreen
- taro cursor position mismatch with input position when updating cursor during input
- 0rpx converted to 1rpx issue
- vconsole state error caused by rapid clicking on vconsole
- Handling the issue where text content is not displayed when iOS non-same-layer textarea text exceeds height
- longpress and tap trigger logic adjustment
- Handling scroll-view position error when video switches to fullscreen
- onTabItemTap callback parameter text not being the latest value
- onReachBottomDistance configured as 0 not taking effect
- Compatible handling of uniapp vue3 compiled bindevent not triggering
- taro textarea cursor position mismatch with input position when updating cursor during input
- externalClasses not working when styleIsolation is set to shared
- getSetting not retrieving subscriptionsSetting returned by SDK
- alertText being undefined fails validation
- showActionSheet itemColor default value adjusted to empty string
- textarea on some device models calculating an extra line of line-height due to decimal values
- rich-text attr value being non-string causing error and not taking effect
- page event channel queue error when navigateTo fails
- iOS edge case input same-layer rendering failure
- video style incorrect after exiting fullscreen
- udp returning inconsistent port numbers after multiple bind calls
- Picture-in-picture page incorrectly reporting page not found when executing page events in some scenarios
- ft.sendSocketMessage sending failure after ft.connectSocket
- IDE textarea not triggering focus event
- Android non-same-layer video displaying danmu configured by enableViewDanmu
- iOS errorReport supplementary reporting information
- editor not displaying when parent element is flex
- onReachBottom not triggering again when quickly scrolling to bottom
- page-container occasionally not taking effect on navigateBack
- editor showImgResize not taking effect when initial state is readOnly
- iOS base64ToArrayBuffer not reporting error when parameter length is incorrect
- button Component formSubmit event executing before tap event
- Custom tabbar not displaying after Mini-Program page reload
- chooseFile count being NaN scenario
- Error when overriding checkSession, getSetting with custom api
- canvas createImage not executing onerror callback on loading error
- Android metrics statistics may contain decimals
- cover-view initial text color abnormal in some scenarios
- app.wxss styles being overridden by dark styles
- image Component not updating size on window resize
- error stack filtering file protocol
- atob, btoa adjustment & unified across platforms
- vant textarea Component clearing input box when updating value
- Adjusted initialization rendering cache retrieval order, optimized cache data source and image styles
- Page configuration initialization cache not taking effect
- web-view Component bindload event triggering with old src value after src update
- Android swiper still triggering Pull-down Refresh
- input color value not updating after switching theme
- textarea removed redundant nodes, handled Android textarea value area scrollable issue
- Android video fullscreen style issue in swiper Component, disabled swiper scrolling during fullscreen
- videoContext requestFullScreen direction not validating illegal values
- getSystemInfoAsync and getSystemInfo platform inconsistency
- camera optimized internal event transmission logic to prevent property update failure due to Component not being ready
- Added warning for using Subpackage Asynchronization without Component Placeholder
- swiper Component execution timing error on some Android device models when screen is locked
- iOS readCompressedFile return value data not being ArrayBuffer
- Same-layer input rendering failure in hidden scenario on some iPhone 17 device models
- scroll-view with bounces set not triggering page scroll when reaching boundary on non-iOS platforms
- textarea compatibility handling for width possibly being 0 during same-layer rendering
- Optimized chooseImage, chooseMedia count parameter validation logic
- worker can only transmit object types
- createWorker can create multiple workers
- camera error when switching in wx:if scenario
- canvas draw callback being overwritten on multiple calls
- uploadFile and downloadFile processing base64 parameters causing request errors
- Android video internal properties updating too frequently causing progress bar not disappearing
- rich-text not displaying image tags
- video added update event, handling incorrect video display position when iOS unlocks
- Android some device models not updating video size when switching between landscape and portrait
- vConsole storage displaying incorrectly when switching between multiple Mini-Programs and refreshing
- Page scrolling to top when video exits fullscreen in some scenarios
- Android non-same-layer camera initialization failure in some scenarios & camera added same initialization logic as video
- iOS swiper Component non-first-screen video may not display on some device models when fullscreen
- Compatible handling of inaccurate windowHeight when using custom tabbar on iOS
- camera not sending insert when initial width and height are 0
- Android 5 error white screen
- vConsole not displaying in Independent Subpackage
- Page configuration onReachBottomDistance being 0 falls back to app.json configured value
- native-view using timestamp as id may cause duplicate ids
- Abnormal behavior when enableDanmu and enableViewDanmu are enabled simultaneously
- Input box not dismissing keyboard when scrolling page in certain scenarios
- cover-view Component not passing scrollTop and scrollLeft properties
- camera crash when width and height are 0
- editor holdKeyboard still taking effect after changing from true to false
- native-view innerHeight possibly being incorrect value during creation causing top data error
- video portrait fullscreen may show black screen
- Android non-same-layer video incorrect position inside swiper
- iOS input/textarea not rendering Component when set to 0
- IDE input/textarea not displaying placeholder when shown again after initializing as hidden
- cover-view incorrect display during scale
- tap triggered twice on click in production mode
- video context api execution invalid after toggling visibility
- iOS 26 system keyboard display incorrect when switching input
- parser logic affecting cover-view click triggering
- iOS system triggering unexpected click when popup appears
- chooseVideo maxDuration parameter validation not as expected
- Image address not displaying when using multiple ../
- animation abnormal in some scenarios
- Android other video Components' cover view displaying abnormally when switching video to fullscreen
- Android non-same-layer video not displaying after scrolling in scroll-view
【Optimizations】
- iOS scrollX/Y change bounces update logic
- Optimized setStorageSync and removeStorageSync error messages
- Optimized textarea autoHeight height calculation logic
- tcp socket removed ip restriction
- canvas added hidpiDisableScale property
- startRecord added parameter passthrough logic
- scroll-view refresherBackground default color adjustment
- Compatible with saveFileSync returning undefined data
- iOS scroll-to-dismiss-keyboard logic
- truncate api length added type conversion
- write & writeSync added length validation
- canvasToTempFile supports fileType and quality parameters
- scroll-view adjusted scroll event trigger interval
- Dark Mode style initialization timing
- canvas context property value not being the latest when assigning then reading
- Promise error text modification
- onunhandledrejection msg adjustment
- navigateToMiniProgram and navigateBackMiniProgram added extraData validation
# 2024-06-24
# iOS-SDK
Version: 2.43.11-alpha20240618v01
Update content:
【New】
- Added more panel menu items for [Clear Cache], supporting closing the Mini-Program and clearing its cache.
- Added a series of CacheManager apis.
- Added handleWebviewPreload configuration item and preloadWebView interface.
- Added support for data pre-pull and Periodic Update and related APIs.
- Added getLatestUserKey API;
- Added isFile, isDirectory fields to stat/statSync/fstat/fstatSync API;
- Added sha256 file digest information to getFileInfo;
- Added native Canvas support for toDataURL API;
- Added getLocalIPAddress API;
- Added implementation of request's onTaskChunkReceived event.
- Added apis for deleting cookies of a specified URL (deleteCookiesWithURL:completionHandler:) and deleting all cookies (deleteAllCookiesWithCompletionHandler:).
- Added privacy manifest file (PrivacyInfo.xcprivacy).
【Optimizations】
- Optimized scanCode API result handling for 1D barcodes (removing leading 0).
- Optimized Base Library reading of window width and height (page layer supports getSystemInfo and getSystemInfoSync events).
- Optimized timing of onHeadersReceived, onChunkReceived, success callbacks for request/downloadFile/uploadFile.
- Optimized live-player Component, supporting orientation property.
- Optimized image loading, caching network image requests and merging multiple requests within a short period.
- Optimized tabbar icon compatibility with Mini-Program package paths starting with "./".
- Optimized the scenario where a Mini-Program unavailable dialog is shown during update check. (Error codes: 20000-20006, 20008-20010, 20024, 20025)
- Optimized Subpackage Preload prompt information;
- Optimized TCPSocket connect interface, supporting timeout parameter.
- Optimized picker Component, updated administrative region data source to the latest 2023 data, added pickerRegionPath to Config configuration items, supporting custom administrative region data configuration (json file format).
- Optimized Mini-Program cache release logic: when more than 5 Mini-Programs are opened, the first opened is released first, and Mini-Programs playing background audio or having opened other Mini-Programs are released later.
- Optimized Mini-Program about page layout (adjusted to title on top, content below to adapt to internationalization language effects).
- Optimized Log output within SDK (reduced unnecessary Info-level logs, duplicate logs, event parameter printing, etc., reducing log size).
- Optimized enableAlertBeforeUnload API, supporting dialog prompt on swipe-back as well.
- Optimized same-layer rendering Component event response, avoiding focus and click gesture conflicts in input, textarea Components.
- Optimized PrivacyInfo privacy file, added NSPrivacyAccessedAPICategoryDiskSpace and NSPrivacyAccessedAPICategoryDiskSpace.
- Optimized complaints and feedback by removing camera photo capture, retaining only image selection from album. 【Fixes】
- Fixed an issue where markers added to the native map displayed oversized icons (the set width and height did not take effect).
- Fixed an issue where, when the page configuration hides the Capsule Button, the Capsule Button reappears after the video Component enters fullscreen and then exits.
- Fixed a crash that occurred when tapping "Go to Trial Version" on the trial version's preceding page while the Mini-Program information had not been successfully requested.
- Fixed an issue where, during Mini-Program closure, an exitMiniProgram event received at the same time did not clear the Mini-Program from memory.
- Fixed an issue where the WebView could not scroll while page-container was displayed.
- Fixed an issue in multiple-map where marker icons were not at the center point.
- Fixed an issue where, after startLocationUpdate was called, a location failure would stop location updates.
- Fixed an issue on iOS 17.4 where the keyboard for the input/textarea Component could not pop up.
- Fixed an issue with abnormal filling after rotating the picture in the live Component.
- Fixed an issue where the location information displayed on the native map chooseLocation page did not include province, city, and district.
- Fixed an issue where the location information displayed on the AMap chooseLocation page did not include province, city, and district.
- Fixed an issue where some location information displayed on the Baidu Map chooseLocation page did not include province information.
- Fixed an issue where two innerAudio instances could not play simultaneously on the same Mini-Program page.
- Fixed an issue where getSystemInfoSync occasionally failed when called on a Mini-Program page.
- Fixed an issue where the success callback of downloadFile/uploadFile was missing the header.
- Fixed an issue where the live-pusher Component had a very low probability of the video freezing during streaming.
- Fixed an issue where calling the API to obtain the Mini-Program privacy agreement failed when the Mini-Program had not yet opened.
- Fixed an issue where a cold start triggered by a new version with memory cache caused a service loading timeout.
- Fixed an issue where previewMedia did not support playing video files with finfile paths.
- Fixed an issue where previewMedia did not display a cover for video files with finfile paths.
- Fixed an issue where the previewMedia loading animation did not take effect.
- Fixed an issue where the input Component still floated on the page after editing was completed in a multi-level nested scrollview.
- Fixed an issue where text entered into the textarea Component occasionally did not wrap properly.
- Fixed an issue with abnormal page preview when the Camera was opened continuously.
- Fixed an issue where the tabbar icon was not displayed when entering certain pages configured by entryPagePath in app.json.
- Fixed an issue where the icon switched to the unselected state when the current tabbar was tapped.
- Fixed an issue where the route queue side-swipe back and enableAlertBeforeUnload triggered simultaneously could cause route disorder.
- Fixed an issue where the uploadFile API recognized the content-type of an uploaded mp3 file as image/tiff.
- Fixed an issue where copying a large block of text in the textarea Component had a probability of incomplete display.
- Fixed an issue where the cover was not displayed after switching between multiple videos in previewmedia preview.
- Fixed an issue with event penetration after a Mini-Program dialog appeared on systems below iOS 13.
- Fixed an issue where bindconfirm in the textarea Component did not trigger properly.
- Fixed an issue where the confirmHold attribute of textarea did not take effect in specific Mini-Programs.
- Fixed an issue with remote debugging on iOS.
- Fixed an issue where fstat did not support finfile://store and finfile://tmp addresses.
- Fixed an issue where updating only the placeholder text in the input Component did not take effect.
- Fixed an issue where the input Component could not correctly switch to other keyboard types after the keyboard type was set to idcard.
- Fixed an occasional crash issue in service-layer evaluateScript.
- Fixed an issue where restarting the Capsule Button in some Mini-Programs called Mini-Program details twice.
- Fixed an issue where, after a custom permission view was displayed and then hidden, the Capsule Button in the upper right corner was not displayed.
- Fixed an issue where getAppletAuthSetting did not return applied custom permissions when obtaining applied Mini-Program permissions.
- Fixed an issue where log upload failure remained in loading state.
- Fixed an issue where clearing the cache did not clear the current Mini-Program logo.
- Fixed an issue where BigData transmission blocked the thread and caused delayed API callbacks.
- Fixed a crash issue when re-entering the Mini-Program after enabling recording in Camera.
- Fixed an issue where the Capsule Button did not show a location indicator after enabling location.
- Fixed an issue where navigateBackMiniProgram failed after navigateToMiniProgram was called by a Mini-Program.
- Fixed an issue where the frame data callback of recorderManager occasionally caused the Mini-Program to freeze.
- Fixed an issue starting from version 2.42.13 where svg-format images were not supported.
- Fixed a crash caused by the third-party library Aspects using KVO inside the SDK to observe the background color of WebView.scrollView.
- Fixed an issue where the height calculation of the textarea Component with height auto-adjustment was incorrect in special scenarios.
- Fixed an issue where, after the web-view Component loaded an H5 page and navigated to a secondary link, route events occasionally failed after side-swipe back.
- Fixed an issue where page-container gesture back was abnormal and navigateBack could not return.
- Fixed an issue where, on the error screen for Subpackage download failure, after re-downloading the Code Package and the screen loaded successfully, the vcosole entry was not displayed.
- Fixed an issue where the canvas Component drew no image when bezierCurveTo was executed directly without first executing moveTo and control point 1 was (0,0).
- Fixed an issue where holdkeyboard did not take effect for the input/textarea Component on iOS 12.
- Fixed an issue where the apm event (applet_start) for Mini-Program startup completion could not be counted.
# Android-SDK
Version: 2.43.11-alpha20240618v02
Update details:
【New】
- Added more panel menu items for [Clear Cache], supporting closing the Mini-Program and clearing that Mini-Program's cache.
- Added a series of CacheManager APIs.
- Added the handleWebviewPreload configuration item and the preloadWebView API.
- Added data pre-pull and periodic update features, along with 4 related APIs or events.
- Added support for isFile and isDirectory in the return results of the four APIs stat/statSync/fstat/fstatSync.
- Added the getLocalIPAddress API.
- Added NFC feature support.
- Added digestAlgorithm sha256 support to getFileInfo.
- Added the UserCryptoManager.getLatestUserKey API.
- Added an error dialog when checking for Mini-Program updates, with new error code 20003.
- Added enableAlertBeforeUnload support for the side-swipe back scenario.
- Added chunked download support to the request API.
【Optimizations】
- Optimized compatibility with lower versions of Gson.
- Optimized the live-player audio channel to use media audio.
- Optimized the format of data returned by getImageInfo for url types.
- Optimized by disabling side-swipe exit on the Mini-Program's underlying page, and marked the disableSlideCloseAppletGesture configuration item as deprecated.
- Optimized tabbar icon compatibility with paths inside the Mini-Program package that start with "./".
- Optimized the logic for determining whether cross-origin handling is needed when loading web-view resources, avoiding exceptions caused by special query strings in resource links.
- Optimized so that the response header callbacks and request success callback data of the request, uploadFile, and downloadFile APIs all include header and cookies.
- Optimized by separating Subpackage pre-download success and failure logs into 2 entries.
- Optimized the URL validity check method for uploadFile and downloadFile to avoid misjudgment.
- Optimized by removing the 60s maximum limit on the timeout parameter of uploadFile, request, downloadFile, and createSocketTask.
- Optimized the logic for determining persistent local storage of Mini-Program information.
- Optimized the Mini-Program release logic.
- Optimized the TCPSocket connect API to support the timeout parameter.
- Optimized the picker Component by updating the administrative region data source to the latest 2023 data, and added the pickerRegionPath configuration item to Config, supporting custom administrative region data (in json file format).
- Optimized the Mini-Program About page layout (adjusted to title on top and content below to adapt to internationalization language effects).
- Optimized the getLocation logic by adjusting the GPS location timeout to 5 seconds under precise location.
- Optimized the drawing-related code of the Canvas Component to improve drawing efficiency and smoothness.
- Optimized Log output within the SDK (reduced unnecessary Info-level logs and duplicate logs, printed event parameters, etc., to reduce log size).
- Optimized Complaints and Feedback by removing camera photo capture and retaining only image selection from the album.
- Optimized an issue on higher-version Android with wide status bars where the title bar layout of chooseLocation and openLocation was very close to or even overlapped with the status bar.
- Optimized streaming loading by deleting the finUnZippedFrameworkInfo and framework.info files when the Base Library file size is 0, so that the Base Library can be downloaded again.
【Fixes】
- Fixed a logic error in the updateScopeStatus method for custom permission authorization.
- Fixed an issue where setting the selection-start and selection-end attributes did not take effect when the input and textarea Components automatically received focus.
- Fixed an issue where calling navigateToMiniProgram multiple times to jump to a Mini-Program prompted "Page does not exist".
- Fixed an issue on some Huawei models (mate20, MatePad 11) where opening a Mini-Program in single-process multi-task mode triggered the Host-App Activity onDestroy.
- Fixed an issue where the status bar of chooseLocation and openLocation was not displayed transparently on some Android systems.
- Fixed a crash when using background audio on Android 14.
- Fixed an issue where some field values in data reporting events were incorrect.
- Fixed an issue where some initialization parameters did not take effect in higher versions of the Baidu Map SDK (7.5.4 and above).
- Fixed an issue on some models where the minimum WebView fontSize was 8.
- Fixed an issue where the input box content was cleared in some same-layer rendering scenarios of the input Component.
- Fixed an issue with abnormal placeholder styles in some same-layer rendering scenarios of the input Component.
- Fixed an issue where the camera obscured the bottom view after switching between landscape and portrait in non-same-layer rendering of the camera Component.
- Fixed an issue where, when the startup page was an Independent Subpackage and the TabBar page was in the Main Package, the TabBar page Icon was not refreshed after starting from the Independent Subpackage page and jumping to the TabBar page.
- Fixed an issue with no animation when returning from a native secondary page.
- Fixed a crash in chooseLocation when using a higher version of the Baidu Map SDK.
- Fixed an issue where some stream pull links had no sound.
- Fixed an ANR issue caused by some invalid stream push addresses.
- Fixed an issue with no sound when using Bluetooth headsets.
- Fixed a Bluetooth adaptation issue on Android 12 models.
- Fixed a crash when recording video with the camera.
- Fixed an issue where getImageInfo reported an error when obtaining remote image information after restarting the Mini-Program.
- Fixed an issue where a Subpackage failed to download when only root was configured and ended with /.
- Fixed flickering when side-swiping back from native pages such as About and Settings on Android 12 and above.
- Fixed an issue with incorrect ContentType in uploadFile.
- Fixed an issue where Mini-Program content was not adapted when the Mini-Program was opened in landscape mode.
- Fixed a possible crash when special or invalid URLs were passed to previewMedia.
- Fixed an issue where previewMedia failed to load the video cover image.
- Fixed an issue where the save path displayed by previewMedia when saving a video was incorrect.
- Fixed an issue where the Mini-Program name and logo were not updated after a Mini-Program update.
- Fixed a crash caused by camera id conflicts when quickly going back on multi-camera pages.
- Fixed a crash issue when repeatedly opening multiple pages with cameras in page onLoad without camera permission.
- Fixed an issue where the Mini-Program icon on the loading page had white rounded corners in Dark Mode.
- Fixed an issue where the camera Component scan mode had a certain probability of crashing on some Android 14 models.
- Fixed a crash when calling the getVideoInfo API when x5 was not integrated.
- Fixed an issue in the Complaints and Feedback module where the wrong id parameter was used for file upload.
- Fixed an exception caused by repeatedly tapping the submit button in a short time in the Complaints and Feedback module.
- Fixed an issue where an incorrect image path returned by the custom menu caused the Mini-Program to remain unable to open.
- Fixed an issue where the appletOpenCallBack callback did not take effect.
- Fixed an issue where, when multiple Subpackages were configured for Subpackage Preload, the order of Subpackages in the two pre-download logs was inconsistent.
- Fixed an issue where there was no related download log for a non-existent Subpackage.
- Fixed an issue where some values were lost when one key in the request API header corresponded to multiple values at the same time.
- Fixed a white screen issue when opening the Mini-Program on some models (OPPO Android 10).
- Fixed an issue where an error dialog was displayed when the management platform server was abnormal during Mini-Program update checking.
- Fixed an issue where the previous Mini-Program did not stop playing when switching between different Mini-Programs playing background audio from the same address.
- Fixed an issue where the canvas Component might cause incorrect scaling in subsequent drawing after modifying the width and height attributes.
- Fixed an issue where the canvas Component attempting to draw while the Mini-Program was in the background caused setTimeout interruption and could not continue drawing after returning to the foreground.
- Fixed scaling errors caused by the relationship between the canvas node size and the canvas drawing surface size.
- Fixed the drawing effect alignment when the number of lineTo parameters in the canvas Component was invalid.
- Fixed an issue where the drawing content of the canvas Component was lost due to Surface recycling after entering the background in non-same-layer rendering.
- Fixed an issue where Subpackages were repeatedly pre-downloaded after a Mini-Program version update.
- Fixed an issue where setting the font size separately in the canvas Component did not take effect.
- Fixed an issue starting from version 2.42.11 where svg images could not be displayed properly when loaded.
- Fixed an animation abnormality caused by system side-swipe on some models.
- Fixed an issue where the vConsole status did not match the debugging button text in the more menu.
- Fixed an issue where the screen occasionally was not fully rendered after switching between landscape and portrait in non-same-layer rendering of the camera Component.
- Fixed an issue where scanning the QR code to open the official version of the Mini-Program did not support grayscale parameters (when scanning the QR code to open the official version of the Mini-Program, the Mini-Program details API will include the confList field).
- Fixed abnormal data when getImageInfo obtains network images.
- Fixed an issue where the permission request dialog was not displayed on the first call to getSuperviseInfo.
- Fixed a crash issue in gif preview in some cases.
- Fixed an occasional service timeout issue with ftpkg-format compressed packages.
# Base Library
Version: 3.2.13 (opens new window)
Update details:
【New】
- Added accessibility attribute support.
- Added requestTask onChunkReceived support.
- Added cacheManager ide support.
- Added support for isFile and isDirectory in stats.
- Added support for NFC and related APIs.
- Added support for the allowDuplicatesKey attribute.
- Added the getUserCryptoManager API.
- Added the getLocalIPAddress API.
- Added the preloadWebview API.
- Added the createCacheManager API.
- Added background fetch API support.
【Optimizations】
- Optimized tcp socket by removing the IP restriction.
- Optimized request set-cookie case compatibility.
- Optimized getFileInfo to support SHA256.
- Optimized view foreground/background switching events.
- Optimized picker region data to support SDK JSON data.
- Optimized compatibility logic version determination (the Base Library temporarily works around the abnormal keyboard collapse issue on iOS 17.4).
- Optimized updating bounces when iOS scrollX/Y changes.
- Optimized placeholder style by adding dynamic updates.
- Optimized the height calculation logic of textarea autoHeight.
【Fixes】
- Fixed an error caused by circular references when processing canvas context stringify.
- Fixed compatibility with the abnormal input collapse issue on iOS 17.4.
- Fixed incorrect inline styles for input and textarea.
- Fixed inaccurate width during initial loading on Android.
- Fixed incorrect styles caused by width being undefined during initialization in some scenarios.
- Fixed an incorrect textarea cursor issue.
- Fixed an issue where the IDE date picker selected dates incorrectly.
- Fixed an issue where plugin Mini-Programs handled local paths as plugin paths when obtaining them.
- Fixed hiding scrollIntoView for iOS input boxes.
- Fixed an issue where switching dates in the IDE picker reset the date.
- Fixed an issue where bg audio seek was not reset after ended or stop.
- Fixed an incorrect cookie splitting issue.
- Fixed an error when a number was passed to socketTask close.
- Fixed an issue where animation background-color was not displayed.
- Fixed incorrect cropping in canvasToTempFilePath.
- Fixed an issue where same-layer Components on Android were not displayed when toggled to hidden.
- Fixed an issue where camera top data remained the pre-switch data when switching between landscape and portrait.
- Fixed an incorrect cursor display issue in iOS input boxes.
- Fixed an issue where canvas lineTo without parameters blocked subsequent rendering.
- Fixed an issue where Android plugin Mini-Programs could not navigate.
- Fixed style issues caused by scroll-view inner.
- Fixed by adding timeout validation to TCPSocket connect.
- Fixed an issue where the flag bit was incorrect when TCPSocket onConnect executed.
- Fixed an issue where route navigation with an absolute path reported an error in plugin Mini-Programs.
- Fixed an error on Android when using Lazy Code Loading in the Extended Library.
- Fixed a white screen issue on lower-version Android caused by lock json rollback.
- Fixed an issue where there was no selection when focus true automatically focused.
- Fixed the assignment logic when textarea value changes.
- Fixed an issue where the placeholder was not displayed after clearing a non-same-layer textarea.
- Fixed an issue where bounce failed when child nodes of iOS scroll-view changed.