# iOS Update Log

# 2.54.1

Update Time: 2026-10-10

【New Features】

【Bug Fixes】

  1. Fixed the issue where request requests are not compatible with network responses in non-UTF-8 encoding.
  2. Fixed the issue where the video Component poster does not support Code Package paths.
  3. Fixed the issue where occasional crashes occur when Mini-Games play audio.

【Optimizations】

# 2.53.11

Update Time: 2026-09-18

【New Features】

【Bug Fixes】

  1. Fixed the issue where calling chooseImage to take photos with the camera on pages with a camera Component behaves abnormally.
  2. Fixed the issue where image does not have resourceTiming statistics data.
  3. Fixed the issue where the video does not resume playback when autoplay is dynamically enabled on the video Component.

【Optimizations】

# 2.53.9

Update Time: 2026-09-04

【New Features】

  1. Added advertising Extension SDK.
  2. Added support for Pull-down Refresh in widgets.
  3. Added support for widget performance statistics API.

【Bug Fixes】

【Optimizations】

  1. Hidden the finclip logo image on the Mini-Program loading page.

# 2.53.7

Update Time: 2026-08-21

【New Features】

【Bug Fixes】

  1. Fixed the issue where the text in the pop-up menu at the top right corner is incorrect after opening the document preview page via openDocument.
  2. Fixed the issue where crashes may occur after Mini-Game inneraudio audio playback ends.
  3. Fixed the issue where chooseFile with video type cannot select certain video formats.
  4. Fixed the issue where memory may not be released after Mini-Games are closed.
  5. Fixed the issue where crashes may occur when using remote control for backgroundAudio background playback.
  6. Fixed the issue where the input Component keyboradAccessory view height update does not take effect.

【Optimizations】

# 2.53.5

Update Time: 2026-08-07

【New Features】

【Bug Fixes】

  1. Fixed the issue where the animation is abnormal when closing the device list page while switching screencast devices in the device list when using the screencast feature in landscape mode of the video Component.
  2. Fixed the issue where the video Component screencast device list page automatically closes.
  3. Fixed the issue where the edit button is displayed when previewing videos via chooseMedia.

【Optimizations】

# 2.53.1

Update Time: 2026-07-11

【New Features】

【Bug Fixes】

  1. Fixed the issue where the video Component cannot find devices on the first screencast search.
  2. Fixed the issue where the native Component deletion proxy event is not triggered when a custom same-layer Component is deleted.
  3. Fixed the issue where the video Component may crash after playing for a period of time after successful screencasting.

【Optimizations】

# 2.52.11

Update Time: 2026-06-27

【New Features】

【Bug Fixes】

  1. Fixed the issue where open returns failure when the file flag is 'wx' and the filePath does not exist.
  2. Fixed the issue where writeFile crashes after open with flag 'r'.
  3. Fixed the issue where readFile can normally read the file after open with an unsupported read flag value.
  4. Fixed the issue where the center point position is offset when updating the height of AMap mapView.
  5. Fixed the issue where the latitude, longitude, and type returned by choosePoi for native map, Baidu Map, and Tencent Map are not numbers.
  6. Fixed the issue where the latitude, longitude, and type returned by chooseLocation for Baidu Map and Tencent Map are not numbers.
  7. Fixed the issue where the actual value is inconsistent with the expected value after setting skew in Baidu Map.
  8. Fixed the issue where versions packaged with xcode26.4 crash on iOS 12 systems.

【Optimizations】

# 2.52.10

Update Time: 2026-06-12

【New Features】

【Bug Fixes】

  1. Fixed the issue where the map Component same-layer rendering container is not updated, causing map gesture response lag.

【Optimizations】

  1. Optimized the creation logic of same-layer rendering Components for map and live Components.

# 2.52.7

Update Time: 2026-05-29

【New Features】

  1. Added a parameter to control whether to request the favorites API when starting a Mini-Program.

【Bug Fixes】

  1. Fixed the issue where clicking "More" in the custom menu of H5 applications and Mini-Games does not trigger the Host-App proxy method.
  2. Fixed the issue where clicking the "Clear Cache" menu item in the paginated more menu scenario for Mini-Games and H5 does not trigger cache clearing.

# 2.52.5

Update Time: 2026-05-15

【New Features】

  1. Added an API for the video Component to capture screenshots.
  2. Added an API for openBrowser to open URLs with the system browser.
  3. Added support for Google Maps.

【Bug Fixes】

  1. Fixed the issue where the control center cannot control play/pause when playing background audio on systems above 26.3.
  2. Fixed the compilation error of the lame library in xcode26.4.1.

# 2.52.3

Update Time: 2026-04-25

【New Features】

  1. Added support for custom synchronous APIs in Mini-Games.

【Bug Fixes】

  1. Fixed the issue where the image returns to its original size after zooming in the image cropping page.
  2. Fixed the issue where in accessibility mode, the capsule at the top right corner and the back button at the top left corner announce the image resource name before announcing the function name.

# 2.52.1

Update Time: 2026-04-10

【New Features】

  1. Added support for APIs such as showToast, showModal, showLoading, showActionSheet, hideLoading, hideToast, etc. in Mini-Games.

【Bug Fixes】

  1. Fixed the issue where Bluetooth crashes when calling BLEPeripheralServer.addService without passing uuid.
  2. Fixed the issue where long-pressing the image Component after enabling refer settings does not trigger the proxy event.

【Optimizations】

  1. Optimized the implementation of landscape and portrait orientation for Mini-Program pages to avoid being affected by the Host-App's classification methods.
  2. Optimized the image library upgrade from AssetsLibrary to PhotoLibrary.
  3. Optimized the handling of related Window retrieval when the Host-App uses the UIScene lifecycle.
  4. Optimized the maximum recording duration of recorderManager to 30 minutes.

# 2.51.11

Update Time: 2026-03-29

【Bug Fixes】

  1. Fixed the issue where the preview image index changes after rotating the screen when previewing multiple images via previewImage.
  2. Fixed the issue where the mask brightness is abnormal when switching between landscape and portrait orientation in editImage image editing.

# 2.51.9

Update Time: 2026-03-13

【New Features】

  1. Added support for setting the autoAuthorize automatic authorization parameter in the Mini-Program app.ext.json.
  2. Added support for the forward menu item in the Mini-Game more menu.

【Bug Fixes】

  1. Fixed the issue where repeatedly hot-starting multiple Mini-Programs may cause the Mini-Program to be unable to respond to interaction events.
  2. Fixed the issue where calling exitMiniProgram in Mini-Games does not take effect.

【Optimizations】

  1. Optimized the code in AMap that may access data from multiple threads to avoid potential crashes.

# 2.51.7

Update Time: 2026-02-28

【New Features】

  1. Added support for setting automatic authorization parameters when opening a specified Mini-Program.

【Bug Fixes】

  1. Fixed the issue where reloading crashes after failing to download Subpackages during real device debugging.
  2. Fixed the issue where the Finfile path generated without a file extension has a "." character at the end of the path when generating Finfile protocol paths.
  3. Fixed the issue where MKMarkerView in the Extension SDK conflicts with system class names.

# 2.51.5

Update Time: 2026-02-06

【New Features】

  1. Added the ability for the Host-App to configure startup parameters for H5 applications.

【Bug Fixes】

  1. Fixed the issue where changing the show-background-playback-button property from true to false in the video Component does not take effect.
  2. Fixed the issue where widgets cannot recognize path concatenation parameters.
  3. Fixed the issue where crashes may occur when the image cache stores empty images.
  4. Fixed the issue where sharing fails due to failure to obtain a short link during sharing with the Share SDK.
  5. Fixed the issue where calling getSystemInfo crashes when the H5 application Navigation Bar is set to custom.

【Optimizations】

  1. Optimized the canvas drawing code to support arc.

# 2.51.3

Update Time: 2026-1-23

【New Features】

  1. Added support for touchMove and longPress in the cover-view Component.

【Bug Fixes】

  1. Fixed the issue where dynamically modifying initial-time before the video starts playing in the Video Component does not take effect.
  2. Fixed the issue where the Video Component hides the control bar during user interaction.
  3. Fixed the issue where the Video Component swipe gesture behaves abnormally.
  4. Fixed the issue where the Video Component may have memory leaks.
  5. Fixed the issue where InnerAudio blocks the main thread and affects lottie animation playback.

【Optimizations】

  1. Optimized the storage of plaintext keys in sdkcore.

# 2.51.1

Update Time: 2026-1-9

【Bug Fixes】

  1. Fixed the issue where the scale and animation behavior of cover-view settings may be incorrect.
  2. Fixed the issue where the first character entered is directly confirmed when using the Chinese input method in the textarea Component. [Optimization]
  3. Optimized the confirmBar confirm button color of the textarea component.

# 2.50.11

Update Time: 2025-12-26

[New]

[Fixes]

  1. Fixed the issue where the image component of the Mini-Program still validates the SSL certificate after ignoreWebviewCertAuth is set.
  2. Fixed the issue where pressing Enter in a focused input field cannot trigger bindconfirm when the app runs on a computer with an M-series chip.
  3. Fixed the issue where the textarea input field cannot trigger bindfocus and bindblur when the app runs on a computer with an M-series chip.
  4. Fixed the issue where the scroll-top property of the iOS cover-view component does not take effect.
  5. Fixed the style abnormality issue of the confirmBar of the textarea component on iOS 26.
  6. Fixed the issue where a pageContainer on a Mini-Program page causes the route queue to be blocked when swiping sideways in the scrollview area.
  7. Fixed the issue where the windowHeight value of getSystemInfo and getWindowInfo is incorrect in the custom tabbar scenario.
  8. Fixed the issue where saving a photo to the local storage after taking a picture reports an error when the width or height of the camera component is 0.
  9. Fixed the issue where navigateToMiniprogram does not use the animation method set in UIConfig when opening a Mini-Program.

[Optimization]

  1. Optimized the code for pre-pull scenarios and loading multi-language resources to avoid potential crashes.
  2. Marked some APIs and properties of native-view as deprecated.

# 2.50.9

Update Time: 2025-12-12

[Fixes]

  1. Fixed the issue where the Mini-Program description content is not updated after updating the Mini-Program description in the Management Console.(https://jira.finogeeks.club/browse/RT-51319)
  2. Fixed the issue where the location rendering is abnormal when the Tencent Map Extension SDK opens the map page through the openLocation API, and after the system location permission is denied, clicking the location icon in the bottom right corner.
  3. Fixed the issue where starting an Independent Subpackage of the offline App Store and loading other Subpackages may cause a crash.
  4. Fixed the issue where the tabbar height returned by getSystemInfo is incorrect when the tabbar is set to custom.
  5. Fixed the issue where calling base64ToTempFilePath to convert a string to an image may fail.

[Optimization]

  1. Optimized openLocation, chooseLocation, choosePoi, no longer requiring the SDK's location permission.(Tencent Map Extension SDK, Baidu Map Extension SDK, Amap Extension SDK, Extension SDK)

# 2.50.7

Update Time: 2025-11-28

[New]

[Fixes]

  1. Refactored the video component, fixed known issues.

[Optimization]

  1. Optimized the HUD display level of chooseImage, chooseVideo, chooseMedia, feedback, and settings pages.

# 2.50.5

Update Time: 2025-11-14

[New]

  1. Added a function to set the hidden state of the close button of the Capsule Button in the Navigation Bar of the current page.
  2. Added a function to set the hidden state of the more menu button of the Capsule Button in the Navigation Bar of the current page.
  3. Added a function to get the path of the current page of the Mini-Program.
  4. Added support for adding referer to the image request header of the Mini-Program page.

[Fixes]

  1. Fixed the issue where the webview component of the Mini-Program reports a domain verification failure when loading an encoded URL.
  2. Fixed the issue where the screen may go blank when the Mini-Program switches to the background immediately after startup.
  3. Fixed the issue where the video component's position is incorrect after going fullscreen in the non-same-layer rendering scenario.

# 2.50.3

Update Time: 2025-10-31

[New]

[Fixes]

  1. Fixed the issue where the cover-image image fails to load due to adding a header.
  2. Fixed the issue where the video file saved after recording a video with the camera component is too large.
  3. Fixed the issue where the input component in a page popup can be dragged after being focused.

[Optimization]

# 2.50.1

Update Time: 2025-10-17

[New]

  1. Added support for the x and y parameters of the MapContext.fromScreenLocation function for Baidu Map Extension SDK, Tencent Map Extension SDK, Amap Extension SDK, and Ficlip Extension SDK maps.

[Fixes]

  1. Fixed the issue where setting the line height of the textarea component affects the text alignment.
  2. Fixed the issue where the recorded video orientation is incorrect after switching to the front camera with the camera component.
  3. Fixed the crash issue that may be caused by the cloud Management Console batch interface and the Mini-Program detail interface possibly returning null. (Added type checking for fields.)
  4. Fixed the issue where the duration field returned by getVideoInfo is not of number type.
  5. Fixed the issue where reading Mini-Program files may crash when the phone has insufficient memory.
  6. Fixed the issue where the video component hides the cover image too early when playing a video.
  7. Fixed the issue where the first second loops during long video playback.
  8. Fixed the issue where the Host-App page is not properly destroyed when returning (pop) after pushing to the Host-App page through the Mini-Program Navigation Bar controller.
  9. Fixed the issue where the Mini-Program opens with a blank screen after the Base Library file is deleted in special scenarios.

[Optimization]

  1. Optimized the region calculation method for Baidu Map Extension SDK, Tencent Map Extension SDK, Amap Extension SDK, and Ficlip Extension SDK maps.
  2. Optimized the renaming of class names, global functions, and global variables involved in the third-party dependency library Ejecta.
  3. Optimized the request/uploadFile/downloadFile APIs to add a default user-agent when user-agent is not set.
  4. Optimized the boundary scenario handling of the Mini-Program resource download progress callback to avoid potential crashes.

# 2.49.11

Update Time: 2025-09-26

[New]

  1. Unified the addition of SDK standard request headers for Mini-Program package download, Base Library download, Logo image, and more panel menu image download requests.

[Fixes]

  1. Fixed the issue where relaunching to another page immediately after entering the home page when the Mini-Program re-enters may fail.
  2. Fixed the issue where navigating to another page immediately after entering the home page when the Mini-Program re-enters may fail.
  3. Fixed the issue where the video component cannot play normally when clicking play after the network is restored.
  4. Fixed the issue where the northeast and southwest values in the data returned by getRegion and bindregionchange are incorrect when the 4 maps are rotated.
  5. Fixed the issue where switching between multiple input fields may cause unresponsive clicks on iOS 26.

[Optimization]

  1. Optimized the video progress bar color in the video component, previewMedia, and previewVideo APIs.

# 2.49.9

Update Time: 2025-09-12

[Fixes]

  1. Fixed the issue where certain widths and heights of the camera component cause stopRecord to have no callback.
  2. Fixed the issue where scanning a GBK QR code with scancode produces garbled characters.
  3. Fixed the issue where the version number obtained by the Calendar SDK is incorrect.
  4. Fixed the issue where updating the album permission value fails.
  5. Fixed the issue where the image orientation is inconsistent after taking a photo with the camera component on iOS 16 and above.

[Optimization]

  1. Optimized the order of camera and album in chooseImage, chooseVideo, and chooseMedia (determined by the Mini-Program parameters).
  2. Optimized openDocument to support the showMenu parameter.

# 2.49.7

Update Time: 2025-08-29

[New]

  1. Added proxy events for route changes of the web-view component of H5 applications and Mini-Programs.
  2. Added APIs for the Mini-Program entering the foreground and entering the background.

[Fixes]

  1. Fixed the issue where a mini-game may have a black screen or a relatively small game screen after opening.
  2. Fixed the issue where the playing video stops playing with a delay when a Mini-Program page redirects to another page.
  3. Fixed the issue where the Picture-in-Picture video stops playing when the camera component and the Picture-in-Picture small window exist at the same time.
  4. Fixed the issue where reloading after the trial version Mini-Program fails to open reports an error.
  5. Fixed the issue where clicking the shortcut added to the desktop cannot open the Host-App.
  6. Fixed the issue where the default color of the showModal button is incorrect.
  7. Fixed the issue where clearLocalApplets does not delete the usr directory data.
  8. Fixed the issue where rename/renameSync reports an error when the target path does not exist.
  9. Fixed the issue where clicking a share link may fail to open the Mini-Program when multiple ApiServers are initialized.

[Optimization]

  1. Optimized the submission logic of the complaint feedback page, encrypting the contact information before submission.
  2. Upgraded the release artifact from .framework to .xcframework to better support multiple architectures such as simulators and real devices.

# 2.49.5

Update Time: 2025-08-15

[New]

  1. Added the ability to inject custom JS during the loading of the Mini-Program App Service / Logic Layer.
  2. Added support for gesture zoom in the scanCode page.

[Fixes]

  1. Fixed the issue where older (roughly before 2021) sdkkeys cannot be initialized successfully in the new version of the SDK.
  2. Fixed the issue where the video has an obvious size change when exiting fullscreen when a swiper is nested with a video component.
  3. Fixed the issue where the cursor position of the bindblur event may be incorrect when switching between multiple input fields on a page.
  4. Fixed the issue where the input field corresponding to the bindkeyboardheightchange event triggered by switching between multiple input fields on a page is incorrect.
  5. Fixed the issue where the input text color on the Mini-Program page is not updated after changing the Mini-Program theme mode.
  6. Fixed the issue where switching focus and inputting among multiple input tags in a Mini-Program form may cause form data loss on iOS 26.
  7. Fixed the issue where the line spacing is not set when the line spacing of the textarea component is set to 0.
  8. Fixed the issue where opening multiple Mini-Programs consecutively may cause a crash.

[Optimization]

  1. Optimized the proxy protocol functions to optional implementations, avoiding the problem of forced full implementation of protocol methods in Swift projects.
  2. Optimized the addition of safety checks when releasing JSValue in the Mini-Program service layer.
  3. Optimized Mini-Program resource decompression and copying.

# 2.49.3

Update Time: 2025-08-01

[New]

  1. Added 2 APIs to MoreMenuHelper: re-enter Mini-Program and add to desktop.
  2. Added alignment of mini-game more menu items with H5 applications.
  3. Added support for the line spacing property of the textarea component.
  4. Added support for custom authorization popups.

[Fixes]

  1. Fixed the issue where MoreMenuHelper's open/close mini-game debug does not take effect.
  2. Fixed the issue where calling the startLocationUpdateBackground API with the scope permission selected as "When using the Mini-Program" is ultimately set to "Not allowed".
  3. Fixed the issue where applying for the same permission multiple times pops up multiple authorization popups.
  4. Fixed the issue where the start_fail event fields are incomplete after the Mini-Program resource download fails.
  5. Fixed the issue where the APP crashes when selecting an address of a contact on iOS 26.

[Optimization]

  1. Optimized the return value of the getAppBaseInfo API (added appVersion, runtimeSDKVersion, inFinChat, frameworkVersion fields).

# 2.49.1

Update Time: 2025-07-18 [New]

  1. Added support for displaying a red dot on the Mini-Program Capsule more button

[Fixes]

  1. Fixed the issue where the Mini-Program cannot update permissions through the API when permissions are not set.
  2. Fixed the issue where calling moveToLocation on native, Amap, Baidu, and Tencent maps does not trigger a permission request.
  3. Fixed the issue where apm events may be missing fields when Mini-Program information is obtained successfully but resource download fails.
  4. Fixed the issue where the fullscreen orientation does not determine the appropriate orientation based on the video width and height when an invalid parameter is set for the video fullscreen orientation parameter.
  5. Fixed the issue where the image is not grayed out when a more menu menu item is disabled.

[Optimization]

  1. Optimized the search results of Tencent Map chooseLocation.

# 2.48.11

Update Time: 2025-07-04

[New]

[Fixes]

  1. Fixed the issue where the more menu panel of the Mini-Program is empty if the Host-App hooks the reloadData method of UICollectionView on iOS 16 and below.
  2. Fixed the issue where the web-view component may report the error "Can't find variable: FinChatJSBridge".
  3. Fixed the readFile function to support reading large files (injecting new variables).
  4. Fixed the issue where Websocket may cause a crash during use.
  5. Fixed the issue where the native map causes the poi list to be empty during dragging.
  6. Fixed the issue where live-player triggers a stop playback event after the Mini-Program switches to the background.
  7. Fixed the issue where the contact popup does not adapt to Dark Mode.

[Optimization]

# 2.48.9

Update Time: 2025-06-20

[New]

  1. Added qps verification for offline Mini-Programs.

[Fixes]

  1. Fixed the issue where the navBarHeight data of getsystemInfo is incorrect after the Mini-Program navigateStyle is set to custom and the page loads the webview component.

  2. Fixed the issue where the recording frame data has no callback.

  3. Fixed the issue where Tencent Map chooseLocation may fail to search for results.

  4. Fixed the issue where the safe area data obtained when the home page is not yet displayed on the screen is incorrect.

  5. Fixed the issue where method swizzling in the crash prevention feature may cause circular calls leading to crashes.

  6. Fixed the issue where the screen recording event does not trigger the proxy callback when the Mini-Program opens a non-Mini-Program page such as the album image selection page.

  7. Fixed the issue where memory leaks may exist after the widget is destroyed. 【Optimizations】

  8. Optimized APM event reporting data, filling in some missing fields.

# 2.48.7

Update Time: 2025-06-06

【New Features】

  1. Added support for multiple instances of widgets.
  2. Added support for custom same-layer components.
  3. Added support for opening native pages and Mini-Program pages in embedded mode.

【Fixes】

  1. Fixed the issue where some objects are not released after destroying a Mini-Program.
  2. Fixed the issue where the Capsule Button is hidden when the permission request dialog is displayed.

# 2.48.5

Update Time: 2025-05-23

【New Features】

  1. Added an API to delete cache information for a specified user.
  2. Added support for performance proxy callbacks in H5 applications.
  3. Added support for the forceUpdate parameter when opening an online Mini-Program.

【Fixes】

  1. Fixed the issue where copyFile/copyFileSync fails when the destination path contains multi-level folders.
  2. Fixed the issue where launching a Mini-Program calls the get favorite status API when the favorite button in the more menu is set to hidden.
  3. Fixed the issue where the backgroundColor setting for a Mini-Program may not take effect.
  4. Fixed the issue where media queries do not take effect when the Mini-Program does not support darkMode.
  5. Fixed the issue where chooseFile may fail to select files on systems below iOS 14.
  6. Fixed the issue where adding cover-view on the webview component of a Mini-Program does not support updating and deleting.
  7. Fixed the issue where the native map marker does not display a default image when the image path does not exist.
  8. Fixed the issue where the loading page may remain displayed when the path parameter for launching a Mini-Program does not exist and the Mini-Program has no cache.

【Optimizations】

  1. Optimized the priority of the websocket persistent thread to avoid priority inversion issues that may occur on systems above 16.

# 2.48.3

Update Time: 2025-05-09

【New Features】

  1. Added message subscription feature.

【Fixes】

  1. Fixed the issue where the result callback is not triggered when returning to the previous page after setting enableAlertBeforeUnload.
  2. Fixed the issue where the websocket is not actively disconnected after the Mini-Program is cleaned up.
  3. Fixed the issue where the background color setting for a Mini-Program does not take effect.
  4. Fixed the issue where the camera component may crash when the frame data callback is enabled and the number of callback frames exceeds a certain threshold.
  5. Fixed the issue where hiding the settings, share, and re-enter menu items in the more menu of an H5 application does not take effect.
  6. Fixed the issue where editImage may not display the full image when rotating the image between landscape and portrait orientations.

【Optimizations】

  1. Optimized the previewMedia image preview experience.
  2. Optimized the white screen duration when launching the Mini-Program home page.
  3. Optimized the logic for pre-downloading the Base Library; if the Base Library exists locally, pre-downloading will not be triggered.

# 2.48.1

Update Time: 2025-04-18

【New Features】

  1. Added support for recording, location, and other related APIs in jssdk.
  2. Added support for the Host-App to inject JS code into the webview component.
  3. Added resource metric parameters to performance.

【Fixes】

  1. Fixed the issue where the video duration is displayed as 0 before playback in previewMedia video preview.
  2. Fixed the issue where clicking the play button in the bottom bar during previewMedia video preview does not play the video.
  3. Fixed the issue where the video component still triggers the bindplay event when loop is set to true and the video automatically replays from the beginning after finishing.
  4. Fixed the issue where the cancel callback information format of jssdk is incorrect.

Map

【Fixes】

  1. Fixed the issue with support for the show-compass attribute in Baidu Map.
  2. Fixed the issue where the cancel callback is not triggered when openMapApp is cancelled in native map.
  3. Fixed the issue where the cancel callback is not triggered when openMapApp is cancelled in Amap.
  4. Fixed the issue where the cancel callback is not triggered when openMapApp is cancelled in Baidu Map.
  5. Fixed the issue where the cancel callback is not triggered when openMapApp is cancelled in Tencent Map.
  6. Fixed the issue where choosePoi may not find results when searching by keyword.

# 2.47.11

Update Time: 2025-04-03

Update Content:

【New Features】

  1. The webview component of Mini-Programs now supports nested cover-view.

【Fixes】

  1. Fixed the issue where relaunch during hot start of a Mini-Program triggers the onShow event of the previously displayed page.
  2. Fixed the issue where the webview component of a Mini-Program opened in a custom area on iPad may not be visible.

【Optimizations】

  1. Optimized the file selection logic of the chooseFile API (file supports audio; all supports all file types).
  2. Optimized the handling of invalid colors in the setBackgroundColor method, adjusted to fail callback (prompting invalid color).

# 2.47.9

Update Time: 2025-03-21

Update Content:

【New Features】

  1. Added support for custom menus on long-press of Chinese text in Mini-Programs.
  2. Added support for configuring screenshot prohibition in the Mini-Program configuration file.
  3. Added size limits for readFile and readFileSync.

【Fixes】

  1. Fixed the issue where the videoBitrate and audioBitrate values returned by the bindnetstatus event of liveplayer are incorrect.
  2. Fixed the issue where the configuration items "hide more menu" and "hide close button" are missing when opening a Mini-Program via QR code.
  3. Fixed the issue where the playback rate cannot be modified after playback when innerAudio is not set to autoplay.
  4. Fixed the English naming error in the proxy property of the traceability feature.
  5. Fixed the issue where the file path contains plaintext userId when generating traceability log files for Mini-Programs.
  6. Fixed the issue where wildcards do not support domain names with underscores.
  7. Fixed the issue where getVideoInfo fails to retrieve information for large video files.
  8. Fixed the crash issue when readFile reads large files.

【Optimizations】

  1. Optimized by adding a Request base class for opening Mini-Programs, placing common fields from all Requests for opening Mini-Programs into the base class.

# 2.47.7

Update Time: 2025-03-07

Update Content:

【New Features】

  1. Added a priority configuration item for screenshot prohibition in FATConfig.
  2. Added support for passing a screenshot prohibition parameter when opening a Mini-Program.
  3. Added support for the traceability feature of Mini-Programs.
  4. Added the ability to refresh the current webView page.
  5. Added support for custom long-press menus by the Host-App for the image component, previewImage, and previewMedia of Mini-Programs.

【Fixes】

  1. Fixed the issue where the description for requesting the scope.getPhoneNumber permission does not read the permission configuration item in the Mini-Program's app.json.
  2. Fixed the issue where the displayed cluster points differ when switching between different data sources for Amap/Tencent Map point clustering and then switching back to the original data.
  3. Fixed the issue where the generateFinFilePath:pathType: method does not include the file extension when generating tmp and store paths for paths in the xxx.xxx format.
  4. Fixed the issue where the Mini-Program fails to read permission and request permissions in the combined scenario where the SDK initialization privacy policy is set to "do not request permissions if not configured" (authDescStrategy = FATAuthDescStrategyForbidden), the backend is not configured, and the Mini-Program has configured permission.
  5. Fixed the issue where background audio automatically plays after buffering data when paused during playback.
  6. Fixed the issue where switching the playback rate of background audio may fail.

【Optimizations】

# 2.47.5

Update Time: 2025-02-21

Update Content:

【New Features】

  1. Added support for customizing the prompt text of the permission authorization dialog in the Mini-Program app.json configuration file.

【Fixes】

  1. Fixed the issue where the video component cannot play normally when replaying after finishing due to the buffering strategy.
  2. Fixed the issue where the play button updates to a paused state after dragging the progress bar in the video component.
  3. Fixed the issue where the playback time may differ by 1 second after seeking to a specified time in the video component.
  4. Fixed the issue where the Subpackage of an offline store Mini-Program is downloaded multiple times when launching a Subpackage page.
  5. Fixed the issue where the screenshot button is no longer displayed on the page after setting controls=false in the video component, enabling fullscreen, clicking the lock screen button, and then clicking unlock again.
  6. Fixed the issue where the centered play button is always displayed during video playback when play-btn-position=center and controls=false in the video component.
  7. Fixed the issue where the share dialog also pops up for offline store Mini-Programs.
  8. Fixed the issue where playback fails when the playback URL of the video component/innerAudio/backgroundAudio contains Chinese characters or special characters.
  9. Fixed the issue where the Authorization field is added to the header after a successful websocket connection.
  10. Fixed the issue where the original Mini-Program cannot navigate pages normally after opening a native page in non-fullscreen mode from a Mini-Program, then opening another Mini-Program from the native page, and then closing the other Mini-Program and the native page in sequence.
  11. Fixed the issue where switching the playback rate during background audio playback in a Mini-Program causes playback to pause.

【Optimizations】

  1. Optimized the field content returned by the getSuperviseInfo API, uniformly changing the default value "NA" to an empty string.
  2. Optimized the openURL: function in the SDK, adjusting it to the new function openURL:options:completionHandler: for newer system versions.
  3. Optimized the APM event reporting for H5 applications/widgets/mini-games.

Map SDK

【Fixes】

  1. Fixed the issue where the callout view of markers in Amap may not be displayed.
  2. Fixed the issue where the poi list has no data when opening the chooseLocation page in native map.
  3. Fixed the issue where zindex does not take effect when adding polygons in native map, Amap, and Baidu Map.

# 2.47.3

Update Time: 2025-02-08

Update Content:

【New Features】

  1. Added saveFileToDisk, returning a "not supported" prompt.

【Fixes】

  1. Fixed the issue where the layout of the Mini-Program permission request dialog is abnormal when the Mini-Program name is too long.
  2. Fixed the issue where adding cover-view on the video component triggers click events when the cover-view scrolls.
  3. Fixed the issue where the centered play button is displayed when the play button position in the control bar is updated to center while the video component does not display the centered play button.
  4. Fixed the issue where the bottom control bar is not displayed when the centered play button of the video component is updated to hidden.
  5. Fixed the issue where the logo image on the Mini-Program about page has a border.
  6. Fixed the issue where the saved image is blank when the width and height parameters of canvasToTempFilePath are passed as 0.
  7. Fixed the issue where the padding setting of the callout view for markers in Amap, Baidu Map, and Tencent Map is displayed incorrectly.
  8. Fixed the issue where the scale parameter of the regionChange event in native map is not a numeric type.
  9. Fixed the issue where setting enable-poi to false in Amap affects poi click events.
  10. Fixed the issue where the translateMarker success callback in native map, Amap, Baidu Map, and Tencent Map is called before the animation completes.
  11. Fixed the issue where calling includePoints immediately after creating a Tencent Map may produce incorrect results.
  12. Fixed the issue where saving images to the album via long-press in previewImage/previewMedia of widgets fails.
  13. Fixed the issue where the returned image data does not match the selection order after selecting multiple images with chooseImage.
  14. Fixed the issue where dynamically modifying backgroundColorContent during hot start of a Mini-Program does not take effect.
  15. Fixed the issue where white screen detection causes hot start of a Mini-Program to possibly become a cold start.
  16. Fixed the issue where the centerOffset setting in Baidu Map does not take effect correctly.
  17. Fixed the crash issue caused by invalid parameters in setCenterOffset of Baidu Map.
  18. Fixed the issue where the startLocationUpdateBackground API still executes the success callback and can trigger listeners after permission is denied.
  19. Fixed the issue where createBLEPeripheralServer can still be called successfully after disabling Bluetooth permission in the Mini-Program settings page during Bluetooth usage.
  20. Fixed the issue where setting padding in includePoints of Baidu Map does not take effect.
  21. Fixed the issue where moveToLocation in Amap may not display poi points on the map.

【Optimizations】

  1. Optimized the data fields returned by getBluetoothDevices and onBluetoothDeviceFound in the Bluetooth SDK, adding the connectable field and handling other fields with default empty data.
  2. Optimized the theme color of chooseImage/chooseMedia related pages to blue.

# 2.47.1

Update Time: 2025-01-17

Update Content:

【New Features】

  1. Added a new configuration item in FATConfig: customPlatformHeader, supporting adding custom request headers to network interfaces.
  2. Added a new configuration item in FATConfig: enableScreenShot, configuring whether screenshot prohibition needs to be supported on systems above iOS 13.
  3. Added support for passing the backgroundColorContent parameter when opening a Mini-Program.

【Fixes】

  1. Fixed the issue where the "Cancel" menu still pops up on long-press in the preview interface when calling the previewMedia API with the showMenu parameter set to false.
  2. Fixed the issue where offline Mini-Programs do not need to display the privacy agreement.
  3. Fixed the issue where calling previewImage in mini-games does not open the corresponding page.
  4. Fixed the issue where the complaint and feedback feature opens abnormally/the specific type is not displayed on the complaint report page.
  5. Fixed the issue where previewImage image preview in widgets does not display.
  6. Fixed the theme adaptation issue of the map selection dialog popped up by the openLocation page in native map, Baidu Map, Amap, and Tencent Map.
  7. Fixed the issue where the markerId in the marker click callback event is not a numeric type in native map, Baidu Map, and Amap.
  8. Fixed the issue where widgets fail to open using local resource packages on first launch.

【Optimizations】

  1. Optimized the page navigation effect when navigateToMiniProgram opens a previously opened Mini-Program.
  2. Optimized the parsing of the showmunu parameter in previewImage/previewMedia; if the value is not of bool type, it is handled with the default value of true.

# 2.46.13

Update Time: 2025-01-03

Update Content:

【New Features】

  1. Added a new small window mode for opening Mini-Programs on iPad.
  2. Added support for the backgroundColorContent configuration item. [Fixes]
  3. Fixed a crash caused by parsing exceptions when base64ToTempFilePath data includes the prefix data:image/xxx;base64.
  4. Fixed the issue where the Base Library was not updated or downloaded in scenarios where the Base Library had updates but the Mini-Program did not.
  5. Fixed the issue where some data returned by getSystemInfo and getWidnowInfo was incorrect when opening a Mini-Program in non-fullscreen mode on iPad.
  6. Fixed the issue where data returned by getMenuButtonBoundingClientRect was incorrect when opening a Mini-Program in non-fullscreen mode on iPad.
  7. Fixed the issue where the height was incorrect when the Mini-Program more menu displayed 4 menus per page.
  8. Fixed the issue where the status bar was not displayed when the video Component was in portrait fullscreen mode.
  9. Fixed the crash issue when the cropImage image is a Code Package path.

# 2.46.11

Update Time: 2024-12-20

Update Content:

[New]

  1. Added integration of new APIs for getting and updating Mini-Program favorite status.

[Fixes]

  1. Fixed the issue where the "Get Favorited Mini-Program API" and "Mini-Program Favorite Status API" did not urlEncode userIds with special characters after encryption, causing API call exceptions.
  2. Fixed the crash issue on Mini-Program restart caused by the old service's "trial version" QR code parsing API not returning the Mini-Program id.
  3. Fixed the issue where the device orientation was not restored after exiting fullscreen in the video Component.
  4. Fixed the issue where opening a Subpackage page reported "page does not exist" after an Offline Package Mini-Program was packaged into the APP.
  5. Fixed the issue where switching to the tab page containing a web-view Component would show a blank page every time after the first switch, in scenarios where the tab root page hosts a web-view Component.

[Optimizations]

  1. Optimized the Custom API override of built-in API functionality.
  2. Optimized the page push-up effect when the input/textarea Component gains focus.
  3. Optimized the timing for hiding the Capsule Button.
  4. Optimized the background color display effect when opening Mini-Program pages.

FinAppletExt

[Fixes]

  1. Fixed the issue where the native map's enable-overlooking setting did not take effect.
  2. Fixed the issue where the native map's MapContext.getSkew returned "not supported".

# 2.46.9

Update Time: 2024-12-6

Update Content:

[New]

  1. Added APM event reporting for H5 applications and Mini-Games.
  2. Added the Mini-Program getPerformance API.

[Fixes]

  1. Fixed the issue where share channel icons were not displayed in the Mini-Program share panel.
  2. Fixed the issue where the size displayed as 0 when selecting videos with chooseMedia.
  3. Fixed the issue where the duration returned when recording pcm format audio was not in ms.

[Optimizations]

  1. Optimized the display content of "Service Privacy and Data Notice" on the About page in the default state.
  2. Optimized the issue where some profile data returned in the request api was not accurate enough.
  3. Optimized the font color of the showActionSheet popup when the public UI is configured for Dark Mode and the itemColor parameter is not passed.

# 2.46.7

Update Time: 2024-11-22

Update Content:

[New]

  1. Added watermark support for public pages.

[Fixes]

  1. Fixed the issue where the prompt dialog for H5 application link domain verification failure displayed abnormally.
  2. Fixed the issue where the Capsule Button appeared in screenshots when the video Component was in fullscreen mode.
  3. Fixed the issue where the page stack managed by the SDK became abnormal when a side-swipe back gesture on a non-Mini-Program page was cancelled during the process.

FinClipTXMapExtSDK

[New]

  1. Added padding property support for Tencent Map includePoints.

[Fixes]

  1. Fixed the issue where cluster points occasionally did not respond to clicks after updating the zoomOnClick property in Tencent Map.
  2. Fixed the issue where the iconPath image was displayed after enabling displayWithCallout for custom views of Tencent Map markers.

FinClipGDMapExtSDK

[New]

  1. Added point clustering functionality for AMap.
  2. Added padding property support for AMap includePoints.

# 2.46.5

Update Time: 2024-11-08

Update Content:

[Fixes]

  1. Fixed the issue where opening a url in webview within a Mini-Program did not proactively load the redirect address.
  2. Fixed the issue where opening a Subpackage page in a Mini-Program occasionally kept loading.
  3. Fixed the issue where clicking the fullscreen button occasionally did not respond after the video Component entered landscape mode.
  4. Fixed the white screen issue for H5 applications on systems below iOS 11.
  5. Fixed the crash issue caused by passing an object type as the delay parameter of the setTimeout function in a Mini-Program.
  6. Fixed the issue where setting "do not compress video" in chooseMedia and chooseVideo did not take effect.
  7. Fixed the issue where recoredManager recording could not specify a specific microphone source.
  8. Fixed the issue where dragging the progress bar did not take effect after the video Component entered fullscreen mode.
  9. Fixed the issue where the H5 application webview height did not include the bottom safe area.

[Optimizations]

  1. Optimized the Mini-Program batch update logic.
  2. Optimized the display position of the fullscreen toolbar and buttons in the video Component.

# 2.46.3

Update Time: 2024-10-25

Update Content:

[New]

  1. Added a delegate method for widget content height (onWidgetView:contentSizeUpdate:).
  2. Added the Mini-Program Subpackage Asynchronization feature.

[Fixes]

  1. Fixed the issue where injected menus were not validated against whether the Mini-Program implemented them when the backend-configured menu item was nil in the Mini-Program more menu (RT-43600).
  2. Fixed the issue where the brightness adjustment icon was not centered when adjusting brightness via gestures after the video Component entered fullscreen mode.
  3. Fixed the issue where the original video page did not trigger the onunload event when Picture-in-Picture was enabled via pop and the Mini-Program closed Picture-in-Picture through VideoContext.exitPictureInPicture, or when Picture-in-Picture was closed using other components that support Picture-in-Picture.
  4. Fixed the issue where calling startBluetoothDevicesDiscovery directly without first calling openBluetoothAdapter for initialization after re-entering from the more panel would execute the success callback.
  5. Fixed the issue where calling the startBluetoothDevicesDiscovery api did not show a popup for authorization when the backend changed Bluetooth permissions to require a popup requesting scope permission on every call.
  6. Fixed the issue where the vconsole button was obscured when the widget was displayed in fullscreen mode.
  7. Fixed the issue where the widget displayed abnormally in scenarios where the app opened the widget using auto layout.
  8. Fixed the issue where the Mini-Program api makePhoneCall was ineffective on iOS 18 systems for projects built with Xcode 16.
  9. Fixed the issue where video playback could not resume normally after being paused for a period of time in the video Component.
  10. Fixed the issue where vconsole disappeared after opening vconsole in a Mini-Program, clicking the more menu to enter the settings page, and then returning to the Mini-Program page.
  11. Fixed the issue where the vconsole button position jumped when returning to the previous page after opening a webview redirect address in a Mini-Program.

[Optimizations]

  1. Optimized the error page for Mini-Program Subpackage loading and trial version loading failures (supports custom configuration, takes effect with baseLoadFailedViewClass).
  2. Optimized Mini-Program page stack management (manages the Mini-Program page stack separately, independent of the system navigation controller page stack).
  3. Optimized Mini-Program favorite-related APIs (prioritizes calling the new API, falls back to the old API on failure).
  4. Optimized the content display and layout logic of the Mini-Program About page.
  5. Optimized the Mini-Program request and downloadFile APIs, adding profile information to return values.

# 2.46.2

Update Time: 2024-10-16

Update Content:

[Fixes]

  1. Fixed the bug where Mini-Programs could not select all album images when calling chooseImage/chooseMedia Api on systems running iOS 18.0 or above with projects built using Xcode 16. [Cause: The behavior of PHAssetCollectionSubtypeAlbumRegular changed in Xcode 16.]

# 2.46.1

Update Time: 2024-10-12

Update Content:

[New]

  1. Added sendSms api (launches the phone's SMS sending interface).
  2. Added support for widgets to dynamically enable vconsole via setEnableDebug.
  3. Added support for the quality parameter in the camera Component's takePhoto.
  4. Added support for injecting custom menus in the H5 application more menu, and added a clear cache menu item to the H5 application more menu.

[Fixes]

  1. Fixed the bug where landscape/portrait orientation switching based on Mini-Program page configuration items was abnormal in some scenarios.
  2. Fixed the bug where Mini-Games could not listen to onNetworkStatusChange.
  3. Fixed the bug where the Mini-Program page lifecycle order was abnormal in Picture-in-Picture scenarios.
  4. Fixed the bug where the background audio playback button and the screen casting button overlapped when displayed simultaneously in the Video Component.
  5. Fixed the bug where no error popup appeared when opening a Mini-Program with a disabled bundleId and existing cache.
  6. Fixed the bug where calling startCompass did not trigger a callback.
  7. Fixed the bug where Mini-Games calling startCompass did not receive compass data callbacks.
  8. Fixed the issue where opening a tabbar Mini-Program, switching the APP to the background, and then switching back to the foreground after a period of time resulted in a white screen when switching to other tab pages.
  9. Fixed the issue where reloading the page resulted in a white screen after Subpackage loading failure in a tabbar Mini-Program.
  10. Fixed the issue where websocket did not callback the onclose event when the network was disconnected.
  11. Fixed the bug where previewing PDF files on iOS 18 systems could potentially show garbled text.
  12. Fixed the bug where pushing from a Mini-Program page to a native interface, then presenting to another native interface, and dismissing the last native page would trigger the onShow event.
  13. Fixed the bug where the String url encode utility method did not take effect for special symbols such as = and &.
  14. Fixed the bug where H5 applications crashed on re-entry on iOS 10 systems.
  15. Fixed the issue where the vconsole button position moved upward when switching tabs in a tabbar Mini-Program.

[Optimizations]

  1. Optimized the error prompt when non-review applications scan the review version QR code.
  2. Optimized Mini-Program UI and loading animations.
  3. Optimized the parameters of the forward delegate method, adding appLink.

ContactSDK:
[New]

  1. Added chooseContact api (launches the phone's contacts, selects a contact).

ExtSDK:
[Fixes]

  1. Fixed the issue where recorded audio could not be played on systems above iOS 17.
  2. Fixed the bug where recording aac format audio crashed on iOS 18 systems.

Wechatextsdk:
[Optimizations]

  1. Optimized the login/requestPayment implementation in the WeChat Extension SDK, supporting the envVersion parameter.

# 2.45.11

Update Time: 2024-09-20

Update Content:

[New]

  1. Added the hideLoadingAndHomeBackButtonWhenPushStyle parameter, which supports hiding the loading and home page back button when opening a Mini-Program with push animation.
  2. Added delegate events for web-view loading H5 links.
  3. Added point clustering support for Tencent Map.

[Fixes]

  1. Fixed the bug where switching between videos of different resolutions in live-player caused the page to be magnified.
  2. Fixed the issue where the Mini-Program custom tabbar was not displayed when the current Tab page displayed a webview.
  3. Fixed the issue where the widget page configuration "disableScroll":true did not take effect.
  4. Fixed the issue where the widget displayed text at an incorrect size.
  5. Fixed the issue where the map was not displayed when using Baidu Map in a Mini-Program.
  6. Fixed the issue where some systems experienced network exceptions during the process of opening a Mini-Program via scheme from the Safari browser when there was no local Mini-Program cache.

[Optimizations]

  1. Optimized the display effect of custom callout bubbles for map markers.

# 2.45.9

Update Time: 2024-09-06

Update Content:

[New]

  1. Added the config item memberUserId, which supports separately setting user identifiers for trial and development members.
  2. Added the getWebViewUrlSync Mini-Program Api.

[Fixes]

  1. Fixed the issue where H5 applications could not automatically update after publishing a new version.
  2. Fixed the compilation error issue after integrating the new version SDK into Swift projects (added nonull, making some api parameters non-nullable, causing compilation errors).
  3. Fixed the issue where Picture-in-Picture effects appeared when navigating to About, Settings, and other pages after enabling Picture-in-Picture on pages containing video, live-player, and live-pusher Components.
  4. Fixed the issue where the internationalization language was inconsistent between the Mini-Program shared UI and API requests when both language and customLanguagePath were configured.
  5. Fixed the crash issue when two Mini-Programs called each other via the navigateToMiniProgram api.
  6. Fixed the issue where a horizontal line appeared in the vertical center of the playback view when clicking Picture-in-Picture to return to the original interface after Picture-in-Picture video playback completed.

[Optimizations]

  1. Optimized the Baidu Extension SDK configuration, removing the dependency on version 6.5.5.
  2. Optimized the error messages for Mini-Program api call failures (adjusted to English, e.g., api not implemented, api not registered on the platform).
  3. Optimized the Mini-Program object FinAppletInfo to dictionary conversion logic, adding convertToDictionary.
  4. Optimized widget logic, adding APM events for startup, startup completion, and shutdown.

# 2.45.7

Update Time: 2024-08-23

Update Content:

【New】

  1. Added support for setting theme mode when opening Mini-Programs.
  2. Added new field ignoreAppDelegateSupportedInterfaceOrientations to FATUIConfig.

【Fixes】

  1. Fixed the white screen issue caused by immediately calling reLaunch or redirectTo after navigateTo.
  2. Fixed the issue where saveFileSync did not validate whether filePath is empty.
  3. Fixed the issue where the image height is 1px less than the original after rotating the image 90 degrees in editImage.
  4. Fixed the issue where scrollview cannot scroll in specific scenarios on systems below iOS 13.
  5. Fixed the issue where the input component's position is incorrect after focusing when the fixed property is set and there are other scroll views on the page.
  6. Fixed the issue where chooseMedia cannot properly read video data after selecting a video on iOS 18.
  7. Fixed the crash caused by the path parameter of navigateToMiniprogram being a non-string.
  8. Fixed the issue where getFileInfo returns success when passing a network address on higher version systems.
  9. Fixed the issue where the textarea component's height is not updated after setting text via button click in Mini-Programs.
  10. Fixed the crash when opening Mini-Programs via uni-app.

【Optimizations】

  1. Optimized APM statistics by adding js_error type APM events.
  2. Optimized the Mini-Program startup loading failure screen by adding a "Reload" feature.
  3. Optimized the logic to force clear memory cache when closing a Mini-Program if the current Mini-Program page is a white screen.
  4. Optimized API Chinese text by changing it to English text.
  5. Optimized the pull-down refresh effect on Mini-Program pages.

# 2.45.5

Update Time: 2024-08-09

Update Content:

【Fixes】

  1. Fixed the issue where calling navigateTo immediately after openDocument cannot properly open the page.
  2. Fixed the crash that may occur when the Host-App uses masonry layout.
  3. Fixed the crash caused by calling previewMedia in onload during Mini-Program hot start.
  4. Fixed the crash of the textarea component caused by the Host-App integrating third-party UITextView libraries.
  5. Fixed the issue where chooseMedia occasionally fails to select one or more videos when selecting multiple videos.
  6. Fixed the white screen issue when opening Mini-Programs on systems below iOS 11 after the Host-App integrates the Umeng SDK.
  7. Reverted the handling logic in version 2.45.3 that displayed a back button when web-view loads (https://www.pgyer.com/tools/udid).
  8. Fixed the issue in version 2.45.3 where the video component's fullscreen mode does not take effect due to crash prevention implementation for landscape/portrait orientation.
  9. Fixed the issue where the textarea component's placeholder does not support setting text-align.
  10. Fixed the issue where inneraudio does not trigger the timeupdate event when playback continues after foreground/background switching.

【Optimizations】

  1. Optimized the timer implementation logic (removed redundant thread handling logic, stops timers when destroying Mini-Programs, and checks timer objects).

# 2.45.3

Update Time: 2024-07-26

Update Content:

【New】

  1. Added support for the disableBackForwardGesture configuration item in Mini-Program app.json and page.json (whether to disable swipe-back gesture for returning to the previous page).

【Fixes】

  1. Fixed the memory leak issue caused by frequent network API calls in Mini-Programs.
  2. Fixed the issue where the text change listener is not triggered when a system dialog appears while pasting text from the clipboard in input/textarea.
  3. Fixed the issue where recording cannot be restarted after closing a Mini-Program during recording and then triggering reLaunch upon restarting.
  4. Fixed the issue where the uploadFile API can successfully upload files that do not exist in the Mini-Program package.
  5. Fixed the issue where the duration (returned as 0) of PCM format audio recorded by recordManager is incorrect.
  6. Fixed the crash caused by setting non-string type data in the header of request/uploadFile/downloadFile.
  7. Fixed the issue where the navigation bar title and back button disappear during the swipe-back gesture on the settings page.
  8. Fixed the issue where tapping a Mini-Program list item does not respond after first swiping back on the permission list page.
  9. Fixed the occasional crash caused by the Mini-Program id being nil in viewDidDisappear.
  10. Fixed the issue where scanCode abnormally scans UEAN-13 and UPC-A type barcodes.
  11. Fixed the crash when calling chooseLocation on iOS 13.0 and below.

【Optimizations】

  1. Optimized the page_hide/applet_hide/page_load events reported by APM.
  2. Optimized the previewMedia API to support poster images from the code package.
  3. Optimized the canGoBack check for the webView component, fixing the issue where a back button appears when the Mini-Program home page loads H5.
  4. Optimized the live-pusher component to support the mode parameter and improved streaming clarity. [Fixed the issue where setting clarity during streaming has no effect]
  5. Optimized the view controller landscape/portrait orientation handling logic in the SDK to avoid crashes when rotating to an orientation not supported by the application.

# 2.45.1

Update Time: 2024-07-12

Update Content:

【New】

  1. Added FATConfig configuration items phone and channel.
  2. Added readCompressedFile and readCompressedFileSync APIs.

【Fixes】

  1. Fixed the issue where reloadPage after a Mini-Program page white screen causes the Base Library page stack count to be incorrect.
  2. Fixed the issue where the onBLEConnectionStateChange event is not triggered after turning off Bluetooth on the phone, and the issue where the onBLEConnectionStateChange event is not received after calling closeBLEConnection.
  3. Fixed the issue where readFile reports permission denied when reading files in the code package path.

【Optimizations】

  1. Optimized all management console API request header parameters in the SDK by adding the mop-app-version field.
  2. Optimized cookie storage for the web-view component after iOS 17, isolating between Mini-Program and Host-App, and between Mini-Programs.

LiveSDK:

【Optimizations】

  1. Optimized live-player to support playing H265 format streams;

# 2.44.11

Update Time: 2024-06-28

Update Content:

【Fixes】

  1. Fixed the potential crash when the canvas component's type is configured as webgl.
  2. Fixed the issue where the camera component may record video without sound.
  3. Fixed the issue where the input component automatically closes the keyboard in certain situations after focusing.
  4. Fixed the issue where the camera component's frame data callback is incorrect on lower version systems.
  5. Fixed the issue where the last frame marker of the recordManager audio frame data callback is incorrect.
  6. Fixed the issue where recordManager's audio framesize does not take effect.
  7. Fixed the issue where the data size of the last frame in recordManager's audio frame data callback may be 0.
  8. Fixed the crash when the picker component pops up when the host project only supports landscape orientation.
  9. Fixed the issue where the openSetting success/complete callback trigger timing is incorrect.
  10. Fixed the occasional incorrect position after pull-down refresh completes.
  11. Fixed the issue where inneraudio does not trigger the onplay event in two scenarios: resuming playback after pause, and continuing playback after foreground/background switching.
  12. Fixed the issue where the file extension of PCM format audio recorded by recordManager is not pcm.
  13. Fixed the issue where the actual format of WAV format audio recorded by recordManager is caf.
  14. Fixed the issue where there is a chance of abnormal behavior when opening a Mini-Program for the first time after updating the Base Library version.

【Optimizations】

  1. Optimized the display effect of text-only Toast.
  2. Optimized the LivePlayer live stream stuttering issue.

# 2.44.9

Update Time: 2024-06-14

Update Content:

【New】

  1. Added initialization configuration item (authDescStrategy), supporting displaying default descriptions in permission dialogs and prohibiting calls to related permission APIs when not configured.
  2. Added finfile path related APIs (generateFinFilePath:pathType: and absolutePathWithAppletId:finFilePath:needFileExist:).

【Fixes】

  1. Fixed the incorrect administrative division data in region picker (administrative divisions and postal codes of Hubei-Xiantao City, Xinjiang-Baiyang City, Xinjiang-Xinxing City).
  2. Fixed the issue where the bottom cancel button border of the picker component is not displayed in light mode.
  3. Fixed the issue where the image displays abnormally after rotation when cropping images with cropImage.
  4. Fixed the issue where the keyboard may close after entering text in the input component under special circumstances.
  5. Fixed the issue where characters cannot be deleted after re-focusing the input component in specific scenarios.
  6. Fixed the issue where the Bluetooth SDK reports error 10007 when writing data to Bluetooth settings with writeType set to write.
  7. Fixed the issue where the data field is missing when the request API succeeds with no data returned (returns data:"").
  8. Fixed the issue where chooseImage, chooseMedia, and chooseVideo report errors in Mini-Games.
  9. Fixed the issue where a widget id cannot be properly opened via widget method after first being opened via Mini-Program method.

【Optimizations】

  1. Optimized the online Mini-Program loading logic to support specifying the Base Library for Mini-Programs (requires backend upgrade to cloud version).

# 2.44.7

Update Time: 2024-05-31

Update Content:

【New】

  1. Added editImage and cropImage APIs.
  2. Added support for triggering custom menu delegate methods when clicking the more button in H5 applications.
  3. Added FATStoreConfig configuration item encryptUserId, which can encrypt userId (requires backend service upgrade to 1.4.1 or above).
  4. Added support for injecting custom APIs in H5 applications.
  5. Added support for configuring navigation bar styles in H5 applications.
  6. Added Mini-Program foreground and background events for H5 applications.
  7. Added support for fullscreen mode in H5 applications.
  8. Added support for the Host-App to send onCustomEvent events to H5 applications.

【Fixes】

  1. Fixed the issue where recording cannot start after restarting the Mini-Program when opening debug mode from the more menu during recording.
  2. Fixed the occasional crash when widgets receive synchronization events.
  3. Fixed the issue where the Tencent Map marker's bubble view displays abnormally.
  4. Fixed the issue where the textarea component scrolls to the top when entering text in specific scenarios.
  5. Fixed the issue where the original image size read by chooseImage from the album is incorrect for some images.

【Optimizations】

  1. Optimized the getAppletPrivacyInfoWithAppletId:apiServer:completion API by adding the updateTime property to the returned object.
  2. Optimized chooseImage to support image editing functionality.
  3. Optimized AMap marker bubble view to support the always property.
  4. Optimized the picker component's administrative region data, updated to the latest 2024 administrative division version.

# 2.44.5

Update Time: 2024-05-17

Update Content:

【New】

  1. Added getBindAppletsWithRequest:completion (get bound Mini-Program list) method.
  2. Added themeStyle property to support configuring the Mini-Program's theme mode.

【Fixes】

  1. Fixed the issue where cover-view is not displayed under special circumstances.
  2. Fixed the issue where openDocument reports an error when the file name contains a directory.
  3. Fixed the white screen issue caused by incorrect Subpackage reading for Subpackage pages.
  4. Fixed the crash caused by custom data in the picker component.
  5. Fixed the occasional incorrect cursor position after pasting text in the input component.
  6. Fixed the issue where Mini-Programs fail to open after the Host-App integrates certain file management SDKs.
  7. Fixed the issue where the safeArea parameter in getSystemInfo return data is incorrect.

# 2.44.3

Update Time: 2024-04-26

Update Content:

【Fixes】

  1. Fixed the issue where integrating the third-party library FDFullscreenPopGesture causes the loading page to display the system navigation bar and the Capsule Button position to be incorrect.
  2. Fixed the compression package verification failure caused by an externally implemented function with the same name sha256 digest function (convertDataToHexStr) (prefix added).
  3. Fixed the issue where network requests occasionally do not read from cache in weak network environments.
  4. Fixed the occasional error when TCPSocket receives messages.
  5. Fixed the issue where the APM event (applet_start) for Mini-Program startup completion cannot be counted.
  6. Fixed the occasional issue where chooseLocation's setRegion parameter is infinity.

【Optimizations】

  1. Optimized input component content input by restricting the input content to only the specified character set when type is set to number, idcard, or digit.

# 2.44.1

Update Time: 2024-04-12

Update Content:

【New】

  1. Added applet:shouldChangePrivacyClickAction: delegate method to support custom privacy agreement click events.
  2. Added widget functionality.

【Fixes】

  1. Fixed the issue where photos taken by the camera component are not clear enough on some device models.
  2. Fixed the issue where resource loading fails when the offline H5 application's resource path contains Chinese characters.
  3. Fixed the issue where holdkeyboard does not take effect for input/textarea components on iOS 12.
  4. Fixed memory leak issues in Mini-Programs and Mini-Games.
  5. Fixed the issue where the orientation corresponding to the camera component's frame data is incorrect.

【Optimizations】

  1. Optimized the WKWebView configuration in the SDK by uniformly adding userAgent.
  2. Optimized cover-view release when Mini-Programs are cleaned up.
  3. Optimized same-layer rendering component event responses to avoid conflicts between input and textarea component focus and tap gestures.
  4. Optimized the PrivacyInfo privacy file by adding NSPrivacyAccessedAPICategoryDiskSpace and NSPrivacyAccessedAPICategoryFileTimestamp.
  5. Optimized the live component to support the picture-in-picture-mode property.
  6. Optimized the permission dialog control feature for online Mini-Programs, supporting the management console to configure permission dialog frequency.
  7. Optimized the offline H5 application opening feature to support setting query parameters.

# 2.43.11

Update Time: 2024-03-29

Update Content:

【New】

  1. Added registerWkWebViewURLSchemeHandler:forURLScheme: method to support injecting custom scheme protocols in webView.

【Fixes】

  1. Fixed the issue where the marker icon displays too large (the set width and height do not take effect) when adding markers to native maps.
  2. Fixed the issue where the Capsule Button reappears after the video component enters and exits fullscreen when the page is configured to not display the Capsule Button.
  3. Fixed the crash when clicking "Go to Trial Version" on the trial version pre-page when the Mini-Program information has not been successfully requested.
  4. Fixed the issue where the Mini-Program in memory is not cleared when the exitMiniProgram event is received simultaneously during the Mini-Program closing process.
  5. Fixed the issue where webview cannot scroll when page-container is displayed.
  6. Fixed the issue where the marker in multiple-map is not at the center point.
  7. Fixed the issue where location fails and stops locating after calling startLocationUpdate.

【Optimizations】

  1. Optimized the more panel to support the new menu style FATMoreViewStylePage, allowing the management console to configure built-in menu names, logos, and the order of built-in and custom menus.

# 2.43.9

Update Time: 2024-03-16

Update Content:

【New】

  1. Added proxy method to set custom privacy protocol name and link address for Mini-Programs.

【Fixes】

  1. Fixed the issue where the keyboard could not pop up for input/textarea components on iOS 17.4.
  2. Fixed the issue where the live component displayed abnormal filling after rotating the screen.
  3. Fixed the issue where when Mini-Program A opens Mini-Program B, and B clicks the close button to close the Mini-Program, subsequently triggering B's exitMiniProgram would also close Mini-Program A.
  4. Fixed the issue of text offset when entering the complaint and feedback page in landscape mode.
  5. Fixed the issue of abnormal return after successfully submitting feedback on offline H5 pages.
  6. Fixed the issue where the location information displayed on the native map chooseLocation page lacked province/city/district information.
  7. Fixed the issue where the location information displayed on the AMap chooseLocation page lacked province/city/district information.
  8. Fixed the issue where some location information displayed on the Baidu Map chooseLocation page lacked province information.
  9. Fixed the issue where two innerAudio instances could not play simultaneously on the same Mini-Program page.
  10. Fixed the issue where getSystemInfoSync occasionally failed to be called on Mini-Program pages.

# 2.43.7

Update Time: 2024-03-01

Update Content:

【New】

  1. Added APIs for deleting cookies for a specified URL (deleteCookiesWithURL:completionHandler:) and deleting all cookies (deleteAllCookiesWithCompletionHandler:).
  2. Added privacy manifest file (PrivacyInfo.xcprivacy).

【Fixes】

  1. Fixed the issue where the complaint and feedback page was incompatible with older backend service interfaces.
  2. Fixed the issue where the offline package configuration for online Mini-Programs did not take effect (abnormal in versions after 2.43.1, fixed in version 2.43.7).
  3. Fixed the issue where the header was missing in the success callback of downloadFile/uploadFile.
  4. Fixed the issue where the live-pusher component had an extremely low probability of the screen freezing during streaming.
  5. Fixed the issue where the API for obtaining the Mini-Program privacy protocol would fail when called before the Mini-Program was opened.
  6. Fixed the issue where cold start triggered by a new version with memory cache would cause service loading timeout.

【Optimizations】

  1. Optimized the scanCode API's handling of barcode results (removing leading zeros).
  2. Optimized the Base Library's reading of window width and height (the page layer supports getSystemInfo and getSystemInfoSync events).
  3. Optimized the timing of onHeadersReceived, onChunkReceived, and success callbacks for request/downloadFile/uploadFile.
  4. Optimized the live-player component to support the orientation attribute.
  5. Optimized the statistical information of APM reporting events (added network type information).

# 2.43.5

Update Time: 2024-02-04

Update Content:

【New】

  1. Added proxy classes related to network requests and their corresponding comments.
  2. Added support for RequestTask.onChunkReceived.
  3. Added stat/statSync support for the new compression library's handling of folders within Mini-Program packages.

【Optimizations】

  1. Optimization of image loading: caching network image requests and merging multiple requests within a short period.
  2. Updated SDKKey decryption verification logic.
  3. Optimized the complaint and feedback interface by changing Content-Type to JSON.
  4. Optimized tabbar icons to be compatible with Mini-Program package paths starting with "./".
  5. Optimized the scenario where a Mini-Program unavailable dialog is displayed during update checks. (Error codes: 20000-20006, 20008-20010, 20024, 20025)

【Fixes】

  1. Fixed the issue where previewMedia did not support playing video files with finfile paths.
  2. Fixed the issue where previewMedia video files with finfile paths did not display cover images.
  3. Fixed the issue where the previewMedia loading animation did not take effect.
  4. Fixed the issue where the input component would still float on the page after editing was completed in a multi-layered nested scrollview.
  5. Fixed the issue where the textarea component occasionally did not wrap lines properly when inputting text.
  6. Fixed the issue of abnormal page preview when opening the Camera consecutively.
  7. Fixed the issue where tabbar icons would not display when entering certain configured pages via entryPagePath in app.json.
  8. Fixed the issue where the current tabbar icon would switch to an unselected state when clicked.
  9. Fixed the issue where the route queue's swipe-back and enableAlertBeforeUnload being triggered simultaneously could cause route confusion.
  10. Fixed the issue where the content-type of mp3 files uploaded via the uploadFile API was incorrectly identified as image/tiff.
  11. Fixed the issue where the textarea component had a probability of not fully displaying large amounts of copied text.
  12. Fixed the issue where cover images were not displayed after switching between multiple videos in previewMedia.
  13. Fixed the issue where the tabbar image was not displayed after launching from an Independent Subpackage and navigating to a Main Package page when using the new compression package.
  14. Fixed the issue of event penetration after Mini-Program dialogs on systems below iOS 13.
  15. Fixed the issue where the textarea component's bindconfirm was not triggered properly.
  16. Fixed the issue where the confirmHold attribute of textarea did not take effect in certain Mini-Programs.
  17. Fixed the issue of remote debugging on iOS.

# 2.43.3

Update Time: 2024-01-19

Update Content:

【New】

  1. Added getLocalIPAddress API;
  2. Added getLatestUserKey API;
  3. Added isFile and isDirectory fields to stat/statSync/fstat/fstatSync APIs;
  4. Added sha256 file digest information to getFileInfo;
  5. Added toDataURL API support for native Canvas;

【Optimizations】

  1. Optimized Subpackage Preload prompt information;

【Fixes】

  1. Fixed the issue where fstat did not support finfile://store and finfile://tmp addresses;
  2. Fixed the issue where updating only the placeholder text of the input component did not take effect;
  3. Fixed the issue where the input component could not correctly switch to other keyboard types when the keyboard type was set to idcard;
  4. Fixed the occasional crash issue of evaluateScript in the App Service layer;
  5. Fixed the issue where the JSCoreService object and resident threads were not released after the Mini-Program was destroyed;
  6. Fixed the issue where the Capsule Button would call Mini-Program details twice on restart in some Mini-Programs;
  7. Fixed the issue where the Capsule Button in the upper right corner was not displayed after hiding the custom permission view;
  8. Fixed the issue where getAppletAuthSetting did not return previously requested custom permissions when retrieving requested Mini-Program permissions;
  9. Fixed the issue where log upload failure would keep loading;
  10. Fixed the issue where clearing the cache did not clear the current Mini-Program logo;
  11. Fixed the issue where appJsonInfo was empty during hot start in offline scenario 3;
  12. Fixed the issue where the saved version type was incorrect after restarting after opening a non-official version Mini-Program from the offline App Store;
  13. Fixed the issue where BigData transmission caused thread blocking and API delayed callbacks;
  14. Fixed the crash issue when re-entering the Mini-Program after starting recording with Camera;
  15. Fixed the issue where the Capsule Button did not show a location indicator after enabling location;
  16. Fixed the issue where navigateBackMiniProgram failed after calling navigateToMiniProgram from a Mini-Program;
  17. Fixed the issue where the recorderManager's frame data callback occasionally caused the Mini-Program to freeze;

# 2.43.1

Update Time: 2024-01-05

Update Content:

【New】

  1. Added a "Clear Cache" menu item in the more panel, supporting closing the Mini-Program and clearing its cache.
  2. Added a series of CacheManager APIs.
  3. Added handleWebviewPreload configuration item and preloadWebView API.
  4. Added support for data pre-pull and Periodic Update as well as related APIs.

【Optimizations】

  1. Optimized the TCPSocket connect API to support the timeout parameter.
  2. Optimized the picker component: updated the administrative region data source to the latest 2023 data, added pickerRegionPath configuration item to Config, supporting custom administrative region data configuration (JSON file format).
  3. Optimized the Mini-Program cache release logic: when the number of opened Mini-Programs exceeds 5, the first opened ones are released first, and those playing background audio or having opened other Mini-Programs are released later.
  4. Optimized the Mini-Program about page layout (adjusted to title on top and content below to adapt to internationalization).
  5. Optimized Log output within the SDK (reduced unnecessary Info-level logs, duplicate logs, event parameter printing, etc., to reduce log size).
  6. Optimized the Tencent Map Extension SDK to be compatible with Tencent Map 4.5.13 and later versions.
  7. Optimized the enableAlertBeforeUnload API to also support dialog prompts during swipe-back.
  8. Optimized the MD5 verification failure prompt after downloading the Base Library for offline Mini-Programs.

【Fixes】

  1. Fixed the issue where SVG format images were not supported starting from version 2.42.13.
  2. Fixed the crash issue caused by the third-party library Aspects using KVO to monitor WebView.scrollView's background color within the SDK.
  3. Fixed the issue where label content was not displayed when the Map component in the Baidu Extension SDK displayed bubbles as markers.
  4. Fixed the issue where the textarea component's height calculation was incorrect in special scenarios when height auto-adaptation was set.
  5. Fixed the issue where route events occasionally failed after swipe-back when the web-view component loaded an H5 page and navigated to a secondary link.
  6. Fixed the issue where page-container gesture return was abnormal and navigateBack could not return.
  7. Fixed the issue where the vconsole entry was not displayed after successfully loading the page when re-downloading the code package on the Subpackage download failure error page.
  8. Fixed the issue where no image was drawn when the canvas component executed bezierCurveTo directly without first executing moveTo, with control point 1 being (0,0).

# 2.42.13

Update Time: 2023-12-23

Update Content:

【New】

  1. Added getVideoInfo and getAvailableAudioSources APIs.
  2. Added restartMiniProgram API.
  3. Added onMemoryWarning and offMemoryWarning.

【Optimizations】

  1. Optimized the compression package format for Mini-Programs and Base Libraries to improve compression ratio and reduce size.
  2. Optimized API calls after the camera component is hidden or removed, adding failure callback information.
  3. Optimized the status information returned by getBluetoothAdapterState.
  4. Optimized the Picker component by adding compatibility handling when abnormal parameters are passed.
  5. Optimized the implementation of cold start/hot start for non-official versions.
  6. Optimized the API for opening Mini-Programs: added reLaunch parameter to request, supporting configuration of conditions for triggering reLaunch during Mini-Program hot start;

【Fixes】

  1. Fixed the issue where the height returned by the video component's bindloadedmetadata event was incorrect.
  2. Fixed the issue where the Live component occasionally had no sound when using third-party tools to pull the stream during streaming.
  3. Fixed the issue where FileSystemManager.read reported an exception when reading empty files.
  4. Fixed the occasional crash issue when clicking the close button, and added parameter compatibility judgment logic.
  5. Fixed the crash issue when calling startRecord after hiding the Camera component.
  6. Fixed the issue where navigateToMiniProgram simultaneously triggering the navigateTo route event could cause route confusion.
  7. Fixed the issue where the error "file does not exist" occasionally occurred on the loading page during the first launch of a Mini-Program.
  8. Fixed the issue where FileSystemManager.readZipEntry had no callback.
  9. Fixed the issue where writing decompressed images to files via writeFileSync was unsuccessful after FileSystemManager.readZipEntry decompressed files.
  10. Fixed the issue where m3u8 files were saved with the m3u extension.
  11. Fixed the occasional crash issue when the page WebView was suspended by the system.
  12. Fixed the issue where setting audioSource in RecordManager's startRecord did not take effect.
  13. Fixed the issue where startBluetoothDevicesDiscovery did not verify Bluetooth scope permissions.
  14. Fixed the issue where the startBluetoothDevicesDiscovery API executed the success callback when an obviously invalid value was passed to services.
  15. Fixed the error when referencing FinAppletTXMap.

# 2.42.9

Update Time: 2023-12-08 Update Content:

【New】

  1. Added log upload functionality.
  2. Added CameraContext.setZoom callback returning the actual set value.
  3. Added webViewInspectable configuration item to FATConfig, supporting enabling Safari debugging mode for webView on iOS 16.4 and above.

【Optimizations】

  1. Optimized swipe-back to return to the Mini-Program page after successful complaint and feedback submission.
  2. Optimized text to be consistent with Android.
  3. Optimized Mini-Program memory management.
  4. Optimized route queue implementation.

【Fixes】

  1. Fixed the issue where network request headers were lost due to referer.
  2. Fixed the issue where changes to the Mini-Program's extInfo during update checks were not cached locally.
  3. Fixed the issue where privacy protocol text was in Chinese in English environments.
  4. Fixed the occasional freeze issue when closing Mini-Programs via swipe-back.
  5. Fixed the issue where the destination displayed as unknown location when openMapApp selected the system map to open after registering the Baidu Map Extension SDK.
  6. Fixed the issue where the destination was incorrect when openMapApp selected Baidu Map to open after registering a non-Baidu Map Extension SDK.
  7. Fixed the occasional freeze issue of the preview interface during the first stream push of the live component.
  8. Fixed the occasional screen stuttering issue when the live component simultaneously pushes and pulls streams.
  9. Fixed the issue where the video component's sound was affected by silent mode in certain scenarios.
  10. Fixed the issue where implementing the onJSSDKConfig proxy method in the new proxy class would not trigger the proxy.
  11. Fixed the issue where innerAudio would send an onEnded event after playback completed when loop was set.
  12. Fixed the occasional issue where an abnormal interface would automatically pop up after closing the Mini-Program under weak network conditions.
  13. Fixed the issue where modal dialogs could not pop up properly in mini-games regardless of compatibility mode or jscore mode.
  14. Fixed the occasional freeze issue of the preview interface when using the camera for the first time.
  15. Fixed open API to support multiple file paths.
  16. Fixed the issue where navigationBarLoading might not change with setNavigationBarColor.frontColor.

# 2.42.7

Update Time: 2023-11-25

Update Content:

【Optimizations】

  1. Optimized the keys of all internationalization files in the SDK.
  2. Optimized the output image size after setting the resolution attribute of the camera component.
  3. Optimized the language return value in getSystemInfo and getSystemInfoSync (returns the language type configured during SDK initialization).
  4. Optimized the referer implementation to support setting referer in app.json.
  5. Optimized the backend interface call logic for offline Mini-Programs, no longer triggering interfaces such as Base Library pre-removal and configuration information.
  6. Optimized the interface interaction logic between Mini-Programs and the Management Console. (Optimized multi-thread processing)
  7. Optimized the resource copy logic for Mini-Program packages and Base Library packages. (Optimized to a fixed serial queue)
  8. Optimized the logic for frequently opening the same Mini-Program within a short period. (Prevent re-opening when the Mini-Program is running in the foreground)
  9. Optimized the way onAppRoute reads path and query to avoid errors caused by the passed path containing html.
  10. Optimized the callback type when clicking the close button in the upper left corner of previewvideo. (Adjusted to success callback to avoid errors when fail callback is not implemented)

【Fixes】

  1. Fixed the occasional crash issue during update detection for online release version Mini-Programs.
  2. Fixed the issue where collapsing the keyboard on some device models would trigger the onKeyboardShow event.
  3. Fixed the issue where, with Lazy Code Loading enabled, when launching a Mini-Program from an Independent Subpackage and navigating to a non-Independent Subpackage after successful launch, Custom Components on all Subpackage pages were not displayed.
  4. Fixed the issue where, with Lazy Code Loading enabled, launching from an Independent Subpackage, navigating to a regular Subpackage after opening the Mini-Program, then returning, and then relaunching to a non-first tab of the Main Package resulted in a blank screen.
  5. Fixed the issue where the loading view could not be hidden when executing redirectTo followed by hideLoading after showLoading.
  6. Fixed the issue where editing an input field would cause text changes in another input field in special scenarios.
  7. Fixed the issue where switching between different input fields would cause the page to shift too much downward or upward.
  8. Fixed the issue where the input field position changed when switching between foreground and background of the APP while the Mini-Program input field was focused.
  9. Fixed the issue where the cursor-spacing distance was incorrect when focusing an input field on a page with a tabbar.
  10. Fixed the issue where playing background audio first and then playing inneraudio, pausing inneraudio playback could not resume audio playback from other apps.
  11. Fixed the issue where playing inneraudio would stop background audio during Mini-Program background audio playback.
  12. Fixed the issue where background audio was still playing when re-entering the Mini-Program.
  13. Fixed the crash issue caused by delayed navigateTo logic on a Mini-Program page that was only triggered when navigating to the about page.
  14. Fixed the occasional 504 upload failure issue with the uploadFile API, and the data loss issue when the returned data was too large after upload.
  15. Fixed the blank screen issue when clicking the upper left corner to return to the home page after launching the Mini-Program with the "/" parameter.
  16. Fixed the blank screen issue on the redirectTo target page when calling navigateTo after consecutive redirectTo calls.
  17. Fixed the issue where Mini-Program update checks would update the new version's packageConfig onto the currently running old version, causing errors.

# 2.42.5

Update Time: 2023-11-10

Update Content:

【New】

  1. Added confirm and Prompt dialogs in H5;
  2. Added configuration file containing version number in bundle;
  3. Added info.json configuration file in bundle;
  4. Added method to capture long screenshot of current page;
  5. Added support for setting custom language pack;
  6. Added support for setInnerAduioOption API;

【Optimization】

  1. Optimized content display of enableAlertBeforeUnload dialog;
  2. Optimized version returned by getAccountInfoSync (all versions return the current Mini-Program version number);
  3. Optimized the issue where Mini-Program service loading exceptions caused continuous loading;
  4. Optimized the complaints and feedback interface;
  5. Optimized the startup process of offline H5 Mini-Programs (removed unnecessary API requests and resource downloads);
  6. Optimized the scrollbar display logic of the textarea Component;

【Fix】

  1. Fixed the issue where the SDK fingerprint parameter was missing in the request header for Base Library pre-download;
  2. Fixed the issue where the fail callback was not executed after scanCode opened the camera and the user clicked cancel;
  3. Fixed the issue where the onCanPlay event of innerAudio did not have currentTime, duration, and buffered parameters;
  4. Fixed the crash issue when selecting iCloud video files on lower version systems;
  5. Fixed the occasional crash issue when selecting multiple images;
  6. Fixed the issue where some image selections failed;
  7. Fixed the issue where after input and textarea are focused and the keyboard is dismissed, focusing again requires 2 taps to take effect;
  8. Fixed the issue where audio did not stop playing after screen off when requiredBackgroundModes was not set;
  9. Fixed the issue where the confirm-type attribute of textarea did not take effect;
  10. Fixed the issue where dynamically modifying cursor = 0 or -1 and then re-auto-focusing did not make cursor take effect;
  11. Fixed the issue where dynamically modifying selection-start and selection-end did not take effect;
  12. Fixed the issue where the Capsule Button was not hidden when offline H5 Mini-Programs entered settings and other pages;
  13. Fixed the issue where offline H5 Mini-Programs did not check for updates when re-entering the Mini-Program;
  14. Fixed the issue where the width of the more menu was incorrect when the Mini-Program was in landscape mode;
  15. Fixed the issue where there was blank space between the input box and keyboard after copying a large amount of content in the textarea Component;
  16. Fixed the issue where text would scroll to an invisible area after focusing and inputting in special scenarios in the textarea Component;
  17. Fixed the issue where it was difficult to tap and focus on the right edge of the textarea;
  18. Fixed the issue where the cursor position exceeding the text length was set to the text start position when refreshing the cursor;
  19. Fixed the issue where the Camera Component preview was abnormal on first use on iOS 16;

# 2.42.3

Update Time: 2023-10-28

Update Content:

【New】

  1. Added support for setting poster (video cover) in previewMedia;
  2. Added support for setting alertText in showActionSheet, and scrolling is supported when there are many actions;
  3. Added a delegate method for when the user clicks the Capsule close button in the Mini-Program, allowing logic to be executed before closing and determining whether to perform the close operation;
  4. Added support for loading iCloud images and videos in chooseImage, chooseVideo, and chooseMedia APIs;
  5. Added support for several present modes when opening Mini-Programs on iPad;

【Optimization】

  1. Deprecated the delegate method for getAccountInfoSync of local Mini-Programs (delegate events are no longer triggered, handled internally);
  2. Optimized the validation logic for custom sync APIs (validate whether implemented first, then validate whether registered);
  3. Optimized the callback trigger timing of the sancode API (adjusted to trigger the callback after the scan code page is fully closed);
  4. Optimized the insert and update event parameters of input and textArea;
  5. Optimized BLEPeripheralServer.startAdvertising by adding type validation for serviceUuids;
  6. Optimized the sending timing of the audio onPlay event, changed to after onCanPlay, seekEd, etc. are sent;
  7. Optimized the logic for determining whether src is available when play, pause, stop, seek, and other events are called for audio;
  8. Optimized the handling of the distance between the keyboard and input box after input/textarea is focused;
  9. Optimized the trigger timing of the initCompletion delegate method (adjusted to after the serviceReady event, when the home page starts loading);
  10. Optimized the logic for downloading Mini-Program packages or Base Libraries, adding parsing of specific error information for download failures;
  11. Optimized the Mini-Program details query API to not write error type logs when there is no new version;
  12. Optimized the timing and prompt information for SDK configuration information validation;

【Fix】

  1. Fixed the first frame brightness issue when recording video with the camera Component;
  2. Fixed the incorrect value issue when frameSize is small in the camera Component;
  3. Fixed the video distortion issue when recording with the camera Component;
  4. Fixed the incorrect maxZoom value issue in the camera Component;
  5. Fixed the flash flickering issue when switching pages containing the camera Component;
  6. Fixed the issue where the pre-authorization delegate was repeatedly triggered when authorization was denied in the camera Component;
  7. Fixed the issue where the cameraFrameListenerStop event returned an exception when the camera Component had no camera permission;
  8. Fixed the white screen issue caused by Base Library updates;
  9. Fixed the occasional crash issue caused by type errors;
  10. Fixed the issue where the custom view height of the Mini-Program permission request dialog was 0;
  11. Fixed the issue where all values were selected by default when switching the focus attribute of input & textarea;
  12. Fixed the issue where a timeout callback was still received 30 seconds after createBLEConnection connected successfully;
  13. Fixed the issue where closeBLEConnection had no callback;
  14. Fixed the issue where the onTimeUpdate event was sent even when audio was not playing;
  15. Fixed the issue where the input/textarea focus page did not push up correctly after the Mini-Program redirected the page or opened vconsole;
  16. Fixed the issue where the webrtc video view failed to be created;

# 2.42.1

Update Time: 2023-10-13

Update Content:

【New】

  1. Added support for compressedWidth and compressedHeight parameters in compressImage.
  2. Added camera exception error information.
  3. Added support for image tap preview in certain scenarios when opening H5 pages in Mini-Programs.
  4. Added cursor field to the data returned by the bindblur event of textarea and input Components.

【Optimization】

  1. Optimized Subpackage Preload logs.
  2. Optimized the more menu UI in landscape mode.
  3. Optimized the digest return value of getFileInfo (adjusted to lowercase).
  4. Optimized previewMedia to support caching when playing videos.
  5. Optimized the implementation scheme for custom APIs and custom scope permission dialogs.

【Fix】

  1. Fixed the issue where compressed images were stretched to fill the screen during previewImage.
  2. Fixed the issue where the return value for whether accessibility features are enabled was a string.
  3. Fixed the issue where previewImage showed indicator dots even when there was only one image.
  4. Fixed the issue where two onplay events were triggered during audio playback.
  5. Fixed the issue where the pre-delegate class was triggered on every call even when permission had already been granted.
  6. Fixed the issue where Mini-Games failed to load images.
  7. Fixed the issue where the uiConfig.appletText configuration did not take effect.
  8. Fixed the issue where incorrect data was caused by base64 format data conversion when writing with writeFile and writeFileSync.
  9. Fixed the crash issue during first real device debugging on some iOS models.
  10. Fixed the issue where previewMedia got stuck when playing rate-limited online videos.
  11. Fixed the issue where H5 pages and loading page animations could be misaligned in landscape Mini-Programs.
  12. Fixed the issue where the offset was inaccurate when the map anchor was at default.
  13. Fixed the occasional connection exception issue in the live SDK.
  14. Fixed the issue where the default latitude and longitude of chooseLocation were 0.
  15. Fixed the issue where calling UI APIs within the onLaunch method of Mini-Programs could fail.
  16. Fixed the issue where the more menu could not be opened when the Mini-Game orientation was configured as landscapeLeft/landscapeRight.
  17. Fixed the issue where the openLocation and chooseLocation pages of the native map were not full-screen on iOS 14.
  18. Fixed the issue where the chooseLocation API of the native map had large positioning deviation.
  19. Fixed the issue where SDK initialization occasionally took a long time.

# 2.41.13

Update Time: 2023-09-24

Update Content:

【New】

  1. Added homeButton configuration item for Mini-Programs.
  2. Added level attribute to the picker Component, supporting province/city/district.
  3. Added qrCode attribute to appletInfo (the original qrCode value when opening the Mini-Program via QR code).

【Optimization】

  1. Optimized the logic for obtaining Bluetooth permission in getSystemSetting (avoiding the issue of needing to declare Bluetooth permission when the Bluetooth Extension SDK is not integrated).
  2. Optimized data storage for some configuration information, removing the logic of using NSUserDefault in the SDK.
  3. Optimized the internationalization content of displayed text in Android and iOS SDKs (aligned prompt content on both platforms).
  4. Optimized the selection effect of chooseImage/chooseMedia when count is 1, also showing the check button when count is 1.
  5. Optimized the live Component, updating the underlying push/pull stream library logic.
  6. Optimized the prompt information when the path in route events points to a non-existent page (removed the extra .html in the prompt information).
  7. Optimized the Mini-Program access, getFileInfo, and stat APIs to support accessing file paths within the Code Package.
  8. Optimized the error prompt information in the fail callback of the camera Component API.

【Fix】

  1. Fixed the issue where base64 format and hex format data could not be written with writeFile.
  2. Fixed the issue where the Navigation Bar and file title overlapped when opening files with openDocument.
  3. Fixed the issue where the pre-delegate class was not triggered before requesting permission in startLocationUpdateBackground.
  4. Fixed the issue where iOS playback failed when InnerAudioContext.volume was set to null.
  5. Fixed the issue where after setting InnerAudioContext.startTime to 100, clicking play directly after cold-starting the Mini-Program started playing from 0 again.
  6. Fixed the issue where the Mini-Game Capsule position was too high.
  7. Fixed the issue where the Capsule was not hidden after swiping back and canceling when a Mini-Program page jumped to a Host-App page.
  8. Fixed the issue where the Navigation Bar background color was incorrect when swiping back from the settings page to the Mini-Program page.
  9. Fixed the issue where the onError event was not triggered when calling other APIs directly without executing RecorderManager.start after the Mini-Program was opened.
  10. Fixed the issue where permission was not checked when calling resume after pausing recording in the Mini-Program and then disabling microphone permission in settings.
  11. Fixed the issue where the page loading progress bar was not displayed in offline H5 Mini-Programs.
  12. Fixed the issue where forceUpdate did not take effect in offline Mini-Programs.
  13. Fixed the white screen issue caused by checking for updates during hot start in non-release versions;
  14. Fixed the display issue of the camera Component when switching between landscape and portrait modes;
  15. Fixed the incorrect camera frame data size issue when switching between landscape and portrait modes;
  16. Fixed the incorrect camera photo and video recording orientation issue when switching between landscape and portrait modes;
  17. Fixed the issue where the frame data callback was not triggered in scan code mode of the camera Component;
  18. Fixed the issue where maxZoom was missing in the first bindinitdone of the camera Component;
  19. Fixed the issue where maxZoom was missing when the bindinitdone event was first triggered in the camera Component;
  20. Fixed the issue where background music played by H5 loaded in the Mini-Program occasionally did not pause after closing the Mini-Program.
  21. Fixed the occasional image compression failure issue after selecting images with chooseImage/chooseMedia.
  22. Fixed the issue where startTime of innerAudio did not take effect.
  23. Fixed the display abnormality issue when pasting text exceeding the maximum length in textarea.
  24. Fixed the incorrect height calculation issue when pasting text with line breaks in textarea.
  25. Fixed the issue where IDE preview version auto-preview did not take effect immediately on iOS.

# 2.41.11

Update Time: 2023-09-08

Update Content:

【New】

  1. Added configuration item for the logo control in the Mini-Program more panel;
  2. Added FATConfig configuration item appletDebugMode, supporting disabling vConsole for release version Mini-Programs;
  3. Added request configuration item hideMiniProgramMoreButton, supporting hiding the more button in the Capsule;
  4. Added support for IDE auto-preview functionality.

【Fix】

  1. Fixed the issue where the keyboard height obtained by bindfocus on first focus of input/textarea was 0;
  2. Fixed the issue where the page Navigation Bar disappeared after closing and reopening the Mini-Program when displaying a landscape page;
  3. Fixed the white screen issue when opening the Mini-Program with push animation and the Mini-Program home page is an H5 page, then clicking the back button in the upper left corner to close the Mini-Program and reopening the H5;
  4. Fixed the issue where Mini-Game Subpackage downloads did not correctly pass download progress to the Base Library.
  5. Fixed the issue where the status bar was invisible on offline H5 type application pages in Dark Mode.
  6. Fixed the issue where loading https images reported errors when Mini-Games used WebView rendering.

【Optimization】

  1. Optimized the default option for background location permission, defaulting to the second option (when in use and after leaving the Mini-Program);
  2. Optimized the return values of getAppAuthorizeSetting and getSystemSetting, supporting returning Bluetooth permission status after iOS 13.1.
  3. Optimized the prompt message of setClipboardData in the clipboard SDK, supporting internationalization.
  4. Optimized the logo and name display logic of Mini-Programs, prioritizing the Mini-Program logo and name in the request configuration item.
  5. Optimized the prompt content when recorderManager permission is denied;
  6. Optimized the scrollView Component, supporting ScrollViewContext properties such as bounces, showScrollbar, pagingEnabled, and fastDeceleration;
  7. Optimized the startup logic of non-release version Mini-Programs, supporting hot start;
  8. Optimized apm event reporting content, adding from and userId (encrypted) fields;
  9. Optimized the Subpackage loading logic of Mini-Games.

# 2.41.9

Update Time: 2023-08-25

Update Content:

【New】

  1. Added fileMd5 and packages attributes to Mini-Program FATAppletInfo.
  2. Added startDeviceMotionListening device orientation related API and listening events.

【Fix】

  1. Fixed the incorrect hierarchy issue when adding custom dialog views to the loading page.
  2. Fixed the issue where repeatedly calling playback of innerAudio would continuously trigger onPlay events.
  3. Fixed the occasional crash issue caused by nan in region for iOS native Components.
  4. Fixed the issue where the path obtained in the onLaunch and onShow events of the Mini-Program was incorrect when entryPagePath was set.
  5. Fixed the issue where switching between front and rear cameras during camera Component recording caused incorrect video orientation.
  6. Fixed the issue where recording was not paused when clicking the close button in the upper right corner after RecordManager.start began recording.
  7. Fixed the issue where the gradient effect of the recording icon in the upper right corner became invalid after the Mini-Program called startRecord, then the Host-App was switched to the background and back to the foreground.
  8. Fixed the issue where the recording status in the upper right corner and more panel was incorrect after the Mini-Program called startRecord, then closed the Mini-Program from the upper right corner and hot-started it again.
  9. Fixed the issue where recording would pause when navigating to other Mini-Program pages after RecordManager.start began recording.
  10. Fixed the crash issue when calling APIs to update built-in permissions that had not been requested.
  11. Fixed the issue where vConsole was obscured by error messages when opening a non-existent page.
  12. Fixed the issue where there was a 5px gap below the Navigation Bar on iPhone 14 Pro and iPhone 14 Pro Max.
  13. Fixed the issue where pages popped up by APIs such as choosePoi/chooseLocation/openLocation were not displayed in full screen.
  14. Fixed the issue where nested calls of choosePoi/chooseLocation caused the target interface to fail to open.
  15. Fixed the crash issue after seek caused by the timescale attribute value of innerAudio being 0.
  16. Fixed the issue where input/textarea displayed in scollView showed scrollbars and content scrolling caused input/textarea content offset.

【Optimization】

  1. Optimized the getSystemInfo API, adding fontSizeSetting to the return value.
  2. Optimized the request parameters for backend API calls, adding the fingerprint parameter.
  3. Optimized the error message display when Subpackage loading fails when the Mini-Program navigates to a Subpackage page that has not been downloaded.
  4. Optimized error prompts for Mini-Program package and Base Library package download failures.
  5. Optimized the internationalized English content when the Mini-Program network is not connected.
  6. Optimized title handling when errors occur in the Mini-Program, no longer modifying the Navigation Bar title.

# 2.41.7

Update Time: 2023-08-12

Update Content:

【New】

  1. Added flash functionality to scanCode, and updated the scanCode page UI;
  2. Added registration functionality for custom APIs that can be associated with custom scopes, and APIs for modifying custom scope permission status;
  3. Added Mini-Program loading page delegate, allowing custom views to be displayed on the loading page before continuing to run the Mini-Program;
  4. Added apiInfo information for Mini-Program object custom APIs;
  5. Added support for offline H5 Mini-Programs;

【Optimization】

  1. Optimized the XML parsing class used by the DLNA module in Video, adding prefixes to avoid warnings or conflicts;
  2. Optimized the prompt when the web-view Component fails to load H5, adding a binderror callback;
  3. Optimized tartLocationUpdate and startLocationUpdateBackground callbacks;
  4. Optimized apm data reporting logic to avoid local residual data exceeding the configured threshold being unable to be reported to the backend;
  5. Optimized error codes;

【Fix】

  1. Fixed the issue where spaces in the server address caused Mini-Program opening errors (service not initialized);
  2. Fixed the issue where innerAudio automatically resumed playback after being interrupted by system events during playback;
  3. Fixed the issue where audio could not play after switching to the background and back to the foreground in Host-Apps without background audio permission enabled;
  4. Fixed the issue where audio could not play due to underscores in the appId of offline Mini-Programs;
  5. Fixed the issue where getPhoneNumber containing errMsg prevented the success callback from being triggered when the WeChat Extension SDK was integrated;
  6. Fixed the issue where BackgroundAudio playback did not stop when the Mini-Program was closed by swiping;
  7. Fixed the white screen issue caused by service loading timing and AppLaunch route event sending timing;
  8. Fixed the route queue confusion issue caused by triggering swipe-back operations during route queue execution;
  9. Fixed the white screen issue caused by triggering extra navigateBack route events when switching between landscape and portrait modes (exists on iOS 16 and below);
  10. Fixed the issue where incorrect navigateBack identifier setting timing caused extra navigateBack triggers;
  11. Fixed the issue where switchTab did not trigger subsequent route queue execution;
  12. Fixed the issue where switchTab could trigger the next route event too early;
  13. Fixed the issue where the Mini-Program Capsule position was incorrect in certain scenarios;

# 2.41.5

Update Time: 2023-07-28

Update Content:

【New】

  1. Added delegate method for adding to desktop.
  2. Added Mini-Game keyboard input events and callback support;
  3. Added Mini-Game device orientation events and callback support;
  4. Added Mini-Game audio interruption callback support;
  5. Added API for obtaining privacy authorization agreement information.
  6. Added APIs and delegates for offline store Mini-Program scenarios.

【Optimization】

  1. Optimized calendar permission request, avoiding the need to add calendar permission when only relying on the core SDK.
  2. Optimized the logic for Mini-Game JSContext initialization.
  3. Optimized the highlighting logic of the "complaint" button in the about page and permission dialog privacy prompt when the app is set to not display the feedback menu.
  4. Optimized the event call timing of the live Component, avoiding the issue where insertion events and start events called within a very short time do not take effect.
  5. Optimized the Base Library download logic for online version Mini-Programs, enabling Base Library pre-download during initialization.
  6. Optimized the loading logic of same-layer rendering Components.
  7. Optimized the Mini-Program permission management page, supporting configuration of title position and back button image.
  8. Optimized the display of authorization privacy agreement documents.
  9. Optimized the processing logic of the entryPagePath (home page) parameter.

【Fix】

  1. Fixed the occasional crash issue when traversing Mini-Program objects in child threads (modifying array data while traversing).
  2. Fixed the issue where watermarks were repeatedly added.
  3. Fixed the occasional crash issue of batchGetStorageSync and batchSetStorageSync.

【Map Extension SDK】

  1. Added support for the lineBreak attribute in the map SDK.
  2. Fixed the issue where POI data obtained using the native map was inaccurate.
  3. Fixed the issue where the bubble content display in the map SDK was inaccurate.

# 2.41.3

Update Time: 2023-07-15

Update Content:
【New】

  1. Added 4 storage related APIs: batchSetStorage, batchSetStorageSync, batchGetStorage, batchGetStorageSync.

【Optimization】

  1. Optimized the downloadFile API, prohibiting non-http protocol URLs.
  2. Optimized the caching strategy of the SDK configuration information API, avoiding repeated API requests within the local cache validity period.
  3. Optimized toast related classes in the Share SDK, adding prefixes.
  4. Optimized Mini-Program Service layer thread handling (one Mini-Program uses a fixed child thread).
  5. Optimized the logic for reading Mini-Program startup parameters and entryPagePath.
  6. Optimized the date picker of the picker Component, supporting Chinese and English internationalization.
  7. Optimized the Mini-Program object FATAppletInfo, adding the coreDescription (Mini-Program description) attribute.

【Fix】

  1. Fixed the issue where domains containing * configured in the certificate did not take effect.
  2. Fixed the issue where vConsole did not display when clicked in Mini-Games.
  3. Fixed the occasional crash issue of Mini-Games on iOS 10.
  4. Fixed the incorrect share scheme issue of Mini-Games.
  5. Fixed the issue where the privacy agreement content text was red.
  6. Fixed the issue where opening the Mini-Program reported errors when entryPagePath passed a page in an Independent Subpackage for offline Mini-Programs.
  7. Fixed the issue where inconsistency between the value in entryPagePath and the entryPagePath in the Mini-Program package caused Mini-Program errors.

Tencent Map Extension SDK (FinAppletTXMap):

【New】

  1. Added API for setting webSecret.

# 2.41.1

Update Time: 2023-07-01

Update Content:
【New】

  1. Added error codes and error prompts for when SDK configuration information is empty.
  2. Added Lazy Code Loading (lazyCodeLoading) feature and entryPagePath.

【Optimization】

  1. Optimized the Chinese and English adaptation of the "Loading" prompt message when triggering Subpackage download during Mini-Program runtime.
  2. Optimized the appDescription attribute of Mini-Programs, unified as detailed description on Mobile.
  3. Optimized websocket error messages in different scenarios.
  4. Optimized Chinese and English internationalization text in the SDK.
  5. Optimized the text for third-party authorization instructions.
  6. Optimized the implementation of accelerometer-related APIs.
  7. Optimized the Lazy Code Loading feature, supporting the Base Library to directly call loadJsFiles.
  8. Optimized the CustomCallout implementation of markers in the Map Component.
  9. Optimized the permission dialog for offline Mini-Programs, hiding the privacy authorization instruction button.
  10. Optimized the gesture back function of the video Component, triggering Picture-in-Picture mini window.
  11. Optimized Mini-Program chooseLocation, removed redundant fields.

【Fix】

  1. Fixed the issue where calling setNavigationBarTitle in jssdk to modify the title does not take effect.
  2. Fixed the remote debugging JS breakpoint debugging issue.
  3. Fixed the issue where the Navigation Bar position is incorrect when opening a Mini-Program after the native app triggers the Picture-in-Picture mini window.
  4. Fixed the bug where the placeholder jumps when the input Component is focused on certain device models.
  5. Fixed the issue where the status bar color and Capsule Control style are incorrect in Mini-Games.
  6. Fixed the issue where rotating the phone displays abnormally when previewMedia preview video is not playing.
  7. Fixed the issue where websocket cannot correctly decode certain arrayBuffer data after encoding when sending.
  8. Fixed the issue where only the first Mini-Program opens via shortcut after different Mini-Programs are added to the desktop.
  9. Fixed the issue where the Main Package is downloaded instead of the Independent Subpackage, causing opening failure.
  10. Fixed the issue where opening the Mini-Program downloads the entire package when entryPagePath is configured as a regular Subpackage page.
  11. Fixed the issue of repeated Subpackage downloads caused by incorrect path when restarting the Mini-Program.
  12. Fixed the occasional KVO-induced crash after enabling the anti-crash configuration.
  13. Fixed the potential crash issue with the chooseImage API.
  14. Fixed the Subpackage loading error caused by incorrect startup path of offline Mini-Programs.
  15. Fixed the crash issue caused by calling previewMedia without passing url (required field) in Mini-Programs.
  16. Fixed the issue where the privacy guide title does not match internationalization.

Calendar Extension SDK:
【Optimization】

  1. Optimized the permission verification logic of calendar APIs.

share Extension SDK:
【Optimization】

  1. Optimized the image size during sharing in the Share SDK (supports image compression).

# 2.40.13

Update Time: 2023-06-16

Update Content:
【New】

  1. Added addPhoneCalendar, addPhoneRepeatCalendar (Calendar Extension SDK).
  2. Added API for Host-App to write logs to Mini-Program vConsole;
  3. Added gyroscope startGyroscope, stopGyroscope, onGyroscopeChange, offGyroscopeChange.
  4. Added proxy method for setting multiple sets of cookies;
  5. Added Base Library pre-download feature;
  6. Added web-view Component sms, mailto scheme support;

【Fix】

  1. Fixed the issue where Mini-Programs fail to open H5;
  2. Fixed the crash issue when switching tabbar when tabbar theme is not configured;
  3. Fixed the bug where onFrameRecorded event is not triggered when using live player and recording simultaneously;
  4. Fixed the issue where modifying the Mini-Program icon in custom LoadingView may become invalid;

【Optimization】

  1. Optimized Mini-Program vConsole display;
  2. Optimized Mini-Program permissions using user isolation strategy;
  3. Optimized Mini-Program opening H5 pages to support cache policy configuration;
  4. Optimized domain names to support wildcard configuration;
  5. Optimized Mini-Program startup process (decompression judgment);
  6. Optimized local Mini-Programs to support hiding the close button;
  7. Optimized Mini-Program menu button code;

Extension SDK:
【Fix】

  1. Fixed the issue where the map does not move to the specified point after selecting a POI point;

Live Extension SDK:
【Fix】

  1. Fixed the bug where the live player Component pops up microphone permission;
  2. Fixed the bug where the live player Component produces noise during playback on low-end devices;

# 2.40.11

Update Time: 2023-06-02

Update Content:

【New】

  1. Added Mini-Program system API.
  2. Added Mini-Program permission dialog support for custom content.

【Optimization】

  1. Optimized previewMedia/previewImage API, preview images support gif format and saving gif images to album.
  2. Optimized saveImageToPhotosAlbum API, supporting saving gif images to album.
  3. Optimized Analytics SDK, added shareDepth, scene parameters, share links support configuration.
  4. Optimized batch update Mini-Program API, added download parameter.
  5. Optimized Mini-Program info object, exposing appTag attribute externally.

【Fix】

  1. Fixed the issue where switching between landscape and portrait on the previewMedia page causes video playback to stop.
  2. Fixed the issue where the gap between permission description and bottom button in the permission dialog is too large.
  3. Fixed the issue where the permission dialog occasionally does not display icons.
  4. Fixed the issue where the legacy Mini-Program opening API lacks apiServer, causing missing data reporting events.
  5. Fixed the Chinese and English issues in error messages.
  6. Fixed the issue where getAppletAuthSetting returns authorization info that does not include unrequested permissions.
  7. Fixed the issue where the permission description in the permission dialog is always fixed to album information.
  8. Fixed the crash issue caused by frame parameter being nan in special scenarios in chooseLocation.
  9. Fixed the issue where the native map chooseLocation locates to (0, 0) when re-entering after selecting a location.
  10. Fixed the issue where the loading progress bar position is incorrect in the feedback page opened from a landscape Mini-Program interface.
  11. Fixed the issue where the more menu may not close after switching between landscape and portrait on iOS 16.
  12. Fixed the issue of un-preloaded Subpackages caused by Mini-Program object reuse.
  13. Fixed the route queue event blocking issue in two scenarios: clicking the Picture-in-Picture mini window in video to jump to the corresponding page, and returning to the corresponding page.
  14. Fixed the route queue blocking issue when navigateTo method pushes to the page where the video mini window is located.
  15. Fixed the issue where clicking the Picture-in-Picture mini window cannot jump to the corresponding page after calling switchTab with a Picture-in-Picture mini window present.

# 2.40.9

Update Time: 2023-05-20

Update Content:
【New】

  1. Added API to get Extension SDK version number.
  2. Added API to get Mini-Program loading view.
  3. Added version description configuration item for local Mini-Program request.
  4. Added Subpackage Preload feature support for local Mini-Programs.

【Optimization】

  1. Optimized the more menu button size and spacing.
  2. Optimized the normal version more view, added Mini-Program version identifier.
  3. Optimized the prompt message when the web-view Component loading link is not in the whitelist or is in the blacklist.
  4. Optimized Dark Mode adaptation for privacy agreement page.
  5. Optimized actionSheet Component, actionSheet adjusted to controller to avoid hiding Navigation Bar layout after actionSheet closes.
  6. Optimized landscape and portrait adaptation for previewImage/previewMedia/previewVideo API related pages.
  7. Optimized the logic and triggered events for video Component foreground/background switching.
  8. Optimized the timing of calling the favorite status API, not calling it when the favorite button is hidden.

【Fix】

  1. Fixed the issue where the returned file array is empty after taking a photo with chooseImage.
  2. Fixed the issue where the height of introduction and version description is incorrect when switching between landscape and portrait in the Mini-Program about page.
  3. Fixed the crash issue caused by calling callback in a child thread within custom API for full-package Mini-Programs.
  4. Fixed the bug where clicking the input Component does not pop up the keyboard.
  5. Fixed the error prompt issues for trial version, development version, and review version.
  6. Moved the implementation of getUserProfile to the core SDK.
  7. Fixed the issue where canvas measureText fails to measure Chinese character width on the first attempt on iOS 15.4.1.
  8. Fixed the issue where performance statistics logs are not output.
  9. Fixed the issue where the back-to-home button flashes when hideHomeButton is called in the onLoad of the redirectTo page.
  10. Fixed the issue where a white background flashes when navigating to the next page in Dark Mode.
  11. Fixed the issue where images occasionally fail to load when selecting original images from the album with chooseImage/chooseMedia.
  12. Fixed the issue where the log level output in the log proxy is incorrect.
  13. Fixed the issue where auto-pause-if-navigate behaves incorrectly after video Component foreground/background switching.

# 2.40.7

Update Time: 2023-05-08

Update Content:

【New】

  1. WeChat Extension SDK added API navigateToWechatMiniProgram to support opening WeChat Mini-Programs.

【Optimization】

  1. Optimized removeAppletFromLocalCache: logic, supporting deletion of non-official version Mini-Program cache.
  2. Optimized the character length of cancel and confirm buttons in showModal dialog.
  3. Optimized the controls bar display logic when video Component is in fullscreen.
  4. Optimized the call frequency of config-info API, not calling when cache exists.
  5. Optimized canvas Component, supporting fullscreen display and hiding Capsule in fullscreen.
  6. Optimized Mini-Program details and privacy permission APIs, supporting returning only English content when SDK is configured as English.
  7. Optimized error prompt messages for scenarios such as Mini-Programs without permissions.
  8. Optimized ignoreWebviewCertAuth to also take effect for websocket.
  9. Optimized video Component, automatically hiding the control bar during autoplay and API-triggered playback.

【Fix】

  1. Fixed the issue where menu bar button icons display abnormally in Dark Mode.
  2. Fixed the issue where the page scrolls twice when setting autofocus under same-layer rendering in the input Component.
  3. Fixed the issue where the live Component displays a black screen under non-same-layer rendering after setting the hide attribute.
  4. Fixed the issue where the live Component can still play video after setting hide to true.
  5. Fixed the issue where a non-zero top attribute causes a black screen under same-layer rendering of the live Component.
  6. Fixed the issue where the live Component automatically plays after updating attributes when hide is set to true.
  7. Fixed the issue where the error view bounces when an error occurs on the Mini-Program loading page.
  8. Fixed the issue where the queue locks up when the Main Package download fails on a tab page and routes are switched multiple times.
  9. Fixed the issue where the bottom bar is not displayed with switchTab under poor network conditions.
  10. Fixed the issue where the background location permission dialog content does not support English internationalization.
  11. Fixed the issue where the web-view Component does not support the new scheme of FinClip Assistant.
  12. Fixed the issues of occasional flash usage and camera freezing in the camera Component.
  13. Fixed the issue where Mini-Programs can only cold start occasionally due to the encryption/decryption library.
  14. Fixed the issue where the marker anchor attribute offset is inaccurate. (Three map Extension SDKs)
  15. Fixed the issue where gif images selected from the album via chooseImage/chooseMedia are compressed to jpg format.
  16. Fixed the issue where clicking the blank area does not trigger the fail callback in chooseImage/chooseVideo/chooseMedia.

# 2.40.5

Update Time: 2023-04-23

Update Content:

【Fix】

  1. Fixed the issue where the Share SDK copy link does not use short links.
  2. Fixed the issue where local Mini-Programs fail to open when only the new Subpackage retrieval proxy method is implemented.
  3. Fixed the issue where navigationBarTitleFixed:true configuration does not take effect on H5 pages.
  4. Fixed the issue where calling chooseImage in the showActionSheet callback cannot trigger the chooseImage actionSheet.
  5. Fixed the issue where there is no callback result after selecting a video from the album with chooseVideo.
  6. Fixed the issue where opening a Mini-Program immediately after SDK initialization reports an error causing Mini-Program opening failure.
  7. Fixed the issue where the Navigation Bar displays slowly when returning to the settings page from the location information page.
  8. Fixed the permission type matching error issue.
  9. Fixed the issue where recorderManager.start() without parameters causes recording failure.
  10. Fixed the issue where the position is incorrect after setting transform parameters on cover-view.

【New】

  1. Added multi-language settings for Mini-Program details and privacy configuration.
  2. Added support for custom about page.

【Optimization】

  1. Optimized keyboard-accessory Component, supporting hidden on first insertion.
  2. Optimized the configuration items of the forward button, supporting configurable icon and title.
  3. Optimized the path parameter of onShareAppMessage, concatenating query parameters.
  4. Optimized the hierarchy of screenshot and watermark addition.
  5. Optimized custom API, forwarding cancel callback to fail, deprecating cancel callback.
  6. Optimized authorize, adding support for scope.addPhoneContact and scope.userInfo.
  7. Optimized permission request parameters, changed to enum values.
  8. Optimized route queue events and UI when Subpackage download fails.
  9. Optimized the FATAppletInfo object for starting Mini-Programs, adding appJson information.
  10. Optimized Base Library log, supporting forwarding exceptions caught by Mini-Program service to Base Library log display. (Display of illegal regular expression errors)
  11. Optimized the display position of chooseFile, modified the confirm button color for Dark Mode adaptation.

# 2.40.3

Update Time: 2023-04-08

Update Content:

【New】

  1. Added proxy methods for Mini-Program permission request interception and authorization results.
  2. Added proxy methods for authorization instruction title and description.
  3. Added proxy method for opening custom settings page.
  4. Added methods for getting Mini-Program permission list and modifying Mini-Program permission status.
  5. FATAppletInfo added server extension information parameter extInfo.

【Optimization】

  1. Optimized the [Favorite/Unfavorite] and [Add to Desktop] menus in the more menu, changed to hidden by default.
  2. Optimized the proxy method for local Mini-Programs to get Subpackages, supporting returning and displaying error information.
  3. Optimized the Mini-Program chooseFile API, adding selection count prompt for multiple selection.
  4. Optimized the processing logic of left/top parameters in live Component update events.
  5. Optimized hidden attribute support for Native Components (input/textarea/video/camera/map/live-player/live-pusher).
  6. Optimized camera Component implementation.
  7. Optimized the time-consuming issue of the readZipEntry API in Mini-Programs.

【Fix】

  1. Fixed the issue where switching to the tabbar root page via switchTab after starting the Mini-Program home page causes a white screen.
  2. Fixed the issue where the proxy method cannot be triggered again to pass in a new zip package after the Subpackage decompression fails when returned by the local Mini-Program proxy method.
  3. Fixed the crash issue caused by calling the close Mini-Program API within the close Mini-Program callback.
  4. Fixed the crash issue when Picker Component current is greater than count.
  5. Fixed the issue where there is no onThemeChange callback on the first Dark Mode switch.
  6. Fixed the issue where special characters in Mini-Program names cause the add-to-desktop feature to fail.
  7. Fixed the issue where the anchor attribute of Baidu Map markers does not take effect.
  8. Fixed the issue where polyline is not fully drawn when Tencent Map points data volume is large.
  9. Fixed the crash issue caused by abnormal wechatLoginInfo field.

# 2.40.1

Update Time: 2023-03-24

Update Content:

【New】

  1. Added proxy FATAppletAppJsonDelegate and proxy methods for getting app.json.
  2. Added [Add to Desktop] and [Add/Remove Favorite] features to the more panel.
  3. Added FATConfig configuration item language, supporting setting SDK common UI language type.
  4. Added displayWithCallout attribute support.
  5. Added version type parameter setting for local Mini-Programs.
  6. Added Picture-in-Picture feature support for video Component.
  7. Added live-player, live-pusher Native Component implementation.
  8. Added UIConfig configuration item commonUISupportOrientation, supporting setting the orientation of common UI.
  9. input/textarea/video/camera/map/live-player/live-pusher/keyboard-accessory support hide attribute.

【Optimization】

  1. Optimized the issue where the back and confirm buttons are too high on notch-screen phones in chooseLocation, openLocation pages.
  2. Optimized the internal logic of loading and toast Components, encapsulated into a single class.
  3. Optimized the QR code link in the Share SDK to use short links, and optimized the QR code to high definition.
  4. Optimized JSCore JS execution and JS event handling, resolving lag issues caused by time-consuming JS operations.
  5. Optimized custom menu image configuration, supporting Dark Mode icon configuration.
  6. Optimized Mini-Program remote debugging version display as development version.
  7. Optimized the display control of the open debug button, controlling display and hiding through configuration items.
  8. Optimized customCallout in Amap, coverView supports opacity attribute.
  9. Optimized Mini-Program remote debugging version to support vConsole.
  10. Optimized recorderManager, supporting wav format audio recording and aac and pcm format frame data callback support.

【Fix】

  1. Fixed the crash issue caused by triggering permission dialog when loading H5 version webrtc in Mini-Programs.
  2. Fixed the route event type error when clicking the back-to-home button (redirectTo--->relaunch).
  3. Fixed the issue where dynamically modifying maxLength in input Component does not take effect.
  4. Fixed the issue where internationalization translation does not take effect when remote debugging is invalid.
  5. Fixed the Amap bubble rendering disorder issue.
  6. Fixed the issue where setting transparency with RGBA in Amap bubbles does not take effect.
  7. Fixed the chooseFile API: multiple selection should not be supported when count=1; occasionally requires switching tabbar to display the multiple selection button when count>1.
  8. Fixed the issue where the Capsule Button of Mini-Program A does not respond to clicks after opening and closing 5 other Mini-Programs sequentially.
  9. Fixed the issue where m3u8 audio does not autoplay after setting startTime.
  10. Fixed the issue where m3u8 audio requires 2 clicks to play after stopping.
  11. Fixed the issue where m3u8 audio automatically stops during playback when playbackRate is set to a value other than 1.
  12. Fixed the issue where duration does not take effect due to frameSize being set too large when recording pcm format audio with recorderManager.

# 2.39.11

Update Time: 2023-03-10

Update Content:

【New】

  1. Added hide attribute support for video Component.
  2. Added chooseFile API.
  3. Added menu bar share item and corresponding click event.

【Fix】

  1. Fixed the issue where onThemeChange event is triggered with incorrect status when the app goes to background.
  2. Fixed the issue where relaunch and redirect events cause loss of badge, hidden status, and styles set on tabbar.
  3. Fixed the occasional back button issue on tab root pages.
  4. Fixed the white screen issue caused by UserAgent being modified.
  5. Fixed the issue where NSNull fault tolerance may fail if the Host-App overrides NSNull's standard message forwarding methods.
  6. Fixed the issue where audio playback volume decreases during recording.
  7. Fixed the issue of missing reloadPage event in the route queue.
  8. Fixed the issue where query is not passed through when the startup parameter query is not provided.
  9. Fixed the route queue disorder issue caused by an extra navigateBack when calling switchTab and navigateTo APIs simultaneously.
  10. Fixed the issue where the nodes method misses non-displayed tab pages when getting the page stack, causing white screen or page update failure due to inability to communicate with the Base Library view layer after switchTab.
  11. Fixed the issue where the file path obtained by getImageBase64 API is incorrect.

【Optimization】

  1. Optimized the logic of exitMiniProgram API, releasing the Mini-Program after execution completes.
  2. Optimized the hideHomeButton API effect, the homeButton no longer flashes during page loading.
  3. Optimized the issue where the badge view is too long when badge content exceeds the limit and displays as "...".
  4. Optimized vibrateShort API, supporting type parameter.
  5. Optimized the share menu, default display status changed to not displayed.

# 2.39.9

Update Time: 2023-02-25

Update Content:
【Optimization】

  1. Optimized Mini-Program route event execution order (user-operated route events are also added to the route queue).
  2. Optimized tabbar show and hide animations, as well as the top line display issue.
  3. Optimized the return timing of exitMiniProgram API callback and the timing of Mini-Program release.
  4. Optimized getAccountInfoSync, supporting plugin parameter, adjusting the envVersion of remote debugging version to develop.
  5. Optimized the path and query returned by the onLaunch event in Mini-Program App, supporting parsing parameters after the startup parameter path into query.
  6. Optimized the query returned by the onLoad event in Mini-Program Page, supporting the scenario of adding parameters after the startup parameter path.
  7. Optimized previewMedia API, supporting current parameter, compatible with crash issues caused by empty objects in sources parameter. 【Fixes】
  8. Fixed an issue where opening the More view and then changing the phone orientation to face up or face down would cause the More view to disappear.
  9. Fixed an issue where the startup query was empty when a tabbar Mini-Program was hot-started.
  10. Fixed a crash issue in older Mini-Program versions caused by a nil dynamic color when the color value was @bgColor.
  11. Fixed an issue where the enableAlertBeforeUnload popup was triggered on the root page.
  12. Fixed an issue where the user-select property of the text Component did not take effect.
  13. Fixed an issue where the height update of the input/textarea Component could be incorrect.
  14. Fixed an issue in the jssdk where routes could not be triggered due to unload timing when triggering a route.
  15. Fixed an issue where, on a page containing video with auto-pause-if-navigate set to true, navigating to the next page before playback and then returning would cause automatic playback.

# 2.39.7

Update Time: 2023-02-10

Update Content:
【Optimizations】

  1. Optimized the prompt content and prompt display position when there is no permission information on the settings page.
  2. Optimized the status bar show/hide and status bar style control during page navigation, compatible with scenarios where View controller-based status bar appearance is YES.
  3. Optimized the resource copy failure scenarios by splitting them into base library copy failure, Mini-Program Subpackage copy failure, system file copy failure, etc.
  4. Optimized the popup when chooseImage, chooseVideo, and chooseMedia open the album by removing the popup in this scenario.
  5. Optimized the More panel identifier to Development version during remote real-device debugging.

【Fixes】

  1. Fixed an issue where vconsole could be dragged to the status bar and could not be dragged back to other positions.
  2. Fixed an occasional resource copy failure issue when frequently opening Mini-Programs within a short period of time.
  3. Fixed an issue where closing a Mini-Program via side-swipe would not trigger closeCompletion.
  4. Fixed an issue where opening the More view and then changing the phone orientation to face up or face down would cause the More view to disappear.
  5. Fixed an issue where the cover-view position was incorrect when cover-view was nested inside the camera Component.
  6. Fixed an occasional incorrect position issue when cover-view was nested in a scrollview.

# 2.39.5

Update Time: 2023-01-20

Update Content:

【Fixes】

  1. Fixed an issue where the picker Component background color did not take effect, and adjusted the [Done] button text to [OK].
  2. Fixed an issue where navigating to a native page from a custom api would not trigger onHide and onShow events.
  3. Fixed an issue where opening a Mini-Program on a page about to be dismissed would not display it, and subsequent attempts to open the same Mini-Program on other pages would always fail.
  4. Fixed an issue where the camera Component screen would freeze after executing startRecord for the first time and saving to the album.
  5. Fixed an issue where map SDK marker image loading failure caused lag.
  6. Fixed a crash issue on iOS 12 when executing loadHTMLString: with a nil parameter.
  7. Fixed an issue where, after navigating from a Mini-Program page, if the status bar color changed, returning to the previous page might not restore the status bar color.
  8. Fixed an issue where the open_time parameter was 0 in the data report for the Mini-Program close event.
  9. Fixed an issue where all log levels displayed in the output logs were [E].

【Optimizations】

  1. Optimized the high-precision mode and timeout of the map SDK getLocation.
  2. Optimized the map SDK choosePoi interface by adding the city parameter to the return value when selecting a city.
  3. Optimized the custom menu click event by adding the query parameter to the return parameters.
  4. Optimized the coordinate calculation of cover-view to resolve incorrect positions of child cover-views caused by cover-view nesting.
  5. Optimized the microphone permission trigger logic of the camera Component so that microphone permission is only triggered when startRecord is executed.
  6. Optimized the video Component by changing fullscreen to same-layer rendering fullscreen.
  7. Optimized the custom loading page so that subclasses can modify the Mini-Program icon and title by overriding the layoutSubviews method.
  8. Optimized the way the app name is read during complaint feedback.
  9. Optimized the way cover-view animation events modify positions.

# 2.39.3

Update Time: 2023-01-06

Update Content:

【Optimizations】

  1. Optimized the validation logic of the setStorage and setStorageSync interfaces so that failure is returned when key and data are empty strings.
  2. Optimized the picker Component by setting a minimum font size, adjusting the displayable width in landscape mode to the screen width, and dismissing the Component when tapping a blank area.
  3. Optimized marker network link handling in the map Component by adding caching to avoid lag caused by frequent loading of network addresses.
  4. Optimized view controller orientation handling in the SDK to adapt to scenarios where the App project only has portrait or only landscape checked.
  5. Optimized the location permission judgment logic so that api callbacks are no longer repeatedly triggered after manually modifying the system location permission in Settings.

【Fixes】

  1. Fixed an issue where the textarea upward offset position was incorrect.
  2. Fixed an issue where the map Component in the Baidu Map Extension SDK would jitter when the maximum zoom level was less than the minimum zoom level.
  3. Fixed an issue where the default color was incorrect when setting polygons in the map Component.
  4. Fixed an issue where abnormal data would cause incorrect shapes to be drawn when drawing graphics in the map Component.
  5. Fixed an issue where "The operation could not be completed. There is not enough free space on the device." occurred when there were too many network requests within a short period of time.
  6. Fixed an issue where only iconPath took effect when setTabbarItem set both iconPath and selectedIconPath.

# 2.39.1

Update Time: 2022-12-24

Update Content:
【New Features】

  1. Added the authViewConfig configuration item, which can set the UI style of the authorization popup.
  2. Added the utility class FATPublicToolHeader.h, exposing some category utility classes.

【Optimizations】

  1. Optimized the downloadFile file extension rule to be compatible with cases where Content-Disposition contains spaces.
  2. Optimized the enableAppletDebug configuration item by adding the FATBOOLStateForbidden enum value, which can prohibit enabling vconsole and hide the debug button in the More panel.
  3. Optimized the request interface to support passing arraybuffer type data in data.
  4. Optimized the color handling logic in the SDK to support 8-digit hexadecimal colors.
  5. Optimized the images in the Map Extension SDK by moving them into the Extension SDK.
  6. Optimized the storage and display logic of location permission and background location permission.
  7. Optimized the location permission trigger logic by moving it from the core SDK to the Extension SDK.

【Fixes】

  1. Fixed an issue where the permission popup view had an abnormal layout during portrait/landscape rotation when the Mini-Program page orientation was auto.
  2. Fixed an issue where the UI of the privacy agreement page displayed abnormally when navigating to it while the permission popup was in landscape mode.
  3. Fixed an issue where the mask did not disappear when switching the app to the background and then returning while the More view panel was displayed.
  4. Fixed an issue where the video Component displayed abnormally when in fullscreen on iOS 16.
  5. Fixed an issue where, when the Mini-Program page orientation was auto, after the video Component automatically entered fullscreen when the device was in landscape, rotating to portrait did not adjust the content to portrait.
  6. Fixed an issue where passing "" as path in the startup parameters during hot start would report a page-not-found error.
  7. Fixed an issue where the error message obscured the navigation bar when opening a Mini-Program without initializing the SDK.
  8. Fixed an issue of memory surge caused by setting title on UIBarButtonItem.
  9. Fixed an issue where removing a marker in the update event of the map Component did not take effect.

# 2.38.11

Update Time: 2022-12-09

Update Content:
【New Features】

  1. Added the hideMiniProgramCloseButton property to the request object for launching Mini-Programs, supporting hiding all close buttons.

【Optimizations】

  1. Optimized the side-swipe close effect and swipe close effect of Mini-Programs.
  2. Optimized the threshold judgment logic for the number of simultaneously running Mini-Programs by adjusting it to be judged each time a Mini-Program is opened.
  3. Optimized an issue where a white screen appeared when clicking Back to Home before the home page finished loading when launching a Mini-Program from a non-home page.

【Fixes】

  1. Fixed an issue where, after an error view was displayed because the secondary page URL in the H5 loaded within the Mini-Program was not registered, the error view did not disappear after going back.
  2. Fixed an issue where the map sdk privacy permission authorization was not adapted.
  3. Fixed an issue where the recording state was not restored after navigating to the settings page and disabling recording permission following a call to startRecord.

# 2.38.9

Update Time: 2022-11-27

Update Content:
【New Features】

  1. Added support for the noConflict property of hideToast and hideLoading.

【Optimizations】

  1. Optimized the prompt message when a custom asynchronous api returns nil.
  2. Optimized the navigation bar title of the Mini-Program permission list to ensure complete display on small-screen models such as iPhone 6.
  3. Optimized the detailed description displayed in the phone number permission popup and adjusted the displayed user information fields.
  4. Optimized the custom schemes setting fields when launching Mini-Programs.
  5. Optimized Mini-Program Subpackage Preload to resolve the issue where resources within preloaded Subpackages could not be read.
  6. Optimized the issue where domain whitelist validation was required when loading H5 links in Mini-Programs under remote debugging.
  7. Optimized compatibility with lower versions of Baidu Map.
  8. Optimized getSetting and openSetting by adding getPhoneNumber permission and uniformly returning only permissions that have been requested.

【Fixes】

  1. Fixed an issue where the transition page did not display an error prompt when opening a Mini-Program without network connection.
  2. Fixed an issue where clicking the privacy agreement in the permission popup had no response.
  3. Fixed an issue where the status bar color was incorrect after returning from the About page of a Mini-Program.
  4. Fixed an issue where the language value returned by getSystemInfo was incorrect (now returns the phone system language).
  5. Fixed an issue where the dark and light configurations of Mini-Programs did not take effect when switching the phone's Dark Mode.
  6. Fixed an issue where calling stopPullDownRefresh in the onPullDownRefresh listener event of a Mini-Program did not take effect.
  7. Fixed a crash issue when the page corresponding to the path in the startup parameters did not exist.
  8. Fixed an issue where the Tencent Map Extension SDK marker did not display a bubble when only title was set.
  9. Fixed a crash issue when the privacy agreement was not agreed to.
  10. Fixed a possible crash issue when sliding in choosePoi.
  11. Fixed an issue where the recording state in the Capsule and More menu was not restored when startRecord recording ended.

# 2.38.7

Update Time: 2022-11-11

Update Content:
【New Features】

  1. Added pull-up load more to Baidu Map choosePoi.
  2. Added privacy agreement methods to the Map Extension SDK.

【Optimizations】

  1. Optimized the creation of JSVirtualMachine to resolve the issue where JSVirtualMachine memory was not released after a Mini-Program was released.
  2. Optimized the prompt message for interface failure callbacks in the Baidu Map API.
  3. Optimized moveAlone by adding a failure callback.
  4. Optimized the handling of custom api return values to be compatible with crashes caused by return values containing non-json objects.
  5. Optimized the display of the debug button and Mini-Program identifier for local Mini-Programs.
  6. Optimized previewImage to support images in the Mini-Program package.
  7. Optimized the file extension generation rule for the return value of the downloadFile interface.

【Fixes】

  1. Fixed an issue where h5 could trigger goBack to return to the page before redirectTo when using redirectTo.
  2. Fixed an issue where playing audio in the background did not take effect on iOS 13.
  3. Fixed an issue where the background color was transparent for tabbar Mini-Programs when the home page was an h5 page and navigationBarSytle was set to custom.
  4. Fixed an issue where the audio Component failed to play local audio (response missing Content-Type and Content-Length).
  5. Fixed an issue where the Back to Home button was not displayed.
  6. Fixed a crash issue where a user could enter a Mini-Program after the account trial qualification expired, but the second attempt to enter the Mini-Program would crash.
  7. Fixed issues with webview canvas2d putImageData and getImageData.
  8. Fixed an issue with video Component position updates.
  9. Fixed an issue where style was not updated in the update event of the map Component.
  10. Fixed an issue where previous data was not deleted when re-searching in map choosePoi.
  11. Fixed an issue where the view layout was incorrect after the input box lost focus in the map Component.

# 2.38.5

Update Time: 2022-10-28

Update Content:

【New Features】

  1. Added APIs for generating and decrypting tokens
  2. Added the errno field for interface request exceptions
  3. Added the onResize event for Mini-Program pages (aligned with WeChat)
  4. Added injection of the Mini-Program real-device debugging identifier
  5. Added configuration items for navigation bar title color and navigation back button color

【Optimizations】

  1. Optimized the file directory creation timing to ensure that the usr directory exists after the Mini-Program starts
  2. Optimized the timeout messages for websocket, download, upload, and request connections
  3. Optimized the bottom image of the loading page
  4. Optimized and supplemented background audio and innerAudio events
  5. Optimized video to support the enable-danmu field, updating the display and hiding of danmaku in real time
  6. Optimized the authorization denial prompt and authorization popup logic for getUserProfile and getPhoneNumber
  7. Optimized audio playback timing
  8. Optimized the errMsg content of custom asynchronous apis
  9. Optimized chooseLocation and openLocation pages by disabling landscape orientation (aligned with WeChat)
  10. Optimized the open-type event callback of button

【Fixes】

  1. Fixed an issue where the timeout was set incorrectly for websocket, download, upload, and request requests
  2. Fixed an issue where opening a native page from a Mini-Program and then opening a Mini-Program again from the native page failed
  3. Fixed an issue where the id type passed in input Component events was incorrect
  4. Fixed an occasional white screen issue caused by Subpackages loading before the Main Package
  5. Fixed an issue with Capsule display on external pages opened from Mini-Programs
  6. Fixed an issue where the prompt message was incorrect when there was no permission for the trial version
  7. Fixed an issue where the video Component displayed a black screen after video playback ended
  8. Fixed an issue where, when there were multiple videos on one page, one video entering fullscreen would cause other videos that support automatic fullscreen to also enter fullscreen
  9. Fixed a page layering issue caused by the parent view id of the cover-view Component being null
  10. Fixed an issue where backgroundColorTop pull-down background color was invalid
  11. Fixed a crash issue when the points format set for polyline in the native map was incorrect
  12. Fixed an issue where the temporary path for storing files was incorrect when the Extension SDK set productIdentification
  13. Fixed an issue where, when startTime was set dynamically and abnormally, audio would play from 0 and then jump to the startTime position
  14. Fixed an issue where button-share would trigger the delegate method twice
  15. Fixed an occasional crash issue with cover-view

# 2.38.3

Update Time: 2022-10-14

Update Content:

【New Features】

  1. Added the appVersion return field to the getSystemInfo interface.
  2. Added support for font-weight in textarea/input.
  3. Added the UIConfig configuration item navigationHeight, which can customize the Mini-Program navigation bar height.
  4. Added support for the Baidu coordinate system in the Baidu Map SDK.

【Optimizations】

  1. Optimized the fullscreen implementation of the video Component.
  2. Optimized the display of the video Component casting popup during portrait/landscape switching.
  3. Optimized custom synchronous apis to support additional information returned in custom errMsg.
  4. Optimized the effects of interactive views such as showModal, showToast, and showActionSheet.
  5. Optimized the recognition of the mode for iPhone 14 models in the getSystemInfo interface.
  6. Optimized the map SDK location api.
  7. Optimized the implementation of map SDK chooseLocation, openLocation, and choosePoi. 【Fixes】
  8. Fixed the issue where cover view added to the video component does not display.
  9. Fixed the issue where cursor-spacing is not updated when the number of lines decreases during editing in the textarea component.
  10. Fixed the issue where the title of the web-view page displays incorrectly when the App switches to the background and then returns to the foreground.
  11. Fixed the issue where the latitude and longitude coordinates of added markers are not at the bottom.
  12. Fixed the crash issue of camera frame data callback on iOS 11.
  13. Fixed the white screen issue when opening a non-tabbar root page of a Mini-Program first and then calling switchTab.
  14. Fixed the issue of incompatibility with iOS 16 when forcibly changing device orientation.

# 2.38.1

Update Time: 2022-09-24

Update Content:

【New Features】

  1. Added the deviceIde field to the header of the batch update and Mini-Program compilation detail APIs.
  2. Added the configuration item hideCapsuleCloseButton.
  3. Added technical support identifier on the Mini-Program loading page.
  4. Added custom scheme support.
  5. Added Agora SDK stream-removed event; when other clients leave, it needs to trigger a notification to the Base Library to send a remove native view event.
  6. Added Agora SDK switchCamera (camera switching) functionality.
  7. Added support for the JSSDK wx.config interface.
  8. Added product identifier configuration item, which can replace FinClip, etc.
  9. Added support for the compressVideo interface.
  10. Added Mini-Program privacy configuration and display.
  11. Added Baidu Map events such as callouttap, anchorpointtap, and tap.
  12. Added width, height, and zIndex properties for Baidu Map markers.
  13. Added support for Baidu Map callout and customCallout.
  14. Added an initialization configuration parameter to ignore HTTPS certificate verification for the webview component.
  15. Added a proxy method for injecting Cookie when the webview component loads.
  16. Added a configuration item for setting the navigation bar back icon.
  17. Added the ability to control the set quantity via license.
  18. Added WeChat Extension SDK, supporting WeChat login, WeChat Pay, obtaining WeChat account information, etc.
  19. Added performance statistics functionality.
  20. Added video screen casting functionality.

【Optimizations】

  1. Optimized the native map's chooseLocation to select the first POI data by default.
  2. Optimized tabbar styles to align with WeChat.
  3. Optimized camera to support the setZoom API.
  4. Optimized the remote debugging connection mechanism.
  5. Optimized the vConsole implementation to independently control log display via a separate webView.
  6. Optimized the video processing strategy for chooseVideo and chooseMedia.
  7. Optimized route event queue processing.
  8. Optimized canvas data transmission to use a non-serialized approach.
  9. Optimized the getLocation interface to support the isHighAccuracy parameter and adjusted the return values of accuracy, verticalAccuracy, and horizontalAccuracy.
  10. Log optimization: removed some duplicate logs and added a 5000-character limit for a single log entry.
  11. Optimized the proxy method for getUserInfo, adjusted to return results asynchronously.
  12. Optimized the permission error prompt for the button component's getPhoneNumber.
  13. Optimized the Capsule Button.

【Fixes】

  1. Fixed the issue where the cursor is partially obscured when focusing in input/textarea under certain scenarios.
  2. Fixed the issue where bindfocus of input/textarea is triggered multiple times.
  3. Fixed the issue where cursor-spacing is incorrect in textarea under certain scenarios.
  4. Fixed the issue where textarea behaves incorrectly after setting auto-height and maxHeight.
  5. Fixed a series of issues with BackgroundAudioManager and InnerAudioContext.
  6. Fixed the issue where websocket returns a successful connection when the url is empty.
  7. Fixed the issue where the video component fullscreen area is incorrect under certain scenarios.
  8. Fixed the issue where the Capsule position is too high in landscape mode on iPad.
  9. Fixed the issue of incorrect status bar height calculation on iOS 11.
  10. Fixed the issue where the custom tabbar configuration displays too high after calling hideTabbar.
  11. Fixed the issue of incorrect parsing of the window parameter in config.
  12. Fixed the issue where showToast's image passes an image with the finfile:// protocol.
  13. Fixed the issue where showToast's image parameter passing an empty string does not display the success icon.
  14. Fixed the issue where the Contacts SDK's API cancel event is not aligned with WeChat.
  15. Fixed the issue where DownloadTask.onProgressUpdate API returns negative values for progress and totalBytesExpectedToWrite when the server has no Content-Length header.
  16. Fixed the issue where Mini-Program backgroundColorTop and backgroundColorBottom may display incorrect colors.
  17. Fixed the issue where the UDPSocket.send API's onError error message is inconsistent with WeChat when port is empty.
  18. Fixed the issue where the tabbar top horizontal line is not displayed and the color is incorrect.
  19. Fixed the release issues of FATWeakJSCore and FATWeakScriptMessageDelegate.
  20. Fixed the issue where the error messages for canceling upload and download APIs are inconsistent with WeChat.
  21. Fixed the issue where the backgroundColor configured in app.json may be invalid.
  22. Fixed the issue where nativeView's layer is higher than coverView.
  23. Fixed the issue where navigateTo to the same page causes route failure.
  24. Fixed the issue where the background color is incorrect on the permission management page when the phone is in Dark Mode but autoAdaptDarkMode is turned off.
  25. Fixed the issue where page orientation does not take effect on iOS 16.
  26. Fixed the issue where the Capsule does not display but still responds to click events.
  27. Fixed the webSocket connection failure issue.
  28. Fixed the toFixed error caused by chooseLocation's latitude and longitude being of string type.
  29. Fixed the issue where the coordinate system type setting for Baidu Map does not take effect.
  30. Fixed the issue where the set rotation angle rotate and skew angle are reset during Baidu Map positioning.
  31. Fixed the issue of incorrect moveAlong interaction in Baidu Map.
  32. Fixed the issue where clicking a marker does not pop up when only title is set in Baidu Map.
  33. Fixed the issue where the compass is not displayed in Baidu Map.
  34. Fixed the issue where default values do not take effect when the map setting is empty.
  35. Fixed the issue where the native map component's bindregionchange event does not return the type field.
  36. Fixed the issue where the vConsole button may display in the upper right corner in preview versions of Mini-Programs.
  37. Fixed the issue where the userAgent in vConsole does not display the injected content.
  38. Fixed the circular reference issue of the root page in tabbar-type Mini-Programs.
  39. Fixed the crash issue caused by modifying objects in Mini-Program canvas.
  40. Fixed the UI display issues of the video component's fullscreen toolbar and after exiting fullscreen.
  41. Fixed the white screen issue in tabbar Mini-Programs.

# 2.37.13

Update Time: 2022-09-09

Update Content:

【New Features】

  1. Added configuration for the animation method when opening a Mini-Program in UIConfig (setting the default animation for scheme, universal link, and navigateToMiniProgram scenarios).

【Optimizations】

  1. WeChat Extension SDK optimization and FATAppletDelegate splitting.
  2. Optimized Amap (AutoNavi Map), removed the restriction on the Amap SDK version.

【Fixes】

  1. Fixed the display abnormality when entering the settings page from a landscape page.
  2. Fixed the issue where setting code and reason for webSocket does not take effect.
  3. Fixed the issue where page-meta does not support properties such as background-text-style, page-orientation, and background-color-top.
  4. Fixed the issue of incorrect window height calculation for pages with tabbar when navigationStyle is custom or customV2.
  5. Fixed the issue of incorrect path and query parameters in onShow and onAppShow of Mini-Programs.
  6. Fixed the Modal display abnormality when navigating from a portrait page to a landscape page via navigateToMiniProgram in Mini-Programs.
  7. Fixed the issue where request fails when the url parameter contains Chinese characters.
  8. Fixed the issue where the file at the path returned by FileSystemManager saveFileSync does not exist after saving.
  9. Fixed the issue of incorrect field names returned by the FileSystemManager fstat interface.
  10. Fixed the issue where code and reason do not take effect in the webSocket close interface.
  11. Fixed the issue where the top toolbar is not displayed after the video component goes fullscreen.
  12. Fixed the layout error caused by the timing of getSystemInfoSync after navigating from a portrait page to a landscape page in Mini-Programs.

# 2.37.11

Update Time: 2022-08-28

Update Content:
【New Features】

  1. Added support for the customV2 type of navigationStyle.

【Optimizations】

  1. Optimized the AlertBeforeUnload event.
  2. Optimized the camera component, removed the custom error reporting for hardware detection.
  3. Optimized uploadFile to support uploading resources within the Mini-Program package.

【Fixes】

  1. Fixed the crash issue of checkMenus on full-package Mini-Programs.
  2. Fixed the potential memory leak issue in network APIs such as Mini-Program request.
  3. Fixed the network abnormality issue in network requests caused by locally cached cookies.
  4. Fixed the issue where checking for updates does not update the Mini-Program groupname.
  5. Fixed the style error when switching to the background when TabBar is at the top.
  6. Fixed the data format error in canvas putImageData and getImageData.
  7. Fixed the crash issue caused by missing parameters when camera video compression does not require rotation processing.
  8. Fixed the issue where the side-swipe back does not work after navigating from a landscape page to the about page in Mini-Programs.
  9. Fixed the layout abnormality when returning from a landscape page after navigating from a portrait page in Mini-Programs.
  10. Fixed the navigation bar offset issue after returning from the camera page on iOS 14.
  11. Fixed the page layout error after rotating from portrait to landscape on iPad after setting resizable:true in Mini-Programs.
  12. Fixed the issue where the more view cannot be displayed in landscape mode on iPad.
  13. Fixed the occasional status bar misalignment issue on iPad.
  14. Aligned the emoji input limit with WeChat when input/textarea components restrict length.
  15. Fixed the issue where the page scrolls up when inputting text with line breaks in the visible area of the textarea component.
  16. Fixed the issue where only Confirm-Bar is displayed when both keyboardAccessoryView and Confirm-Bar exist in the textarea component in landscape mode.
  17. Fixed the issue where the keyboardAccessoryView is not displayed in input/textarea components under certain scenarios.
  18. Fixed the issue where the focused input position is incorrect when multiple auto-focus input components exist on the page.
  19. Fixed the page jumping issue when switching focus between multiple input components on the page.
  20. Fixed the issue where cursor-spacing is incorrect when the input component is not rendered in the same layer.
  21. Fixed the issue where innerAudio does not trigger onCanplay.
  22. Fixed the crash issue when stopping playback after switching src in innerAudio.
  23. Fixed the occasional crash issue with background audio.
  24. Fixed the issue where Bluetooth onBLECharacteristicValueChange has no content.

# 2.37.9

Update Time: 2022-08-12

Update Content:
【New Features】

  1. Added an API to get the Mini-Program implementation status of the custom share panel button functionality.

【Optimizations】

  1. Optimized the high CPU usage issue of the camera component.
  2. Optimized the getSystemInfo interface return parameters, added the enableDebug parameter.
  3. Optimized the error message when opening a Mini-Program via QR code when the QR code has expired.
  4. Optimized the bindInput callback of input and textarea components, added support for backspace keyCode.
  5. Optimized the QR code image recognition verification issue with the scancode iOS 11 new API.
  6. Optimized the logic for manually triggering fullscreen and enabling auto-fullscreen in the video component.
  7. Optimized the validation logic for the return address when opening a Mini-Program via QR code, removed redundant validation operations.

【Fixes】

  1. Fixed the menu display issue on iOS 12.5.5 system phones.
  2. Fixed the issue where Tabbar at the top obscures the navigateView.
  3. Fixed the issue where the Capsule and back button are too high in landscape mode on iPad.
  4. Fixed the issue where the permission request dialog pops up twice.
  5. Fixed the issue where addPhoneContact overwrites some fields instead of appending when adding to an existing contact.
  6. Fixed the issue where the more menu forward button state does not change after calling showShareMenu and hideShareMenu.
  7. Fixed the crash issue caused by still popping up an alert after closing the Mini-Program.
  8. Fixed the issue where the input component displays incorrectly after updating its position.
  9. Fixed the issue where continuing to input after exceeding the maximum allowed length in input/textarea components cannot trigger the bindinput event.
  10. Fixed the issue where the auto-height textarea component displays 2 lines of height when only one line of text is input.
  11. Fixed the issue where the placeholder is set to empty when the updatetextarea event does not carry the placeholder parameter.
  12. Fixed the issue where the video component's direction property value behaves incorrectly.
  13. Fixed the issue where the exit fullscreen button may not be clickable after the video component goes fullscreen.

# 2.37.7

Update Time: 2022-07-29

Update Content:

【New Features】

  1. Added the initialization SDK configuration item hideWebViewProgressBar, supporting hiding the progress bar during H5 loading.
  2. Added Clipboard Extension SDK, supporting setClipboardData and getClipboardData.
  3. Added the "Re-enter Mini-Program" menu item and hidden menu configuration item.

【Fixes】

  1. Fixed the navigation bar display abnormality on H5 pages when navigateStyle is custom.
  2. Fixed the issue where the onResize event is not triggered when rotating the tabbar root page between landscape and portrait.
  3. Fixed the occasional abnormal display position of showToast and showModal during Mini-Program page navigation.
  4. Fixed the issue of character loss when typing too fast in the input field.
  5. Fixed the issue where closing the Mini-Program causes QQ Music to pause.
  6. Fixed the issue where the onTimeUpdate event is still triggered after background audio stops playing on iOS 13.
  7. Fixed the issue where the onStop event is not triggered after audioManager and backgroundAudioManager pause and then stop.
  8. Fixed the crash issue caused by displaying an Alert dialog on a sub-thread when phone-related parameters are missing in the add contact API.
  9. Fixed the issue where the passed-in controller page cannot be released when the Mini-Program is not released after opening.
  10. Fixed the issue where markers are not displayed due to incorrect image paths when adding markers to native, Baidu, and Amap maps.
  11. Fixed the offset issue when opening the map via Baidu Map openLocation.
  12. Fixed the positioning failure issue caused by the privacy agreement not being updated when positioning the current location in Baidu Map.
  13. Fixed the issue where some text is not visible after editing multi-line text in the textarea component.

【Optimizations】

  1. Optimized Log logging, reduced some duplicate or redundant logs.
  2. Optimized downloadFile, added support for filePath and timeout parameters.
  3. Optimized uploadFile, added support for the timeout parameter.
  4. Optimized error prompts for file operation methods such as stat, writeFile, openFile, and truncate.
  5. Optimized scanCode: added support for the scanType parameter; added scanType, charSet, rawData and other parameters to the return value.
  6. Optimized the setLocMarkerIcon function which is not supported by the native map.
  7. Optimized the underline effect of the selected item when the tabbar is at the top.
  8. Optimized writeBLECharacteristicValue, added support for the writeType parameter.

# 2.37.3

Update Time: 2022-07-18

Update Content:

【Fixes】

  1. Fixed the crash issue of camera frame data callback on some device models.
  2. Fixed the issue where the stat and statSync interfaces do not traverse subdirectories.
  3. Fixed the issue where request fails when the url contains Chinese characters.
  4. Fixed the issue where the transparent background color of canvas exported images becomes black.
  5. Fixed the issue where the canvas watermark background color is white.
  6. Fixed the issue where only one image can be previewed when the previewImage interface accesses network image interfaces.
  7. Fixed the issue where the display is incorrect due to position changes after input focus.
  8. Fixed the occasional crash of camera component frame data callback on some device models.

【Optimizations】

  1. Optimized the initialization parameter enableAppletDebug, supporting hiding the debug menu item by default.
  2. Removed the prompt text when video component resource loading fails.

# 2.37.1

Update Time: 2022-07-02

Update Content:
【New】

  1. Added getAccountInfoSync API.
  2. Added backgoundAudioManager;
  3. Added proxy events for screenshot and screen recording.
  4. Added network request header configuration and priority control for Mini-Programs.
  5. Added configuration item and priority control for whether to display watermark.
  6. Offline Mini-Programs support Subpackage loading.
  7. Offline Mini-Programs support the navigateToMiniprogram API.
  8. Added log management functionality, allowing control of output log levels and file writing.
  9. Added chooseMedia Mini-Program API.
  10. Added support for AMap CustomeCallout.
  11. Offline Mini-Programs support configuring custom API whitelist.
  12. Added configuration item to hide the back-to-home button, which can be configured independently for each Mini-Program.
  13. Added three screen recording related APIs: onScreenRecordingStateChanged, offScreenRecordingStateChanged, getScreenRecordingState.
  14. Added ID card keyboard for the input Component.
  15. Added Contacts Extension SDK, supporting the addPhoneContact API.

【Optimization】

  1. Optimized SDK Log logging, merged and removed some unnecessary Logs.
  2. Optimized the implementation logic of some old APIs, unified to dynamic creation.
  3. Optimized the more button proxy events.
  4. Optimized navigateToMiniProgram implementation.
  5. Optimized a series of APIs in jssdk, unified to dynamic creation.
  6. Optimized the file storage path generated by Mini-Programs, isolated by user (currentUserId).
  7. Optimized the image picker, and resolved the issue where the Host-App's Navigation Bar style settings affected the display of image picker buttons.
  8. Optimized the Mini-Program logo field, adjusted to full path.

【Fixes】

  1. Fixed the issue where plugin page path conversion occurred too early, causing plugin pages to fail to open.
  2. Fixed a series of bugs in file system management.
  3. Fixed the bug where selecting an image did not trigger the cancel callback.
  4. Fixed the issue where background audio playback would stutter when coverImgUrl is empty.
  5. Fixed the bug where modifying rate and volume in innerAudio did not take effect.
  6. Fixed the issue where the camera Component occasionally rendered successfully but did not display.
  7. Fixed a series of issues with incorrect Mini-Program Lifecycle events and parameters.
  8. Fixed the circular reference issue in the Extension SDK.
  9. Fixed the issue where the tabbar did not display after entering the detail page and returning.
  10. Fixed the issue with incorrect shareAppMessage data.
  11. Fixed the issue of incorrect carrier network type retrieval on iOS 15.5.
  12. Fixed the crash issue caused by the didActive proxy event.
  13. Fixed the issue where system version control did not take effect due to iSysVer in gray-scale control.
  14. Fixed the issue where sharing Mini-Program images via shareAppMessage did not display.

# 2.36.13

Update Time: 2022-06-18

Update Content:
【New】

  1. Added duration support for playVoice.

【Optimization】

  1. Optimized camera: optimized frame data transmission method; optimized frame data transmission efficiency; optimized frame data callback code logic.
  2. Optimized the communication duration between the core SDK and Extension SDK.
  3. Removed bitcode support.

【Fixes】

  1. Fixed the issue where downloadFile incorrectly identified file formats.
  2. Fixed the tabBar borderStyle color issue and Dark Mode adaptation issue.
  3. Fixed the issue where the custom tabbar disappeared during Pull-down Refresh of the Pull-down Refresh Component.
  4. Fixed the occasional crash issue of the input Component.
  5. Fixed the issue where content was obscured when the input Component's border radius was set too large.
  6. Fixed the issue where startup parameters did not take effect during hot start.
  7. Fixed the issue where onShow was incorrectly triggered when hot start triggered relaunch.
  8. Fixed the issue where navigateBack events were not sent when the App returned to the foreground from the background without lifeCycle being set.
  9. Fixed the showModal display error issue (changed showModal from displaying the top of the stack to displaying the current page).
  10. Fixed the issue where alert popups did not display on H5 pages.
  11. Fixed camera-related bugs: frame callback data could not be converted to images; frame data occasionally only called back once.
  12. Fixed the issue where Mini-Program cache was not released after clearing.
  13. Fixed the issue where the tabBar controller was not released after tabbar-type Mini-Programs were destroyed.
  14. Fixed the conflict between the video Component's up/down swipe gestures and page scrolling.

# 2.36.11

Update Time: 2022-06-02

Update Content:
【New】

  1. Added statistical events for Base Library download failures and Mini-Program package download failures.

【Optimization】

  1. Optimized Mini-Program Lifecycle proxy events, changed Mini-Program id to Mini-Program object.
  2. Optimized the zip decompression library, added prefixes to some missed C structs and functions.
  3. Optimized Mini-Program permission information storage, avoiding the need to re-authorize after switching users.

【Fixes】

  1. Fixed the issue where page height was incorrect after returning to the root page from a secondary page when using custom tabbar.
  2. Fixed the issue where triggering APM event reporting when Mini-Program failed to open would cause reporting failure.
  3. Fixed the issue where the close button on the error prompt page was unresponsive when scanning a QR code to open a Mini-Program failed.
  4. Fixed the issue of inaccurate content height calculation for input and textarea (sizeWithAttributes calculation inaccuracy).
  5. Fixed the incorrect API name for hideHomeButton.
  6. Fixed the occasional page white screen issue with Subpackage Mini-Programs.
  7. Fixed the issue where the transition page did not adapt to Dark Mode.

# 2.36.9

Update Time: 2022-05-20

【New】

  1. Added configuration item for page stack limit.
  2. Offline Mini-Programs support configuring logo images.
  3. Mini-Program more views support customization.
  4. Added swipe-to-close Mini-Program and swipe-to-go-back functionality.
  5. Added support for the AMap Extension SDK's marker width, height, zIndex properties, and callout padding property.
  6. Added support for WeChat authorization login scenarios.

【Optimization】

  1. Optimized showModel, showToast, showLoading.
  2. Optimized appendFile implementation.
  3. Optimized Subpackage (copy) loading issues for Subpackage Mini-Programs.
  4. Optimized handling of Mini-Program page white screens.
  5. Optimized the default effect of the loading page and parameters during customization.
  6. Removed the MJRefresh library dependency in the AMap Extension SDK.

【Fixes】

  1. Fixed abnormal display of the more menu in landscape mode.
  2. Fixed the Navigation Bar offset issue when launching Mini-Programs in landscape mode.
  3. Fixed the issue where startup parameters were not updated during Mini-Program hot start.
  4. Fixed the issue where cover-view did not support the ellipsis style.
  5. Fixed the occlusion issue when textarea content was excessive.
  6. Fixed the issue where the loading animation on the loading transition page did not stop.
  7. Fixed the issue where the back-to-home button occasionally displayed incorrectly.
  8. Fixed occasional SDKKey decryption issues causing verification failures.
  9. Fixed the issue where the video Component did not fill the full screen when going fullscreen on tabbar-type Mini-Programs.
  10. Fixed the issue where the camera Component failed to render after switching tabbar pages.
  11. Fixed the issue where innerAudio's onError event was not triggered.

# 2.36.7

Update Time: 2022-05-05

【New】

  1. Added bufferedTime property to innerAudio.
  2. Added disableDefaultPadding property to textarea.
  3. FinAppletGDMap Extension SDK added support for callouttap events, anchorpointtap events, and callout.

【Fixes】

  1. Fixed the issue where resuming playback after pausing innerAudio caused playback reset.
  2. Fixed the issue where setting innerAudio's startTime to a non-integer did not take effect.
  3. Fixed the issue where the textarea Component's autoHeight property behavior was inconsistent with WeChat Mini-Program components.
  4. Fixed the issue where the focus behavior was inconsistent with WeChat when selection-end passed an illegal value of null for textarea and input components.
  5. Fixed the issue where innerAudio's onPlay event was called back multiple times.
  6. Fixed the issue where the didOpenApplet callback was not triggered during cold start when the Mini-Program had local cache.
  7. Fixed routing issues such as tabbar being unclickable caused by executing redirectTo when the Mini-Program loaded the home page.
  8. Fixed the issue of abnormal height on some device models when the Mini-Program tabbar was in landscape mode.
  9. Fixed the issue where the Mini-Program type identifier was not displayed on the more menu page in landscape mode.
  10. Fixed the offset issue of page title and Capsule Button position in landscape mode.
  11. Fixed the page scrolling issue caused by incorrectly calling stopPullDownloadRefresh.
  12. Fixed the issue where aac format audio could not play normally.
  13. Fixed the issue where the cursor-spacing property of textarea/input behaved incorrectly.

【Optimization】

  1. Optimized the page display effect of chooseImage/chooseVideo when there was only one option.
  2. Optimized custom API, added appletInfo parameter.
  3. Optimized custom synchronous API, added Mini-Program appletInfo parameter (the old synchronous API method is no longer available).
  4. Optimized the UI of chooseLocation and openLocation.

# 2.36.5

Update Time: 2022-04-20

【New】

  1. Added open-type property to the button Component.
  2. Added sendCustomEvent API for specifying Mini-Program id.

【Optimization】

  1. Optimized SDK error messages.
  2. Optimized getSetting API, aligned with WeChat.
  3. Optimized WebRTC MediaRecorder.
  4. Optimized sendCustomEvent functionality.
  5. Optimized Mini-Program update check process.
  6. Optimized Component release logic.
  7. Optimized WebGL code.
  8. Optimized the download Mini-Program/Base Library API request header to include organization id.

【Fixes】

  1. Fixed camera crash issues on lower iOS versions.
  2. Fixed the issue where readFileSync could not retrieve files when both position and length were empty.
  3. Fixed the issue where navigateTo and redirectTo navigated to tabbar pages.
  4. Fixed the issue where createAudioContext recording would not stop playing when returning or exiting to the background.
  5. Fixed the occasional issue where the logo did not display on the loading page and more menu.
  6. Fixed the occasional issue where Mini-Program cache did not take effect after optimizing the Mini-Program startup process.

# 2.36.1

Update Time: 2022-04-02

【New】

  1. Added support for custom synchronous API.
  2. Added setEnableDebug.
  3. Added more menu control to enable/disable debugging.
  4. Added offscreen canvas support.
  5. Added a series of TCPSocket APIs.
  6. Added same-layer rendering support for the camera Component.
  7. Added frame data callback to the camera Component.

【Optimization】

  1. Optimized Mini-Program running process (Mini-Program state machine).
  2. Removed the back-to-home button from the more menu.
  3. Optimized the logic for adding components, fixed the occasional issue of incorrect component addition pages.
  4. Optimized UI prompts during Mini-Program permission requests.
  5. Optimized the back-to-home button functionality (updated to the Navigation Bar, removed back-to-home from the more menu).
  6. RecorderManager supports recording aac format audio.

【Fixes】

  1. Fixed the occasional issue where the page did not exist when Mini-Programs used navigateToMiniProgram.
  2. Fixed the crash issue caused by camera not supporting high resolution on low-end devices.
  3. Fixed the occasional issue where "Mini-Program" displayed as null.
  4. Fixed the occasional white screen when switching tabbar.
  5. Fixed the connection failure issue caused by switching network modes during TCPSocket connection.
  6. Fixed the UI display abnormality of showmodal in landscape mode.
  7. Fixed the occasional page UI display abnormality when opening Mini-Programs in landscape mode.
  8. Fixed error page adaptation in Dark Mode.
  9. Fixed the white screen and webpage loading wrong page issues caused by switching tabbar when loading external web pages.
  10. Fixed the issue where audio and video in H5 web pages were not paused when the Mini-Program was closed.
  11. Fixed the issue where the onResize event returned incorrect width and height.
  12. Fixed the issue where the getSystenInfoSync API returned incorrect width and height.
  13. Fixed the issue where repeated Pull-down Refresh would disappear.
  14. Fixed the issue where universalLink could not open Mini-Programs.
  15. Fixed the occasional issue where input auto-focus content did not shift up, causing occlusion.
  16. Fixed the issue where identifiers such as [Development Version] in the more menu could not be clicked.
  17. Fixed the issue of incorrect event flow for custom [Mini-Program Type] menu responses.

# 2.35.15

Update Time: 2022-03-19

【New】

  1. Added Mini-Program Lifecycle events;
  2. Support for custom APIs overriding built-in API implementations;
  3. Prompt for disabled Mini-Programs;

【Optimization】

  1. Compatible with old and new QR code formats;
  2. Optimized Mini-Program page Lifecycle events;

【Fixes】

  1. Fixed the crash issue when scanning QR codes to open Mini-Programs;
  2. Fixed related bugs with udp socket;
  3. Fixed the issue with Mini-Program cache quantity limits;
  4. Fixed the crash issue when Bluetooth characteristic values were updated with empty content;

# 2.35.13

Update Time: 2022-03-04

【Optimization】

  1. Optimized loading page, trial version pre-page, and Mini-Program configuration in Dark Mode;
  2. Removed clipboard-related APIs;
  3. Optimized recorder's speaker Bluetooth headset configuration.

【Fixes】

  1. Fixed the issue of the video Component's status bar being hidden;
  2. Fixed the issue where adding H5 pages failed to correctly trigger the pageOnUnload event;
  3. Fixed the tabbar Mini-Program custom Navigation Bar background color issue;
  4. Fixed the issue where the setNaigationBarColor API did not take effect;
  5. Fixed the display issue when input/textArea components gained focus;
  6. Fixed the issue where Bluetooth services could not recognize 128-bit UUIDs;
  7. Fixed the issue where getConnectedBluetoothDevices did not correctly return devices.

# 2.35.11

Update Time: 2022-02-19

【New】

  1. input/textarea hold-keyboard property support.
  2. Added Bluetooth Extension SDK (split a new Extension SDK from the original SDK).

【Optimization】

  1. Optimized handleOpenURL and handleOpenUniversalLinkURL comments.
  2. Optimized Categoray in the SDK, added prefixes to methods and properties.

【Fixes】

  1. Fixed the startup parameter issue for Offline Mini-Programs.
  2. Fixed the issue where canvasToTempFilePath saved images could not draw drawImge images and images were blurry.
  3. Fixed the issue where base64ToTempFilePath files were too large.
  4. Fixed the issue where images did not display when the image's src referenced a finFile://urs path.
  5. Fixed the crash issue caused by calling an unassigned block when Bluetooth removed a Bluetooth peripheral's service.
  6. Fixed crashes caused by abnormal longitude.
  7. Fixed the issue of no destination when opening Apple Maps for navigation.
  8. Added support for network paths/local paths/Code Package paths for marker icons in native and Baidu Maps.
  9. Fixed the issue where moveAlong had no animation effect.
  10. Fixed the issue where enable-zoom=false still supported gesture zooming and double-tap zooming in iOS Baidu Maps.
  11. Fixed the issue of inaccurate center point positioning when longitude/latitude passed empty ["",""].
  12. Fixed the display issue when the video Component switched between landscape and portrait fullscreen.
  13. Differentiated handling of landscape/portrait switching under different pageOrientation conditions.

# 2.35.9

Update Time: 2022-01-28

【New】

  1. ShowModal added editable and placeholderText support.
  2. Landscape/portrait switching adaptation for permission dialogs.
  3. Type fault tolerance handling for previewMedia.

【Optimization】

  1. Cancel the currently editing focus on the page when a permission dialog appears.

# 2.35.3

Update Time: 2022-01-14

【Optimization】

  1. Optimized getAppletsFromLocalCache to return the complete Mini-Program object.
  2. Optimized the native Cavans Component's strokePath, supporting state.
  3. Optimized the SDK's logic for retrieving configuration information from the server.

【Fixes】

  1. Fixed the occasional incorrect display of canvas shadows.
  2. Fixed the issue of incorrect startup parameters when Offline Mini-Programs were opened a second time.
  3. Fixed the issue where the domain whitelist and logo of Offline Mini-Programs did not take effect.
  4. Fixed the issue where iPhone 13 device names did not display in getSystemInfo.

# 2.35.1

Update Time: 2022-01-07

【New】

  1. Added webRTC, Map, and pageContainer components.

  2. Added compass-related Mini-Program APIs.

  3. Added custom loading functionality.

  4. Added keyboard-accessory.

  5. Added permission authorization functionality in Mini-Programs.

  6. Added Offline Mini-Program support functionality.

  7. Added Mini-Program theme configuration functionality.

  8. Added Baidu Map and AMap support for the map Component.

  9. Added openLocation and choosePoi Mini-Program API support.

  10. Added FileSystemManager readZipEntry API.

  11. Added checkIsOpenAccessibility API.

  12. Added native canvas Component. [Optimizations]

  13. Optimized the process of opening Mini-Programs by scanning QR codes.

  14. Optimized Mini-Program API performance.

  15. Adapted the location-related API interfaces for Dark Mode scenarios.

  16. Optimized the interaction logic of the chooseLocation search box.

  17. Isolated HTTPS cookies between Mini-Programs.

  18. Optimized preloading for tabbar-type Mini-Programs.

  19. Optimized permission-related API prompt messages for Mini-Programs.

[Fixes]

  1. Fixed the issue where adding polyLine to the map Component failed.
  2. Fixed the issue where relaunch on tabbar pages would lose query parameters.
  3. Fixed the occasional Navigation Bar display corruption issue.
  4. Fixed the issue where setTabbarItem did not support local images.
  5. Fixed the white screen issue when opening a Subpackage Mini-Program via scheme when the path does not exist.
  6. Fixed the issue where the Capsule Button was misaligned on certain device models when using a custom Navigation Bar.
  7. Fixed the issue where the vibrateLong/vibrateShort APIs had no callbacks.
  8. Fixed the occasional file move failure issue for full-package Mini-Programs.
  9. Fixed the occasional UI misalignment issue for tabbar Mini-Programs after switching between landscape and portrait orientations.

# 2.34.11

Update Date: 2021-12-18

[New Features]

None

[Optimizations]

  1. Replaced the webSubscribeCallBackHandler method in JSSDK

[Fixes]

  1. Fixed the white screen issue on first page load.
  2. Fixed the potential crash issue when converting to JSON.
  3. Fixed the issue where tabbar styles did not take effect on iOS 15.

# 2.34.9

Update Date: 2021-12-04

[New Features]

None

[Optimizations]

  1. Optimized Mini-Program expiration prompt messages.
  2. Optimized Video Component cover display.
  3. Optimized Modal UI.
  4. Optimized keyboard pop-up response.
  5. Optimized MD5 encryption method.
  6. Optimized the Mini-Program cache deletion feature.

[Fixes]

  1. Fixed the bug where the SDK triggered the DOMContentLoaded event multiple times.
  2. Fixed the bug where UDPSocket could not automatically bind a port when no port number was provided.
  3. Fixed the red dot notification anomaly bug.
  4. Fixed the Mini-Program landscape mode handling bug.
  5. Fixed the Video Component fullscreen bug.

# 2.34.7

Update Date: 2021-11-19

[New Features]

  1. getSuperviseInfo and getSystemInfo now include a bundleId field in their return values.
  2. Added the request API to JSSDK.

[Optimizations]

  1. Added type validation when creating the API runtime to prevent crashes.
  2. Fixed crashes when NSJSONSerialization encounters custom objects during serialization.
  3. Resolved the issue where the iOS Extension SDK did not automatically initialize.

[Fixes]

  1. Fixed the issue where the log library did not automatically write to files.

# 2.34.5

Update Date: 2021-11-05

[New Features]

  1. Added a prompt when the account is frozen.
  2. Added long-press to save functionality to previewImage.
  3. Added bitcode support.

[Optimizations]

  1. Optimized default colors for Native Components.
  2. Optimized the Mini-Program error prompt information page.
  3. Added orientation and type to getImageInfo.
  4. Optimized the currentApp logic within the SDK.

[Fixes]

  1. Fixed the bug where the tabbar displayed abnormally on certain device models in landscape mode.
  2. Fixed the bug where showModal caused the keyboard to pop up.
  3. Fixed the occasional crash issue of the compression library on certain device models.
  4. Fixed the issue where the Mini-Program closed after opening the camera/gallery on iOS 10 for Debon Securities.
  5. Fixed the issue where the audio player required two play actions.

# 2.34.3

Update Date: 2021-10-22

[New Features]

  1. Added header parameter support to the webview Component.

[Optimizations]

  1. Optimized fail prompt messages for permission-related APIs.
  2. Optimized callbacks for the vibrateLong/vibrateShort APIs.

[Fixes]

  1. Fixed the occasional failure of the openDocument API.
  2. Fixed the occasional crash of the input field on iOS 15.
  3. Fixed the occasional lag issue of the camera Component.

# 2.34.1

Update Date: 2021-9-28

[New Features]

  1. Added the video Component.
  2. Added Bluetooth general, low energy central device, beacon, and other APIs.
  3. Added Mini-Program Plugin support.
  4. Added a series of FileSystemManager APIs.

[Optimizations]

  1. Optimized Subpackage Mini-Program loading speed.
  2. iOS 15 compatibility adaptation.
  3. Optimized the Mini-Program cache deletion API.
  4. Optimized the apiPrefix parameter for SDK initialization.
  5. Optimized the canvas implementation for Subpackage Mini-Programs.

[Fixes]

  1. Fixed the recording issue when recordManager, camera, and innerAudio are used in combination.

# 2.33.15

Update Date: 2021-9-10

[New Features]

  1. Added encrypted string information field for Mini-Program objects.
  2. Added support for the itms and itms-appss protocols for redirecting to the App Store.

[Fixes]

  1. cover-view line break issue.
  2. Modified the text color of the photo album Navigation Bar.
  3. Fixed the appKey encryption verification issue during initialization.
  4. Fixed the display and logic issues of the back button when the TabBar controller root page loads H5 and navigates to a secondary page.

# 2.33.9

Update Date: 2021-8-27

[New Features]

  1. Added configuration parameters to hide the transition page close button and disable swipe-back to close the Mini-Program.
  2. The trial version Mini-Program QR code now supports configuring launch parameters.

[Optimizations]

  1. Optimized unused classes and functions in the SDK.

[Fixes]

  1. Fixed the conflict between userAgent and webrtc; webrtc is now supported in H5.
  2. Fixed the error when searching Mini-Programs via the API when the server is configured with MD5 encryption.

# 2.33.7

Update Date: 2021-8-13

[New Features]

  1. Added initialization configuration items to support encryption of data returned from the backend.
  2. Added version identification for Mini-Programs (trial version, development version, etc.).

[Optimizations]

  1. Optimized Mini-Program error prompt messages.
  2. Optimized the toast view display area and icons.

[Fixes]

  1. Fixed the issue where input and textarea would switch to English when exceeding the maximum length in Chinese input method.
  2. Fixed the loading failure issue when a Mini-Program loads H5 due to the system canceling the request.
  3. Fixed the resource copy failure issue that occurred when repeatedly overwriting and installing Mini-Programs.

# 2.33.3

Update Date: 2021-7-31

[New Features]

  1. Added Subpackage support for Mini-Programs.
  2. Added native webSocket implementation with blacklist/whitelist restrictions.
  3. Added cursor/selectedStart/selectedEnd properties for input and textarea.

[Optimizations]

  1. Optimized the logic for trial version, temporary version, development version, etc., and caching issues across different versions.
  2. Optimized the Mini-Program deletion API to improve deletion speed.
  3. Optimized parameter validation logic in the hot-start Mini-Program scenario.
  4. Optimized SDK packaging; now packaged as a dynamic library by default.
  5. Optimized data reporting by removing statistics for non-official Mini-Programs.

[Fixes]

  1. Fixed the incorrect upload time display for trial version Mini-Programs.
  2. Fixed the slow Mini-Program opening issue caused by APM statistics configuration.
  3. Fixed the display issue between cover-view and custom native-view.

# 2.32.1

Update Date: 2021-7-16

[New Features]

  1. Added readFile/readFileSync API interfaces.
  2. Added the exitMiniProgram API for exiting Mini-Programs.
  3. Added support for opening Mini-Programs with multi-server configuration via scheme and universal link.

[Optimizations]

  1. Adjusted the input method.
  2. Optimized video compression.
  3. Optimized the Mini-Program management API.

[Fixes]

  1. Fixed the APM data reporting bug.
  2. Fixed the bug where a Mini-Program opens another Mini-Program.
  3. Adjusted cover-view view hierarchy by z-index and fixed event response issues.
  4. Fixed the issue where the audio playback progress listener method was inaccurate, causing the playback completion event not to fire.
  5. Fixed the potential crash issue when converting PCM to MP3 format after recording completes.
  6. Fixed the crash issue during static library decompression.

# 2.31.3

Update Date: 2021-7-5

[New Features]

  1. Mini-Program Management 2.0.
  2. One-Code Pass.
  3. Added writeFile/writeFileSync interfaces.

[Optimizations]

  1. Optimized data reporting.
  2. Optimized cover-view hierarchy.
  3. Optimized the Pull-down Refresh control.
  4. Optimized the innerAudio default parameter issue.
  5. Optimized environment error prompt messages.
  6. Fixed array crash compatibility issues. 【Fixes】
  7. Fixed several bugs in the cover-view component.
  8. Fixed several bugs in keyBoard.

# 2.30.1

Update Time: 2021-6-21

【New】

  1. The textarea component supports same-layer rendering.
  2. Added trial version and QR code security control features.

【Optimizations】

  1. Adjusted the SDK from a dynamic library to a static library, reducing app size growth.
  2. Optimized Mini-Program landscape orientation compatibility issues.
  3. Optimized the prompt message when a Mini-Program fails to open.
  4. Optimized the video size of recorded videos.
  5. Optimized the text spacing of the cover-view component.

【Fixes】

  1. Fixed several bugs in the camera component.
  2. Fixed the bug where apm event statistics failed.

# 2.29.1

Update Time: 2021-6-5

【New】

  1. Added the camera component.

【Optimizations】

  1. Optimized the processing logic related to certificate verification.
  2. Optimized the address returned by the downloadFile API and other path formats.

【Fixes】

  1. Fixed the issue where the Mini-Program occasionally could not be closed when opened via scheme or universal link.
  2. Fixed the crash issue when swiping back after a Mini-Program fails to open.

# 2.28.1

Update Time: 2021-6-1

【New】

  1. Added FileSystemManager, supporting saveFile, getFileInfo, removeSavedFile, getSavedFileList, getSavedFileInfo.
  2. Added an initialization configuration item to disable the getSuperviseInfo API.

【Optimizations】

  1. Optimized the legacy APIs saveFile, getFileInfo, removeSavedFile, getSavedFileList, getSavedFileInfo.
  2. Optimized pull-down refresh to distinguish between gesture-triggered pull-down and API-triggered pull-down completion scenarios.
  3. Optimized path handling in startup parameters.
  4. Optimized the issue of abnormal images when selecting from iCloud via chooseVideo and chooseImage.
  5. Optimized Mini-Program landscape/portrait handling when the app's landscape/portrait configuration is incorrect.
  6. Optimized image resources by merging them into a single bundle.

【Fixes】

  1. Fixed abnormal userAgent reading when the webView component loads H5.
  2. Fixed abnormal logic of the back-to-home button.

# 2.27.1

Update Time: 2021-5-25

【New】

  1. Added a configuration item for apm event reporting compression.
  2. Added an API for searching Mini-Programs.
  3. Added an API with a close callback.
  4. The input component supports same-layer rendering.

【Optimizations】

  1. Added hashcode to the Mini-Program grayscale API to optimize the returned information.
  2. Optimized the Utils utility class to prevent naming conflicts.
  3. Optimized the prompt message when a Mini-Program is not compiled.
  4. Optimized the handling logic when a Mini-Program shows a white screen.
  5. Optimized caching for files and storage.

【Fixes】

  1. Fixed the issue where the custom tabbar default color displays as white when positioned at the top.
  2. Fixed the issue where actionsheet cannot be displayed in scenesDelegate-type projects.
  3. Fixed the error when opening files via openDocument.
  4. Fixed the attribute setting issue of tabbar on iOS 13 and above.

# 2.25.1

Update Time: 2021-4-30

【New】

  1. Added the domains configuration item, which allows setting domains that require mandatory HTTPS certificate verification for Mini-Programs.
  2. Added the cover-image component.
  3. Added domain blacklist restrictions and support for .* in the whitelist.

【Fixes】

  1. Fixed some attribute setting issues of the cover-view component.
  2. Fixed the keyboard occlusion issue of the input password field.

【Optimizations】

  1. Optimized SDK network image loading.
  2. Optimized the file extension reading strategy of the downloadFile API.
  3. Optimized data storage in the SDK to reduce SDK size.
  4. Optimized the HTTPS certificate verification feature in the Mini-Program webView.
  5. Optimized the default values when initializing the SDK without uiConfig configured.
  6. Optimized the size of image resources in the SDK.

# 2.24.4

Update Time: 2021-4-21

【New】

  1. Added HTTPS certificate security verification.
  2. Added custom API call restrictions.
  3. Added the cover-view component.
  4. Added custom tabBar support.
  5. Added a fault-tolerance mechanism for APIs returning null-type parameters.
  6. Added a reload mechanism after H5 page loading failure.

【Fixes】

  1. Fixed base64 parsing errors in query parameters.
  2. Fixed the issue where title settings become invalid when switching tabbar.
  3. Fixed the bug where the startRecord recording feature failed.

【Optimizations】

  1. Optimized the apm event reporting strategy.
  2. Optimized UIColor conversion.
  3. Optimized the caching strategy when loading H5.
  4. Optimized the prompt for unexpected Mini-Program exit.
  5. Removed the sdk-config API.

# 2.23.5

Update Time: 2021-3-19

【New】

  1. Added a series of APIs including storage and jssdk storage.
  2. Added Base Library md5 verification and password decompression.
  3. Added support for page-meta related APIs.
  4. Added support for opening Alipay, WeChat, and App Store in the webview component.
  5. Added database encryption.
  6. Added the fileToBase64 API.
  7. Added the apmServer configuration item.
  8. Added preview support for IDE QR code Mini-Programs.
  9. Added the 【Mini-Program】text configuration item.
  10. Added support for universal link.
  11. Added a series of APIs including innerAudio.
  12. Added a series of APIs including recoderManager.

【Fixes】

  1. Fixed the bug where tabbar displays abnormally when positioned at the top.
  2. Fixed the bug where the textarea's done button cannot be tapped on iPhone 6.
  3. Fixed the bug where the close button and more button do not respond to taps caused by right swipe.
  4. Fixed the bug where scanning the QR code cannot pull the latest version of the Mini-Program when the version number is unchanged.
  5. Fixed the bug where the webview cannot scroll after disableScroll is set on the page containing the webview component.
  6. Fixed the bug where getSystemInfoSync returns an incorrect Base Library version.
  7. Fixed the bug where the open completion callback and delegate are not triggered in some scenarios.
  8. Fixed the bug where opening a Mini-Program repeatedly downloads the Mini-Program package.
  9. Fixed the bug where multiple pull-down refreshes display abnormally.

【Optimizations】

  1. Optimized the previewVideo API to support progressive playback while downloading.
  2. Optimized the custom menu, now controlled by the backend and the Mini-Program.
  3. Optimized the API call for retrieving SDK configuration information.
  4. Optimized the Mini-Program logo link address during sharing.
  5. Optimized the native-view, camera, live-player, and live-pusher protocols.
  6. Optimized apm event statistics and reporting logic.
  7. Optimized multi-threaded concurrent SDK initialization.

# 2.13.109

Update Time: 2021-1-18

Update Contents:

  1. Added a configuration item for the number of Mini-Programs in a batch update.
  2. Added requestTask, downloadTask, uploadTask, and corresponding APIs.
  3. Added udpSocket and related APIs.
  4. Added configuration to hide the share button and more view effects.
  5. Added an API to get the URL of the current webView.
  6. Added an API to get the current userAgent.
  7. Added a Mini-Program screenshot event API.
  8. Added configuration for modifying the capsule style in the top-right corner.
  9. Added the getSelectedTextRange API.
  10. Added canGoBack/canNavigateBack/setNavigationBarTitle in jssdk.
  11. Added the previewMedia API.
  12. Fixed the crash caused by 5G network detection on iOS 14.0-14.2.
  13. Fixed the issue caused by empty parameters in getSystemInfo.
  14. Fixed the incorrect order of input confirm and blur events.
  15. Fixed the issue where setTabBarItem causes the badge to disappear.
  16. Fixed the issue where the Mini-Program logo does not display in the more view, about page, and non-business domain pages.
  17. Fixed the display issue when tabbar is hidden.
  18. Fixed the jitter issue of the input control during page navigation.
  19. Optimized startPullDownRefresh and stopPullDownRefresh.
  20. Optimized the hideToast/hideloading APIs.
  21. Optimized the scenario of navigateToMiniProgram navigating to itself.
  22. Optimized the pull-down refresh effect and functionality.
  23. Optimized apm event reporting timing and data compression.
  24. Optimized the loading timing of the Mini-Program home page.
  25. Optimized the Mini-Program page rendering logic.
  26. Optimized the show/hide logic of the more view during landscape/portrait switching.
  27. Optimized the white screen issue of Mini-Program pages.
  28. Optimized the prompt message when a Mini-Program fails to load.
  29. Optimized log management in the Mini-Program SDK.
  30. The SDK supports multi-server configuration.
  31. Removed location-related features from the core SDK; getLocation moved to the Extension SDK.
  32. Added support for live-player, live-pusher, and camera components.

# 2.12.65

Update Time: 2020-11-27

Update Contents:

  1. Added showTabBarRedDot, hideTabBarRedDot, showTabBar, hideTabBar, setTabBarStyle, setTabBarItem.
  2. Added 5G network type identification in APIs such as getNetworkType.
  3. Added the pageonunload event before an H5 page disappears.
  4. Added the getLocalImgData API in JSSDK.
  5. Added the textarea Native Component.
  6. Fixed the issue where base64ToTempFilePath fails in some cases.
  7. Fixed the crash caused by an empty placeholder in the updateInput event.
  8. Fixed the page layout error in some scenarios during landscape mode.
  9. Fixed the bug where styles become abnormal when returning to the Mini-Program after taking a photo in H5.
  10. Fixed the lag issue caused by the open Mini-Program API.
  11. Fixed the crash caused by 5G network detection on iOS 14.0-14.2.
  12. Fixed the issue caused by empty parameters in getSystemInfo.
  13. Optimized unimplemented APIs to return failure callbacks.
  14. Optimized iPhoneX detection by changing the macro to a function.
  15. Optimized the display effect of the loading page animation on low-end device simulators.
  16. Optimized the device model information such as iPhone 12 returned by APIs such as getSystemInfo.
  17. Optimized the loading and display of the Mini-Program logo and title.
  18. Optimized network requests in the Mini-Program SDK, added an SDK version parameter, and changed requests to short connections.
  19. Optimized the injected JSSDK to prevent errors on web pages that do not use JSSDK.
  20. Removed the get WebView API from the core SDK and moved it to the Extension SDK.

# 2.11.11

Update Time: 2020-10-23

Update Contents:

  1. Added an animation toggle parameter when opening a Mini-Program.
  2. Optimized the apm event reporting processing mechanism.
  3. Added the hideKeyboard event.
  4. Optimized support for landscape/portrait switching on iPad.
  5. Fixed the issue where domain verification fails for network requests after the app goes to the background.
  6. Added the compressImage API.
  7. Added support for pageScrollTo.
  8. Added saveVideoToPhotosAlbum and saveImageToPhotosAlbum APIs.
  9. Added support for the webPublishHandler event.
  10. Added an API for configuring the color of the web page loading progress bar.
  11. Fixed the bug where pushing a native page within a custom API and then opening a Mini-Program causes a crash.
  12. Fixed the bug where the app crashes when the language setting item does not exist in the plist.
  13. Fixed the bug where the switchTab onShow event is not triggered after tabbar Mini-Program redirectTo.
  14. Rewrote and optimized the input Native Component implementation.
  15. Added the SDK fingerprint configuration item.
  16. Optimized the response area for closing a Mini-Program via side swipe.
  17. Fixed the bug where the tabbar Mini-Program back button displays abnormally.
  18. Optimized the Mini-Program loading page animation effect.
  19. Added prompt handling when a Mini-Program page does not exist.
  20. Fixed the bug where API calls fail due to server switching.
  21. Added APIs for closing a specified Mini-Program and clearing the memory cache of a specified Mini-Program.
  22. Optimized the getImageBase64 and base64ToTempFilePath APIs.
  23. Added an API for setting the Mini-Program WebView UserAgent.

# 2.9.4

Update Time: 2020-09-11

Update Content:

  1. Permission-related APIs split into Extension SDK.
  2. Fixed the bug of maxLength setting in input Component.
  3. Updated the relaunch event in tabbar mode.
  4. Optimized the input updateInput event.
  5. Fixed the display bug of Pull-down Refresh.
  6. Fixed the style update bug of the updateInput event.
  7. Fixed the bug where the system's built-in Pinyin input method could not input Chinese.
  8. Input Component supports rounded corner settings.
  9. Mini-Program SDK supports opening links via window.open in H5.
  10. getImageBase64 supports reading images from the Mini-Program package.
  11. Fixed the screenshot display bug when loading H5 links.
  12. Fixed the bug where goback could not be performed when loading H5 links in special scenarios.
  13. Updated the parameters in the Forward proxy event.
  14. Optimized compatibility issues with server addresses and prefixes.

# 2.7.8

Update Time: 2020-08-13

Update Content:

  1. Compatible with web page addresses loaded by the SDK that contain Chinese characters, special symbols, etc.
  2. When the SDK loads a web page, it supports hiding the Navigation Bar.
  3. Optimized APM reporting conditions.
  4. Supports calling the API to close the Mini-Program from a web page.
  5. Added configuration parameters to control whether the SDK can autonomously request permissions.
  6. Optimized WKWebView cookie sharing and userAgent reading issues.
  7. The SDK supports configuring the display and hiding of the top-right More and Close buttons for Mini-Programs.
  8. Supports calling the APIs to open a Mini-Program and return to a Mini-Program from a web page.
  9. Added configuration parameters to support modifying the Navigation Bar title font.
  10. Fixed the layout bug of Mini-Program pages in tabbar style.
  11. Compatible with the case where the URL is empty when the SDK loads a web page.
  12. Updated the hideKeyboard event and invalid updateInput event in the Custom Component input.
  13. Supports making phone calls in H5 web pages.
  14. The SDK supports landscape/portrait switching, forced landscape, and forced portrait.
  15. Added prompts for Mini-Program expiration and application expiration.

# 2.5.6

Update Time: 2020-07-16

Update Content:

  1. Supports Native Component input.
  2. Added API for obtaining monitoring data.
  3. Optimized the logic for Mini-Programs loading H5 web pages.
  4. Updated the getSystemInfo interface.
  5. Optimized the callback of jssdk api.
  6. Optimized the Navigation Bar style when loading H5 web pages.
  7. Added anti-crash handling logic for common crashes.
  8. Exception compatibility for the Mini-Program information query interface.
  9. Updated APM statistics event fields and added new events.
  10. Optimized the size of the Mini-Program SDK.
  11. Optimized the popup prompts in the Mini-Program SDK.
  12. Added periodic detection by the Mini-Program SDK for new versions of recently used Mini-Programs.
  13. Added callback for updating Mini-Programs and API for restarting Mini-Programs.
  14. Added domain name validity verification for Mini-Program SDK APIs.

# 2.3.6

Update Time: 2020-06-18

Update Content:

  1. Supports Dark Mode adaptive configuration.
  2. Shortened the reporting interval of APM statistics events.
  3. Added events such as crash and interface access failure.
  4. Removed UIWebView-related code.
  5. Supports the chooseImage api in jssdk.
  6. Optimized interfaces such as chooseImage, chooseVideo, and previewVideo.
  7. Fixed the issue where side-swipe failed on the About and Feedback pages.
  8. Added grayscale-related APM events and parameters.
  9. Mini-Program navigateToMiniProgram supports opening a specified indexed Mini-Program version.
  10. Fixed the issue of repeatedly downloading the Mini-Program zip caused by md5 judgment under old data.
  11. Fixed the parameter issue of the request interface.
  12. Fixed the issue of incorrect parameters in the reportApmMonitor api.

# 2.1.24

Update Time: 2020-05-22

Update Content:

  1. Optimized the timing of APM statistics events.
  2. Optimized the request interface and returned data.
  3. Updated the Mini-Program API interface format to hyphenated paths.
  4. Added Mini-Program data reporting interface.
  5. Added the window parameter for Service and optimized some synchronous interfaces of Mini-Programs.
  6. Optimized safeArea data.
  7. Fixed the bug where forwarding was not possible when a Mini-Program loaded a network link.
  8. Added configuration items for whether to display [Back to Home] and [Complaint & Feedback].
  9. Optimized the callback when starting a Mini-Program.
  10. Optimized the information returned when webView loading fails.
  11. The Mini-Program SDK supports Chinese national cryptography.
  12. Added callback when closing a Mini-Program.

# 2.1.11

Update Time: 2020-04-22

Update Content:

  1. Fixed the issue where album images could not be selected after being synced from iCloud.
  2. Fixed compatibility issues with download addresses, icon addresses, etc.
  3. Updated interfaces such as Mini-Program information and Base Library.
  4. Updated the information returned by the getLocation interface.
  5. Fixed the Mini-Program event error issue caused by switchTab.
  6. Updated the UI of the Mini-Program More menu.
  7. Supports injecting custom menus into the Mini-Program More menu.
  8. Optimized the judgment logic for Mini-Program package updates.
  9. Supports globally hiding Feedback and Complaints.
  10. Added Mini-Program chooseLocation and chooseMessageFile interfaces.

# 2.1.1

Update Time: 2020-03-27

Update Content:

  1. About page optimization
  2. Other bug-fixes
  3. Added API: setTabBarBadge
  4. Added API: removeTabBarBadge
  5. Added API: getMenuButtonBoundingClientRect

# 2.0.191

Update Time: 2020-02-28

Update Content:

  1. Optimized the prompt when a Mini-Program fails to open.
  2. Supports custom Navigation Bar and hiding the Navigation Bar.
  3. Optimized Mini-Program Lifecycle events.
  4. Fixed the cache bug caused by startup parameters.
  5. Supports Mini-Program jssdk.
  6. Optimized Mini-Program api call callbacks.
  7. Optimized timer-related modules.
  8. Supports custom More menu.

# 2.0.177

Update Time: 2020-01-17

Update Content:

  1. Added security signature verification parameters to improve interface security.
  2. Updated the APM statistics interface.
  3. Added the type parameter to the onShareAppMessage event.
  4. Removed redundant page APIs.
  5. Updates such as returning control when a Mini-Program loads a network H5 page.
  6. Handling of exceptions when obtaining Mini-Program information, etc.
  7. Added a control API for SDK Log information display.
  8. Added the automatic update feature for the Base Library.
  9. Updated the return parameters of getSystemInfo.
  10. Added Feedback and Complaints.
© FinClip with ❤ , Since 2017