Appearance
iOS SDK Changelog
2.45.7
Update Date: 2024-08-23
Update Content:
[New Features]
- Added support for setting theme mode when opening Mini-Program.
- Added the
ignoreAppDelegateSupportedInterfaceOrientations
field toFATUIConfig
.
[Fixes]
- Fixed the issue of a white screen appearing immediately after calling
reLaunch
orredirectTo
followingnavigateTo
. - Fixed
saveFileSync
not validating whetherfilePath
is empty. - Fixed the issue where the image height is 1px less than the original after rotating the image 90 degrees in
editImage
. - Fixed the non-scrolling issue of
scrollview
under specific scenarios on iOS 13 and below. - Fixed the focus issue in the
input
component withfixed
attribute when there are other scrolling views on the page. - Fixed the issue on iOS 18 where video data could not be read correctly after selecting a video with
chooseMedia
. - Fixed the crash issue caused by a non-string
path
parameter innavigateToMiniprogram
. - Fixed the problem where
getFileInfo
would return success when passing a network address on newer systems. - Fixed the issue where the height of the
textarea
component was not updated after setting text through a button click in the Mini-Program. - Fixed the crash issue when opening the Mini-Program using
uni-app
.
[Optimizations]
- Optimized APM statistics to include
js_error
type APM events. - Enhanced the "reload" functionality on the failed loading interface when starting the Mini-Program.
- Optimized the memory cache clearing logic when closing the Mini-Program if the current page is white.
- Converted API documentation from Chinese to English.
- Optimized the effect of pull-to-refresh in the Mini-Program page.
2.45.5
Update Date: 2024-08-09
Update Content:
[Fixes]
- Fixed the issue where immediately calling
navigateTo
afteropendocument
could not open the page properly. - Fixed potential crashes in the host App using
masonry
layout. - Fixed crashes in the Mini-Program during hot starts when calling
previewMedia
inonload
. - Fixed the crash issue caused by introducing a third-party
UITextView
library impacting thetextarea
component. - Fixed occasional failures when selecting multiple videos in
chooseMedia
. - Fixed the white screen issue when opening the Mini-Program on iOS versions below 11 after integrating the Umeng SDK.
- Rolled back logic from version 2.45.3 regarding the back button display when loading (https://www.pgyer.com/tools/udid) in web-view.
- Fixed issues in version 2.45.3 that caused fullscreen video components to malfunction under horizontal and vertical screen transitions.
- Fixed the issue where the
placeholder
of thetextarea
component did not support settingtext-align
. - Fixed the issue of not triggering the
timeupdate
event after switching foreground and background while playinginneraudio
.
[Optimizations]
- Optimized the logic of timers (removed unnecessary thread handling logic; stopped timers when destroying the Mini-Program and ensured to dereference timer objects).
2.45.3
Update Date: 2024-07-26
Update Content:
[New Features]
- Supported the
disableBackForwardGesture
configuration option inapp.json
, allowing Mini-Programs to disable side-swipe back.
[Fixes]
- Fixed the memory leak issue caused by frequent network interface calls in the Mini-Program.
- Fixed the issue where pasting text from the clipboard in
input
/textarea
did not trigger text change listening if the system dialog appeared. - Fixed the problem where closing a Mini-Program during recording prevented re-recording after triggering
reLaunch
. - Fixed the
uploadFile
interface allowing uploads to succeed even if the specified file does not exist in the Mini-Program package. - Fixed the return duration of
recordManager
for PCM format audio being incorrect (0). - Fixed the crash issue in
request/uploadFile/downloadFile
when setting non-string type data in headers. - Fixed the disappearance of the navigation bar title and back button during the gesture back process in the settings page.
- Fixed the issue where the Mini-Program did not respond when swiping back and then clicking on a list item in the permissions list page.
- Fixed the crash issue occurring sporadically when
viewDidDisappear
resulted in the Mini-Program ID being nil. - Fixed issues with
scanCode
on UEAN-13 and UPC-A type barcodes. - Fixed the crash issue when calling
chooseLocation
on iOS versions below 13.0.
[Optimizations]
- Optimized APM event reporting for
page_hide/applet_hide/page_load
events. - Enhanced the
previewMedia
interface to support theposter
to be an image within the code package. - Improved the judgment logic of
canGoBack
in thewebView
component, fixing the improper display of the back button when loading H5 on the Mini-Program's homepage. - Enhanced the
live-pusher
component to support themode
parameter and optimized stream clarity (addressed the issue where setting clarity during streaming had no effect). - Improved the logic of the view controller for orientation handling to avoid crashes when rotating to a non-supported direction.
2.45.1
Update Date: 2024-07-12
Update Content:
[New Features]
- Added the
phone
andchannel
configuration options inFATConfig
. - Added
readCompressedFile
andreadCompressedFileSync
APIs.
[Fixes]
- Fixed the issue where reloading the page after a white screen in the Mini-Program resulted in an incorrect page stack number in the base library.
- Fixed the issue where closing Bluetooth did not trigger
onBLEConnectionStateChange
, nor did callingcloseBLEConnection
trigger it. - Fixed the permission error when reading file paths for
readFile
from the code package.
[Optimizations]
- Optimized all backend interface request headers in the SDK by adding the
mop-app-version
field. - Improved cookie storage for
web-view
components after iOS 17, isolating Mini-Program from both the host and between Mini-Programs.
2.44.11
Update Date: 2024-06-28
Update Content:
[Fixes]
- Fixed the crash issue when setting the
type
configuration of thecanvas
component towebgl
. - Fixed the issue where recorded videos from the
camera
component might have no sound. - Fixed the issue where the
input
component automatically closed the keyboard in certain situations after focusing. - Fixed the incorrect frame data callback error for the
camera
component on lower version systems (IMPLEMENTA-8682). - Fixed the error in the last frame data callback of
recordManager
during audio recording. - Fixed the
framesize
not functioning issue forrecordManager
recordings. - Fixed the potential for the last frame's data size to be zero in audio recording from
recordManager
. - Fixed the crash issue of the
picker
component when the host project only supports landscape mode. - Fixed the timing error of successfully/completing the
openSetting
callback. - Fixed sporadic incorrect positioning issues after completing pull-to-refresh.
- Fixed the issue of no
onplay
event being triggered under two scenarios: after resuming playback and when switching between foreground and background. - Fixed the issue where
recordManager
audio recording format extensions were not being.pcm
. - Fixed the problem where the actual format of audio recording in
wav
format was.caf
. - Fixed the issue where an exception occurred when opening the Mini-Program for the first time after updating the base library version.
[Optimizations]
- Improved the display effect of plain text Toast notifications.
- Optimized the LivePlayer stream for stutter issues during playback.
2.44.9
Update Date: 2024-06-14
Update Content:
[New Features]
- Added the configuration option
authDescStrategy
to support default descriptions for permission popups and prohibit calls to related permission APIs when not configured. - Added API related to
finfile
paths (generateFinFilePath:pathType:
andabsolutePathWithAppletId:finFilePath:needFileExist:
).
[Fixes]
- Fixed the administrative region data error in
region picker
(Hubei - Xiantao City, Xinjiang - Baiyang City, Xinjiang - Xinxing City). - Fixed the issue where the bottom cancel button border of the
picker
component did not display in light mode. - Fixed the anomaly in image display when cropping with
cropImage
. - Fixed the potential issue of the keyboard closing upon input in the
input
component. - Fixed the issue where the
input
component could not delete characters again under specific circumstances after refocusing. - Fixed the error where writing data to Bluetooth settings would throw error 10007 when
writeType
waswrite
. - Fixed the issue where the request interface would return without data if the success response lacked the
data
field (returned asdata: ""
). - Fixed the error message when the Mini-Game's
chooseImage
,chooseMedia
, andchooseVideo
APIs reported issues. - Fixed the failure to open a Mini-Program using the widget method after previously being opened through the Mini-Program method.
[Optimizations]
- Optimized online Mini-Program loading logic to support specified base libraries (requires backend upgrade to cloud version).
2.44.7
Update Date: 2024-05-31
Update Content:
[New Features]
- Added the APIs
editImage
andcropImage
. - Enhanced H5 applications with support for triggering custom menu agent method through the more button.
- Added the
encryptUserId
configuration option inFATStoreConfig
to encrypt theuserId
(requires backend service upgrade to 1.4.1 or above). - H5 applications now support injecting custom APIs.
- Added support for configuring navigation bar styles for H5 applications.
- Added events for Mini-Programs transitioning between foreground and background states.
- Added full-screen mode support for H5 applications.
- Enabled the host APP to send the
onCustomEvent
event to H5 applications.
[Fixes]
- Fixed the issue of being unable to start recording after opening debugging mode from the more menu during recording.
- Fixed the sporadic crashes when components received synchronization events.
- Fixed the abnormal display of the bubble view for
marker
in Tencent Maps. - Fixed the issue where input text in the
textarea
component would scroll to the top in specific scenarios. - Fixed the problem with the image sizes while reading part of the original images during
chooseImage
.
[Optimizations]
- Optimized the
getAppletPrivacyInfoWithAppletId:apiServer:completion
interface, adding theupdateTime
property to the returned object. - Enhanced
chooseImage
to support image editing functions. - Improved support for
always
property inmarker
bubble views for Gaode Maps. - Updated administrative area data for
picker
components to the latest 2024 version.
2.44.5
Update Date: 2024-05-17
Update Content:
[New Features]
- Added the
getBindAppletsWithRequest:completion
method to retrieve the list of bound Mini-Programs. - Introduced the
themeStyle
property to support configuration of Mini-Program themes.
[Fixes]
- Fixed the issue where
cover-view
did not show under specific conditions. - Fixed the error caused by opening files with
openDocument
if the file name contained a directory. - Fixed the white screen issue caused by incorrectly reading sub-package pages.
- Fixed crashes when the
picker
component received custom data. - Fixed the sporadic issue where pasting text in the
input
component resulted in incorrect cursor positioning. - Adjusted the integration of some file management SDKs that caused Mini-Programs to fail to open.
- Fixed the issue where
getSystemInfo
returned incorrectsafeArea
parameters.
2.44.3
Update Date: 2024-04-26
Update Content:
[Fixes]
- Fixed the issue where integrating the third-party library
FDFullscreenPopGesture
would display the system navigation bar and incorrect capsule position on the loading page. - Fixed the failure of compressed package verification due to an external same-named SHA256 summarizing function (prefix added).
- Fixed the sporadic failure to read the cache for network requests in weak network environments.
- Fixed potential errors reported from receiving messages in
TCPSocket
. - Fixed the APm event (applet_start) not being counted accurately when the Mini-Program is completed.
- Fixed the sporadic issues with parameters being infinity in the
chooseLocation
ifsetRegion
was called.
[Optimizations]
- Optimized input component content input to restrict typed content limited to specified character types when
type
is set to number, idcard, or digit.
2.44.1
Update Date: 2024-04-12
Update Content:
[New Features]
- Added the
applet:shouldChangePrivacyClickAction:
agent method for customizing privacy protocol click events. - Introduced new Mini-Program features.
[Fixes]
- Fixed the issue where taking pictures with the camera component on some models resulted in unclear images.
- Fixed the issue where resource paths for offline H5 applications with Chinese characters would cause loading failures.
- Fixed the issue where the
input
/textarea
components did not respond in iOS 12. - Resolved memory leaks within Mini-Programs and Mini-Games.
- Corrected the orientation error for frame data in the
camera
component.
[Optimizations]
- Optimized the configuration of
WKWebView
in the SDK by standardizing theuserAgent
. - Improved the clearing process of
cover-view
when the Mini-Program is cleared. - Enhanced event response for same-layer rendering components to avoid conflicts between input and text area component focus and click gestures.
- Improved the privacy configuration of privacy info files by adding
NSPrivacyAccessedAPICategoryDiskSpace
andNSPrivacyAccessedAPICategoryFileTimestamp
. - Enhanced the
live
component to support thepicture-in-picture-mode
attribute. - Improved the logic controlling the frequency of permission pop-ups for online Mini-Programs that manage the configuration on the backend.
- Enhanced the functionality for opening offline H5 applications, allowing configuration of query parameters.
2.43.11
Update Date: 2024-03-29
Update Content:
[New Features]
- Added the method
registerWkWebViewURLSchemeHandler:forURLScheme:
to support injecting custom scheme protocols inwebView
.
[Fixes]
- Fixed the size error displayed by the markers in the native map when added using the
mark
function. - Fixed the issue where the video component displayed with the navigation bars overlapping when the page did not display the capsule.
- Fixed the crash when the preceding Mini-Program information was not successfully requested for the experience version front page, clicking "Go to Experience Version".
- Fixed the issue where memory for Mini-Programs was not cleared when receiving
exitMiniProgram
event during Mini-Program shutdown. - Fixed the non-scrolling issue on the
webview
while being displayed inpage-container
. - Fixed the issue where markers in
multiple-map
were not centered correctly. - Fixed the failure to resume定位 after a failure when calling
startLocationUpdate
.
[Optimizations]
- Improved the more panel by supporting the new menu style
FATMoreViewStylePage
, allowing backend configuration of embedded menu names and logos, as well as the order of built-in and custom menus.
2.43.9
Update Date: 2024-03-16
Update Content:
[New Features]
- Added agent methods to set custom privacy protocol names and link addresses for Mini-Programs.
[Fixes]
- Fixed the keyboard failing to display on iOS 17.4 when using the
input
/textarea
components. - Corrected the abnormal filling of the live component after rotating the display.
- Fixed the issue where opening Mini-Program A and closing Mini-Program B would cause Mini-Program A to close if B called
exitMiniProgram
. - Fixed the text offset when entering the complaint and feedback page in landscape mode.
- Resolved anomalous returns after successfully submitting feedback on the offline H5 page.
- Fixed the issue where location information displayed missing cities and districts when using the native map's choose location function.
- Fixed the missing city, district, and region information when using Gaode Maps' choose location.
- Corrected the missing province information when displaying location data in Baidu Maps' choose location.
- Fixed the issue where two
innerAudio
players could not play on the same Mini-Program page. - Fixed the occasional failure of
getSystemInfoSync
on the Mini-Program page.
2.43.7
Update Date: 2024-03-01
Update Content:
[New Features]
- Added APIs to delete cookies for a specified URL (
deleteCookiesWithURL:completionHandler:
) and to delete all cookies (deleteAllCookiesWithCompletionHandler:
). - Introduced a privacy list file (
PrivacyInfo.xcprivacy
).
[Fixes]
- Fixed compatibility issues with the complaint feedback page against older versions of backend service interfaces.
- Resolved the failure to apply offline package configurations in online Mini-Programs (resolved issues since version 2.43.1).
- Fixed the missing
header
in the success callback fordownloadFile/uploadFile
. - Fixed the extreme low probability of getting stuck during pushing streams in
live-pusher
. - Fixed the
API
calls failing when obtaining the Mini-Program's privacy protocol if it had not yet opened. - Fixed the service loading timeout issue when there was a memory cache and a new version triggered a cold startup.
[Optimizations]
- Improved handling of one-dimensional barcode results for the
scanCode
API (removed leading zeros). - Optimized the base library's reading of window width and height (Page layer supports
getSystemInfo
andgetSystemInfoSync
events). - Enhanced timing of the onHeadersReceived, onChunkReceived, and success callbacks for
request/downloadFile/uploadFile
. - Optimized the
live-player
component to support theorientation
attribute. - Improved reporting statistics for APM events (added network type information).
2.43.5
Update Date: 2024-02-04
Update Content:
[New Features]
- Added proxy classes related to network requests and corresponding comments.
- Included support for
RequestTask.onChunkReceived
. - Enhanced the
stat/statSync
to support new compression libraries for processing directories within Mini-Program packages.
[Optimizations]
- Enhanced image loading by caching and merging requests within a short period for network images.
- Updated decryption and verification logic for SDKKey.
- Adjusted the Content-Type for complaints and feedback to JSON.
- Corrected the compatibility of tab bar icons with paths starting with "./".
- Improved the scenario when pop-up boxes for unavailable Mini-Programs are displayed during updates (error codes: 20000-20006, 20008-20010, 20024, 20025).
[Fixes]
- Fixed the nonplayable video files from
previewMedia
that referenced paths infinfile
. - Corrected the absent cover images when displaying video files with
previewMedia
. - Fixed the loading animation failure for
previewMedia
. - Resolved issues with
input
components remaining on the page after editing in deeply nested scrollviews. - Fixed sporadic issues with newline characters when entering text in the
textarea
component. - Rectified abnormal pre-views when continuously opening the camera.
- Fixed the tab bar icons not displaying in the entry configuration of
app.json
. - Corrected the issue of toggling the tab bar states from unselected back to the original state when clicking directly.
- Fixed the potential routing disorder from simultaneous side-swipe returns and
enableAlertBeforeUnload
. - Fixed the
uploadFile
interface, returning an image/tiff content-type while uploading an mp3 file. - Resolved the issue where pasting large texts in the
textarea
component resulted in partial visibility. - Fixed the failure of showing covers when switching between multiple videos in
previewmedia
. - Fixed issues related to images failing to show from independent packages transitioning to main packages during new compressed packages.
- Resolved the event penetration issue occurring in Mini-Programs on systems below iOS 13.
- Fixed the
bindconfirm
ontextarea
not being triggered in certain circumstances. - Corrected issues with the
confirmHold
attributes' ineffectiveness in specific Mini-Program scenarios. - Fixed the remote debug issues on iOS.
2.43.3
Update Date: 2024-01-19
Update Content:
[New Features]
- Added the
getLocalIPAddress
API. - Included the
getLatestUserKey
API. - Enhanced
stat/statSync/fstat/fstatSync API
to includeisFile
andisDirectory
attributes. - Incorporated SHA256 file summary information into
getFileInfo
. - Added
toDataURL
API support for the native Canvas.
[Optimizations]
- Enhanced notifications regarding subpackage pre-downloads.
[Fixes]
- Resolved the issue with
fstat
not supportingfinfile://store
andfinfile://tmp
addresses. - Fixed issues where
input
components would not update placeholder text properly. - Corrected the keyboard type-setting failure from ID card type to other types.
- Fixed occasional crashes in the service layer
evaluateScript
. - Resolved the failure to release
JSCoreService
object and persistent threads post Mini-Program destruction. - Fixed the inconsistencies after restarting capsules in some Mini-Programs.
- Resolved issues related to view hiding after showing custom permissions.
- Fixed the failure to return previously requested custom permissions for
getAppletAuthSetting
. - Corrected the persistent loading issue with log uploads.
- Resolved errors resulting from missing logos during cache clearing.
- Fixed the empty
appJsonInfo
situation during hot starts in offline settings. - Corrected errors in the version types saved after restarting a Mini-Program post opening a non-official Mini-Program.
- Fixed big data transmissions causing thread blocking and API delayed callbacks.
- Resolved crashes encountered when starting recording in the camera after IP issues.
- Fixed localization identifiers missing after locating.
- Resolved failure of
navigateToMiniProgram
after callingnavigateBackMiniProgram
.
2.43.1
Update Date: 2024-01-05
Update Content:
[New Features]
- Introduced the "clear cache" menu item in the more panel, supporting shutdown of the Mini-Program while clearing its cache.
- Added a series of APIs to
CacheManager
. - Included the configuration option
handleWebviewPreload
andpreloadWebView
API. - Enabled data pre-fetching and periodic updates along with relevant API support.
[Optimizations]
- Improved the
TCPSocket
connect interface to support timeout parameters. - Upgraded the
picker
component to ensure the administrative region data source is the latest from 2023, addingpickerRegionPath
for custom config. - Optimized the logic for released caches when the Mini-Program count exceeds five, with prioritized release for the earliest opened while ensuring others continue playing background audio.
- Enhanced layout of about pages in Mini-Programs (adjusted for multi-internationalization).
- Optimized logging logic within the SDK (reducing unnecessary info-level logging, repetitive logs, and event print parameters).
- Improved Tencent Maps extension SDK compatibility for version 4.5.13 and beyond.
- Enhanced
enableAlertBeforeUnload
to trigger alert prompts even when swiping back. - Cleaned up error messages during base library downloads where
MD5
verification fails.
[Fixes]
- Corrected the issue where SVG image formats were not supported starting from version 2.42.13.
- Fixed crashes triggered by using
KVO
to observeWebView.scrollView
background colors due to third-party libraries. - Resolved issues with the
marker
labels not being displayed correctly when the bubble in the Tencent Maps extension SDK was treated as a marker. - Fixed issues with
textarea
height calculations under special circumstances when setting auto-adaptability. - Resolved double triggers in audio playback due to mistakenly applying the
onplay
event multiple times. - Corrected multi-image loading failures in Mini-Games regardless of either compatibility or
jscore
mode. - Fixed UI configuration to ensure
previewImage
retains correct interaction points. - Rectified errors caused during
writeFile
orwriteFileSync
due to incorrect base64 conversion leading to data inconsistencies. - Fixed crashes in specific iOS models during first-time on-device debugging.
- Resolved potential streaming locks when playing background audio upon switching to H5.
2.42.13
Update Date: 2023-12-23
Update Content:
[New Features]
- Added the
getVideoInfo
andgetAvailableAudioSources
APIs. - Introduced the
restartMiniProgram
API. - Implemented
onMemoryWarning
andoffMemoryWarning
.
[Optimizations]
- Improved Mini-Program and base library compression formats for enhanced space efficiency.
- Enhanced API calls post the
camera
component is hidden or removed, adding failure callbacks. - Improved the status information returned from
getBluetoothAdapterState
. - Updated Picker component to handle unexpected variables when receiving custom parameters.
- Enhanced non-official version cold/hot implementations.
- Enhanced the API for opening Mini-Programs with a request to enable the
reLaunch
condition.
[Fixes]
- Fixed correctness issues with the height parameters returned from events triggered by the
video
component. - Resolved issues where pushing streams using third-party tools occasionally had sound dropouts.
- Fixed errors when reading empty files via
FileSystemManager.read
. - Corrected sporadic closure click errors in component functionality.
- Fixed camera/component connection errors that resulted from uncertain permissions.
- Handled specific loading failures for inner audio playback.
- Resolved the positioning issues in the
native
maps on iOS14 and the results' accuracy when using the native maps. - Fixed significant deviations in location coordinates returned from the native maps.
2.42.9
Update Date: 2023-12-08
Update Content:
[New Features]
- Introduced log upload functionality.
- Enhanced
CameraContext.setZoom
to return actual values when zoom adjustments are made. - Added the configuration option
webViewInspectable
inFATConfig
, enabling safari debug mode for iOS version 16.4 and above.
[Optimizations]
- Simplified user experience during complaint/repair submissions by adding smooth transition processes.
- Improved synchronization of language texts across all applications.
- Optimized memory management systems within the Mini-Program.
[Fixes]
- Corrected header loss issues from network requests due to
referer
. - Resolved cache variation issues where Mini-Program adjustments were not being localized.
- Corrected elements within iOS that reverted to Chinese settings in English environments during interactions.
- Resolved issues whereby swiping to close the Mini-Program occasionally caused locks in state.
- Addressed problems with opening the native maps inappropriately triggering unexpected results when conditional errors arose.
- Resolved crashing issues arising during video component interactions across iOS environments.
- Resolved mainstream issues related to background audio processing and allowed concurrency of contexts.
- Fixed optimization value retrieval processes reducing output occurrences in incorrect spans.
2.42.7
Release Date: 2023-11-25 Update Details:
Optimization
- Optimize the keys in all internationalization files within the SDK.
- Optimize the size of output images after setting the
resolution
attribute in thecamera
component. - Optimize the return value of
language
ingetSystemInfo
andgetSystemInfoSync
(return the language type from SDK initialization config). - Optimize the
referer
implementation to support settingreferer
inapp.json
. - Optimize the logic for offline Mini Program backend interface calls, no longer triggering pre-shelving of the base library, configuration info, etc.
- Optimize the interface interaction logic between the Mini Programs and the management backend (enhance multi-threading handling).
- Optimize the resource copying logic for Mini Program packages and base library packages (optimized to a fixed serial queue).
- Optimize the logic to prevent frequent re-opening of the same Mini Program within a short time (prevent re-opening if the Mini Program is running in the foreground).
- Optimize the way
onAppRoute
readspath
andquery
to avoid errors caused by the transmittedpath
containing HTML. - Optimize the callback type when closing the preview video by clicking the top left close button (change to
success
callback to avoid errors for unimplementedfail
callbacks).
Fixes
- Fix the occasional crash issue when checking for updates in the online release version Mini Program.
- Fix the issue where the
onKeyboardShow
event is triggered when some models hide the keyboard. - Fix the issue where when starting a Mini Program from an independent subpackage with on-demand injection enabled, custom components on all subpackage interfaces do not display after successfully starting and switching to a non-independent subpackage.
- Fix the issue where after starting from an independent subpackage with on-demand injection, returning from a normal subpackage to relaunch to a non-first tab in the main package results in a white screen.
- Fix the issue where
showLoading
, followed byredirectTo
, then executinghideLoading
does not hide the loading view. - Fix the issue where in special scenarios, editing an input box causes text changes in another input box.
- Fix the excessive upward or downward screen shift when switching between different input boxes.
- Fix the issue where when focusing on an input box, switching between app foreground and background causes the input position to change.
- Fix the issue where spacing is incorrect when focusing on input fields on a page with a tab bar.
- Fix the issue where playing background audio, followed by playing inner audio, prevents other app audio from resuming when inner audio is paused.
- Fix the problem where playing inner audio while background audio is playing stops the background audio.
- Fix the issue where the background audio of the Mini Program continues to play after re-entering the Mini Program.
- Fix the delayed triggering of
navigateTo
logic in Mini Program pages, causing crashes when navigating to the about page. - Fix the occasional upload failure 504 issue in the
uploadFile
interface and the issue where data is missing when the returned data is too large after uploading. - Fix the white screen issue when starting the Mini Program with the parameter
"/"
, and then clicking the top left corner to return to the home page. - Fix the issue of white screen on the target interface after continuously invoking
redirectTo
followed bynavigateTo
. - Fix the issue where checking for updates in the Mini Program updates the new version's
packageConfig
to the currently running old version, causing errors.
2.42.5
Release Date: 2023-11-10
Update Details:
New Features
- New
confirm
andPrompt
pop-ups in H5. - New configuration file in the bundle that includes the version number.
- New
info.json
configuration file in the bundle. - New method to obtain a long screenshot of the current page.
- New API for setting custom language packs.
- New support for
setInnerAudioOption
API.
Optimization
- Optimize the content display of
enableAlertBeforeUnload
pop-up. - Optimize the returned version in
getAccountInfoSync
(all versions return the current Mini Program version number). - Optimize the issue of continuous loading due to exceptions when loading the Mini Program service.
- Optimize the complaint and feedback interface.
- Optimize the startup process of offline H5 Mini Programs (remove unnecessary API requests and resource downloads).
- Optimize the scrollbar display logic of the
textarea
component.
Fixes
- Fix the issue of missing
sdk
fingerprint parameters in the header during the pre-download of the base library. - Fix the problem where clicking cancel after opening the camera with
scanCode
does not execute the fail callback. - Fix the
onCanPlay
event forinnerAudio
missingcurrentTime
,duration
, andbuffered
parameters. - Fix the crash issue when selecting iCloud video files on low version systems.
- Fix the occasional crash issue when selecting multiple photos.
- Fix the issue of image selection failing for some files.
- Fix the issue requiring two clicks to focus on
input
andtextarea
after dismissing the keyboard. - Fix the issue where audio continues playing in the absence of set
requiredBackgroundModes
. - Fix the issue of
confirm-type
property intextarea
not functioning. - Fix the issue of dynamic modification of
cursor = 0
or-1
not taking effect after re-focusing. - Fix the issue where dynamic modifications of
selection-start
andselection-end
do not take effect. - Fix the issue of the capsule button not hiding on entering settings in an offline H5 Mini Program.
- Fix the issue of failing to check for updates when re-entering an offline H5 Mini Program.
- Fix the issue of incorrect width of the more menu when the Mini Program is in landscape orientation.
- Fix the issue where copying a large number of contents in the
textarea
component leaves a gap between the input box and the keyboard. - Fix the issue that under special scenarios, focusing on the
textarea
and entering text causes it to scroll out of view. - Fix the issue that it is difficult to focus on the right edge of the
textarea
. - Fix the issue of refreshing the cursor position exceeding the text length being reset to the start position of the text.
- Fix the issue of abnormal camera previews on the first use of the camera component on iOS 16.
2.42.3
Release Date: 2023-10-28
Update Details:
New Features
- New support for setting
poster
(video cover) inpreviewMedia
. - New support for setting
alertText
inshowActionSheet
, with scrolling supported for many actions. - New agent method for handling logic when clicking the capsule close button to allow executing logic before closure.
- New APIs
chooseImage
,chooseVideo
, andchooseMedia
support loading iCloud images and videos. - New support for multiple present modes when opening Mini Programs on the iPad.
Optimization
- Discontinue the agent method for local Mini Program's
getAccountInfoSync
(no longer triggers agents, now implemented internally). - Optimize the validation logic of custom synchronous APIs (validate whether implemented before checking whether registered).
- Optimize the timing of callback triggers for the
scanCode
interface (trigger after closing the scan page). - Optimize the parameters for the
insert
andupdate
events ofinput
andtextArea
. - Optimize
BLEPeripheralServer.startAdvertising
, adding type checks forserviceUuids
. - Optimize the timing of audio
onPlay
events, changing to trigger afteronCanPlay
,seekEd
, etc. sending events. - Optimize the judgment logic for
play
,pause
,stop
,seek
, etc. events when calling to ensuresrc
is usable. - Optimize the distance between the keyboard and input box after focusing on
input
/textarea
. - Optimize the triggering time of the
initCompletion
agent method (adjust to afterserviceReady
event and when the home page starts to load). - Optimize the logic for downloading Mini Program packages or base libraries, adding specific error message parsing for download failures.
- Optimize the
getMiniProgramDetail
interface that does not write error types when there is no new version. - Optimize the timing and prompting of SDK configuration validation.
Fixes
- Fix the brightness issue of the first frame when recording video using the camera component.
- Fix the numerical error when
frameSize
of the camera component is set tosmall
. - Fix the distortion issue when recording video with the camera component.
- Fix the numerical error of
maxZoom
in the camera component. - Fix the flickering issue of the flashlight during page switches that contain the camera component.
- Fix the repeated triggering of the proxy when authorization is refused before the camera component is used.
- Fix the abnormal returns of the
cameraFrameListenerStop
event when the camera component has no camera permissions. - Fix the white screen issue caused by the base library update.
- Fix the occasional crash issue resulting from a type error.
- Fix the issue where the custom view height for Mini Program permission requests is set to 0.
- Fix the issue of all values being selected by default when switching the
focus
attribute ininput
andtextarea
. - Fix the issue where
createBLEConnection
still receives timeout callback after a successful connection. - Fix the absence of a callback for
closeBLEConnection
. - Fix the issue of sending
onTimeUpdate
events even when audio is not playing. - Fix the focus page not being pushed up correctly after opening the redirect page or vConsole in the Mini Program.
- Fix the issue of failing to create video views for WebRTC.
2.42.1
Release Date: 2023-10-13
Update Details:
New Features
- New support for
compressedWidth
andcompressedHeight
parameters incompressImage
. - New error messages for the camera.
- New support for image click previews in certain scenarios when opening H5 pages in Mini Programs.
- Added
cursor
field in the data returned from thebindblur
event oftextarea
andinput
components.
Optimization
- Optimize the preloading logs for subpackages.
- Optimize the UI of the more menu in landscape mode.
- Optimize the
digest
return value ofgetFileInfo
(adjust to lowercase). - Optimize
previewMedia
, allowing video playback to support caching. - Optimize the implementation scheme for custom APIs and custom scope permission pop-ups.
Fixes
- Fix the issue of how the compressed image is filled when using
previewImage
. - Fix the issue where the returned value of whether accessibility features are enabled is a string.
- Fix the issue where there are indicator points even when previewing only one image in
previewImage
. - Fix the issue of triggering two
onPlay
events during audio playback. - Fix the issue of triggering the front agent class on every call despite permissions being granted.
- Fix the issue of loading images failing in the Mini Game.
- Fix the issue where
uiConfig.appletText
configuration does not take effect. - Fix the issue of incorrect data conversion when writing Base64 data with
writeFile
andwriteFileSync
. - Fix the crash issue that occurs on some iOS devices during the first real device debugging.
- Fix the stagnant issue with the online video playback limit in
previewMedia
. - Fix the issue of animation position mismatch in landscape Mini Programs.
- Fix the inaccuracy of the offset when the map anchor is set to default.
- Fix the occasional connection abnormality in the live SDK.
- Fix the issue of default latitude and longitude being 0 in
chooseLocation
. - Fix the issue where invoking UI API calls within the Mini Program's
onLaunch
method may fail. - Fix the inability to open the more menu when the Mini Game's direction is set to
landscapeLeft
orlandscapeRight
. - Fix the issue where openLocation and chooseLocation pages are not full-screen on native maps in iOS 14.
- Fix significant deviation in positioning when using the native map’s chooseLocation API.
- Fix the occasionally long startup time of SDK initialization.
2.41.13
Release Date: 2023-09-24
Update Details:
New Features
- New configuration option for the home button in Mini Programs.
- New
level
property for thepicker
component to support province, city, and district. - New
qrCode
property inappletInfo
(the original QR code value when opening the Mini Program with QR code).
Optimization
- Optimize the logic of obtaining Bluetooth permissions in
getSystemSetting
(avoid issues of needing to declare Bluetooth permissions when Bluetooth extension SDK is not integrated). - Optimize the data storage of some configuration info, removing the logic of using
NSUserDefault
in the SDK. - Optimize the internationalization content of displayed text in Android and iOS SDK (aligning prompts on both ends).
- Optimize the selection effect of
chooseImage/chooseMedia
when thecount
is 1, also displaying the check button whencount
is 1. - Optimize the live component, update the underlying streaming library logic.
- Optimize the prompt information in the routing events when the
path
passed in refers to a non-existing page (remove extraneous.html
). - Optimize the access to files in the code package for Mini Programs utilizing
access
,getFileInfo
, andstat
APIs. - Optimize the error prompt information in the API fail callbacks for the camera component.
Fixes
- Fix the issue where base64 and hex format data cannot be written with
writeFile
. - Fix the overlap issue of the navigation bar and file title when opening files with
openDocument
. - Fix the issue of not triggering the front agent class before applying for permissions in
startLocationUpdateBackground
. - Fix the issue where setting
InnerAudioContext.volume
tonull
does not play successfully on iOS. - Fix the issue where setting
InnerAudioContext.startTime
to 100 and directly clicking play after cold starting the Mini Program plays from 0. - Fix the issue where the capsule button of the Mini Game appears too high.
- Fix the issue where after navigating from a Mini Program page to the host app page and swiping back, the capsule button is not hidden.
- Fix the issue with incorrect background color for the navigation bar when swiping back to the Mini Program page from the settings page.
- Fix the issue where while the Mini Program is open,
RecorderManager.start
does not callonError
after directly invoking other APIs. - Fix the issue of not checking permissions when resuming recording after turning off the microphone in settings.
- Fix the issue where the loading progress bar of offline H5 Mini Programs is not displayed.
- Fix the issue where
forceUpdate
does not take effect in offline Mini Programs. - Fix the white screen issue caused by checking updates during hot-loading of non-release versions.
- Fix the issue where the camera component displays incorrectly when switching between landscape and portrait mode.
- Fix the issue of camera frame data size being incorrect when switching between landscape and portrait mode.
- Fix the issue of incorrect orientation when taking photos and recording videos in landscape and portrait mode.
- Fix the issue of missing frame data callbacks in the camera component's scanning mode.
- Fix the issue of missing
maxZoom
in the firstbindinitdone
event for the camera component. - Fix the issue of missing
maxZoom
in the first triggeringbindinitdone
event. - Fix the occasional issue where background music from H5 loaded into the Mini Program does not pause when the Mini Program is closed.
- Fix the occasional failure of the compression process when selecting images in
chooseImage/chooseMedia
. - Fix the issue of
startTime
ininnerAudio
not taking effect. - Fix the display error when pasting text exceeding maximum length into a
textarea
. - Fix the incorrect height calculation when pasting text with line breaks into a
textarea
. - Fix the immediate effect of automatic preview in the IDE preview version on iOS.
2.41.11
Release Date: 2023-09-08
Update Details:
New Features
- New configuration options for the logo control in the more panel of Mini Programs.
- New
appletDebugMode
configuration inFATConfig
, enabling the vConsole for the production version of Mini Programs. - New
hideMiniProgramMoreButton
configuration option inrequest
, allowing the capsule's more button to be hidden. - New IDE auto-preview feature support.
Fixes
- Fix the issue where the
keyboard
height obtained when focusing oninput
/textarea
for the first time is 0. - Fix the disappearing navigation bar issue when reopening the Mini Program after displaying a landscape page.
- Fix the white screen issue when clicking the top-left return button to exit the Mini Program after opening H5 when using push animations.
- Fix the issue where the download progress of segmented packages does not pass on correctly in Mini Games.
- Fix the visibility issue of the status bar on offline H5-type application pages in dark mode.
- Fix the error when rendering HTTPS images using webview in Mini Games.
Optimization
- Optimize default options for background location permission, selecting the second option (when using and after exiting the Mini Program) by default.
- Optimize the return values of
getAppAuthorizeSetting
andgetSystemSetting
, supporting the return of Bluetooth permission status after iOS 13.1. - Optimize the prompt messages in the clipboard SDK's
setClipboardData
, supporting internationalization. - Optimize the display logic for the logo and name of the Mini Program, prioritizing the display of logos and names configured in
request
. - Optimize the prompt information for denied permissions in
recorderManager
. - Optimize the
scrollView
component, supporting properties likebounces
,showScrollbar
,pagingEnabled
, andfastDeceleration
. - Optimize the startup logic for non-official Mini Programs, supporting hot starts.
- Optimize the contents reported for apm events, adding
from
anduserId
(encrypted). - Optimize the logic for loading subpackages in Mini Games.
2.41.9
Release Date: 2023-08-25
Update Details:
New Features
- New properties
fileMd5
andpackages
inFATAppletInfo
. - New APIs related to device motion:
startDeviceMotionListening
and listening events.
Fixes
- Fix the issue of incorrect layering when adding custom pop-ups in the loading page.
- Fix the issue where repeated calls to play from
innerAudio
trigger theonPlay
event continuously. - Fix the occasional crash issue on native components in iOS caused by
nan
in regions. - Fix the incorrect path obtained during the
onLaunch
andonShow
events when settingentryPagePath
. - Fix the issue where switching between front and back cameras during video recording causes incorrect video orientation.
- Fix the issue where clicking the close button at the top right corner does not pause the recording after starting the recording with
RecordManager.start
. - Fix the issue where the fading effect for the recording icon at the top right corner fails after entering the main app while recording.
- Fix the issue where the recording state is incorrect at the top right corner and in the more panel after re-entering the Mini Program with it still recording.
- Fix the issue where audio will pause after navigating to another page when
RecordManager.start
is called. - Fix the issue where calling APIs that update unrequested built-in permissions causes crashes.
- Fix the issue where error messages obstruct vConsole when opening non-existent pages.
- Fix the 5px gap below the navigation bar on iPhone 14 Pro and iPhone 14 Pro Max.
- Fix the issue where the pop-up page for
choosePoi
orchooseLocation
is not displayed in full-screen. - Fix the issue where directly nested calls to
choosePoi
orchooseLocation
fail to open the target interface. - Fix the issue of crashes caused by
innerAudio
having atimescale
value of 0 when seeking. - Fix the issue where displaying
input
/textarea
inscrollView
leads to scrolling content showing offsets between the input and textarea.
Optimization
- Optimize returns of
getSystemInfo
interface, addingfontSizeSetting
to return values. - Optimize request parameters for the backend interface calls, adding a
fingerprint
parameter. - Optimize the error display for Mini Program routing when downloading previously undeclared subpackage pages fails.
- Optimize the error prompts for failed downloads of Mini Program base library or packages.
- Optimize English content for Mini Programs when there is no network connection.
- Optimize the handling of error message titles within the Mini Program.
2.41.7
Release Date: 2023-08-12
Update Details:
New Features
- New flashlight feature in
scanCode
and updatedscanCode
page UI. - New custom API registration function related to custom scope, including modifying custom scope permission states.
- New proxy for displaying custom views during the Mini Program loading state, allowing continuance post-show.
- New API information for custom APIs on Mini Program objects.
- New support for offline H5 Mini Programs.
Optimization
- Optimize the XML parsing classes used in the DLNA module of Video, adding prefixes to avoid warnings or conflicts.
- Optimize prompts for failures in loading H5 in web-view components, adding
binderror
callbacks. - Optimize the callbacks of
startLocationUpdate
andstartLocationUpdateBackground
. - Optimize the data reporting mechanism in APM to avoid leaving data locally when exceeding the configured threshold.
- Optimize error codes.
Fixes
- Fixing the issue where spaces in server addresses lead to errors when opening Mini Programs (service not initialized).
- Fix the issue of being interrupted by system events during inner audio playback, causing automatic resumption after ending interruption.
- Fix the playback problem with audio failing to start after returning to front stage from background without background audio permission.
- Fix the issue where offline Mini Programs with IDs containing underscores cannot play audio.
- Fix the issue of callbacks not triggering successfully when integrating the WeChat extension SDK with
getPhoneNumber
. - Fix the issue wherein swiping to close the Mini Program does not stop BackgroundAudio playback.
- Fix the white screen issue caused by loading services during the launch routing event.
- Fix the issue in routing where triggering swipe-back events during the queue process leads to disorder in the queue.
- Fix the white screen issue caused by triggering excess navigateBack events when switching between portrait and landscape modes.
- Fix the timing of setting flags for navigateBack causing extra navigateBack triggers.
- Fix the issue where
switchTab
does not invoke subsequent routing events correctly. - Fix the timing issue of when switchTab might prematurely trigger the next routing event.
- Fix the position issue of the capsule button in certain scenarios in Mini Programs.
2.41.5
Release Date: 2023-07-28
Update Details:
New Features
- New agent methods for adding to the home screen.
- New keyboard input events and callbacks support for Mini Games.
- New device orientation events and callbacks support for Mini Games.
- New audio interruption callbacks support for Mini Games.
- New API for obtaining privacy authorization content.
- New APIs and proxies for the offline store Mini Program scenario.
Optimization
- Optimize calendar permission requests to avoid solely relying on the core SDK requiring to add calendar permissions.
- Optimize the logic for initializing the JSContext in Mini Games.
- Optimize app settings not to show feedback menus, highlighting logic for Complaints in the about page and permissions pop-up.
- Optimize event call sequence of the live component to prevent issues with simultaneous insertion and beginning events.
- Optimize the online version of the Mini Program’s base library download logic, initiating base library pre-download during initialization.
- Optimize the loading logic for rendering components on the same layer.
- Optimize the permission management page of the Mini Program, supporting configuration for title position and back button images.
- Optimize the display of privacy agreements in the authorization dialogue.
- Optimize the handling logic for the home page (entryPagePath) parameter.
Fixes
- Fix the occasional crash issue when traversing and modifying Mini Program object arrays in sub-threads.
- Fix the issue of duplicate watermark additions.
- Fix the occasional crash issue with
batchGetStorageSync
andbatchSetStorageSync
.
Map Extension SDK
- New support for the
lineBreak
property in the map SDK. - Fix the issue of inaccurate POI data when using the native map.
- Fix the incorrect display of the map SDK bubble content.
2.41.3
Release Date: 2023-07-15
Update Details:
New Features
- New
batchSetStorage
,batchSetStorageSync
,batchGetStorage
, andbatchGetStorageSync
APIs related to storage.
Optimization
- Optimize the
downloadFile
interface to prohibit non-HTTP protocol URLs. - Optimize the caching strategy of the SDK configuration info interface to avoid re-requesting within the local cache validity period.
- Optimize the
toast
classes in share SDK, adding prefixes. - Optimize the threading handling in the Mini Program Service layer (one Mini Program to a fixed sub-thread).
- Optimize the logic of reading the startup parameters of the Mini Program and entry page path.
- Optimize the date picker component to support bilingual internationalization.
- Enhance
FATAppletInfo
with the addition ofcoreDescription
(Mini Program description).
Fixes
- Fix the issue where domain names configured with * in certificates do not take effect.
- Fix the issue where the vConsole in Mini Games does not display when clicked.
- Fix the occasional crash issue in Mini Games on iOS 10.
- Fix the incorrect sharing scheme in Mini Games.
- Fix the issue of red text in privacy agreement content.
- Fix the error issue when opening standalone subpackage pages with entryPagePath in offline Mini Programs.
- Fix the error issue when the value in entryPagePath does not match that in the Mini Program package leading to a crash.
Tencent Map Extension SDK (FinAppletTXMap): New Features
- New API for setting
webSecret
.
2.41.1
Release Date: 2023-07-01
Update Details:
New Features
- New error codes and error messages for empty SDK configuration info.
- New on-demand injection (lazyCodeLoading) feature and entryPagePath support.
Optimization
- Optimize the loading prompt for sub-packages in a running Mini Program when triggered.
- Optimize the
appDescription
of the Mini Program, providing detailed descriptions for mobile. - Optimize error messages for weboscket in different scenarios.
- Optimize the Chinese and English internationalization texts in the SDK.
- Optimize third-party authorization instructions.
- Optimize the implementation of accelerometer-related APIs.
- Optimize on-demand injection functionality, with base libraries directly calling
loadJsFiles
. - Optimize the
CustomCallout
implementation for markers in Map components. - Optimize permission pop-up for offline Mini Programs by hiding the button for privacy authorization instructions.
- Optimize the video component's gesture return functionality to trigger picture-in-picture (PIP).
- Optimize field deletion in
chooseLocation
.
Fixes
- Fix the issue with
setNavigationBarTitle
not taking effect in jssdk. - Fix the issue of remote debugging javascript breakpoints.
- Fix the issue with navigation bar positioning after triggering PIP on the native app and then opening a Mini Program.
- Fix the issue of the placeholder bouncing when focusing on the input component on some models.
- Fix the incorrect status of the Mini Game's status bar color and capsule style.
- Fix the display abnormalities of the previewMedia page when not playing video and rotating the device.
- Fix the issue of
websocket
sending certainarrayBuffer
data incorrectly after encoding. - Fix the issue where clicking shortcuts to open different Mini Programs only opens the first one.
- Fix the failure to open due to erroneously downloading the main package instead of the independent subpackage.
- Fix the downloading of the entire package when
entryPagePath
is set to a common subpackage page. - Fix the incorrect path issue upon restarting the Mini Program leading to repeated downloads of subpackages.
- Fix the occasional crashes caused by KVO due to enabling crash-avoidance configurations.
- Fix the occasional crash issue with the
chooseImage
API. - Fix the subpackage loading error caused by incorrect startup path in offline Mini Programs.
- Fix the crash issue of not passing
url
(required parameter) in the call topreviewMedia
.
Privacy Agreement SDK:Optimization
- Optimize the logic for permission checks for calendar APIs.
Share SDK:Optimization
- Optimize the image size during sharing in the share SDK (support for image compression).
2.40.13
Release Date: 2023-06-16
Update Details:
New Features
- New
addPhoneCalendar
andaddPhoneRepeatCalendar
features in Calendar Extension SDK. - New ability to write logs from host apps to Mini Program vConsole.
- New
startGyroscope
,stopGyroscope
,onGyroscopeChange
, andoffGyroscopeChange
for gyroscope-related APIs and events. - New method for setting multiple cookies via proxy.
- New pre-download feature for base libraries.
- New support for
sms
andmailto
schemes inweb-view
components.
Fixes
- Fix the failure issue of opening Mini Programs in H5.
- Fix the crash issue when switching tabs without a configured tab bar theme.
- Fix the bug where using both live player and recording does not trigger
onFrameRecorded
. - Fix the issue where changing the custom LoadingView could invalidate the Mini Program’s icon.
Optimization
- Optimize the display of Mini Program vConsole.
- Optimize permission strategies for Mini Programs to utilize user isolation.
- Optimize H5 page opening permissions to support configuration caching.
- Optimize domain name support for wildcard configuration.
- Optimize the startup process of Mini Programs (unpacking checks).
- Optimize the support for hiding the close button in local Mini Programs.
- Optimize the menu button code for Mini Programs.
Extended SDK:Fixes
- Fix the issue where the map does not move to the selected POI after selecting it.
Live Extension SDK:Fixes
- Fix the pop-up microphone permission bug for the live player component.
- Fix the noise issue during playback of the live player component on low-end devices.
2.40.11
Release Date: 2023-06-02
Update Details:
New Features
- New system interfaces for Mini Programs.
- New support for custom content in Mini Program permission pop-ups.
Optimization
- Optimize the
previewMedia
/previewImage
APIs, supporting GIF formats for image previews and saving GIFs to the photo album. - Optimize the
saveImageToPhotosAlbum
API to support saving GIF images to the photo album. - Optimize analysis SDK to add
shareDepth
andscene
parameters, supporting configurable sharing links. - Optimize batch updates for Mini Program interfaces, adding the option to download.
- Optimize the Mini Program info object to publicly expose the
appTag
property.
Fixes
- Fix the issue where the orientation switch in
previewMedia
causes video to stop playing. - Fix the inconsistent spacing between permission descriptions and bottom buttons in the permission pop-up.
- Fix the occasional failure to display the icon in the permission pop-up.
- Fix issues when opening Mini Programs with old APIs, missing the
apiServer
, leading to data reporting failures. - Fix the issue with bilingual discrepancies in error messages.
- Fix the issue where the authorization information returned by
getAppletAuthSetting
does not include unrequested permissions. - Fix the issue where the permission descriptions in the pop-up remain fixed as photo gallery information.
- Fix the issue of the
frame
parameter beingnan
, causing crashes inchooseLocation
in special scenarios. - Fix the issue where using native maps leads to defaulting to (0,0) after selecting locations.
- Fix the incorrect placement of the loading progress bar in the feedback interface when opened from a sideways screen.
- Fix the issue where the more menu may remain open after switching orientations in iOS 16.
- Fix the issue where pre-loading subpackages fails due to reuse of Mini Program objects.
- Fix the routing queue blockage when transitioning between two pages with picture-in-picture (PIP) instances.
- Fix the routing queue blockage when pushing further pages that contain the PIP view.
- Fix the routing event blockage when clicking the PIP view to return to corresponding pages.
2.40.9
Release Date: 2023-05-20
Update Details:
New Features
- New API for fetching the version number of the extended SDK.
- New API for obtaining the Mini Program loading view.
- New configuration item for version descriptions in local Mini Program requests.
- New support for pre-downloading subpackages in local Mini Programs.
Optimization
- Optimize the button size and spacing in the more menu.
- Optimize the more view in the normal version, adding identification for Mini Program versions.
- Optimize the prompt message when loading links not on the whitelist or within the blacklist in web-view components.
- Optimize the privacy protocol page for compatibility with dark mode.
- Optimize the actionSheet component, changing to a controller to prevent hiding the navigation layout.
- Optimize vertical/horizontal viewing compatibility for various pages related to
previewImage
/previewMedia
/previewVideo
. - Optimize the logic of switching the video component between front and back stages.
Fixes
- Fix the issue where the returned array is empty after taking a photo with
chooseImage
. - Fix the issue with incorrect height of the introduction and version description when switching between portrait and landscape modes on the about page.
- Fix the crash caused by calling callback on a thread of an entire package Mini Program within custom APIs.
- Fix the bug where tapping doesn’t display the keyboard in the input component.
- Fix the incorrect display of state for the game’s status bar color and capsule style.
- Fix the abnormal display when rotating the device with
previewMedia
’s playing video. - Fix the incorrect encoding and decoding issue when sending specific
arrayBuffer
data via websocket. - Fix the issue where only the first Mini Program is opened when using shortcuts to launch different Mini Programs.
- Fix the failure to load due to downloading the main package instead of the intended subpackage.
- Fix the incorrect behavior when setting
entryPagePath
to a common subpackage page, leading to opening the entire package. - Fix the issue where incorrect paths upon restarting the Mini Program lead to repeated downloads of the same subpackage.
- Fix the occasional crashes with the
recorderManager
performing audio record tasks. - Fix instances where the background playback for
recordManager
leads to audio not playing until tapped twice. - Fix the situation where setting playbackRate for
recordManager
during smooth playback leads to automatic pauses.
2.40.7
Release Date: 2023-05-08
Update Details:
New Features
- Added API in WeChat extension SDK to support opening WeChat Mini Programs via
navigateToWechatMiniProgram
.
Optimization
- Optimize the logic of
removeAppletFromLocalCache
, supporting the removal of non-official Mini Program cache. - Optimize the character length of confirm and cancel buttons in
showModal
pop-ups. - Optimize the display logic of the controls bar when the video component is full-screen.
- Optimize the request frequency of the
config-info
interface, avoiding calls when caching exists. - Optimize the
canvas
component to support full-screen display while also hiding the capsule during full-screen. - Optimize interfaces like Mini Program details and privacy permissions to only return English content when configured for English in SDK.
- Optimize error messages in scenarios like permissions being unavailable.
- Optimize
ignoreWebviewCertAuth
functionality for websockets. - Optimize video component controls for automatic display hiding when triggering playback through APIs.
Fixes
- Fix the abnormal display of menu bar button icons in dark mode.
- Fix the scrolling issue where setting autofocus in the input component triggers double scrolling.
- Fix the black screen issue in the live component after setting
hide
to true under same-layer rendering. - Fix the issue where video playback occurs even after setting
hide
to true in live components. - Fix the black screen issue under same-layer rendering when the top property is not set to zero.
- Fix the issue of automatic playback after updating properties while
hide
is true in live components. - Fix the issue where the error view bounces when reporting in Mini Program loading pages.
- Fix the issue where multiple routing switches after a failure in downloading the main package leads to queue lockup.
- Fix the lack of the bottom bar display under weak network conditions when switching tabs.
- Fix the lack of English internationalization for the background location permission pop-up content.
- Fix the issue with the web-view component not supporting new schemes in FinClip Assistant.
- Fix the random freezing issues with the camera component when utilizing the flash.
- Fix the issue where the Mini Program can only launch after cold-starting due to encryption dependencies.
- Fix the incorrect offset issue for the
anchor
property in markers. (This involves three map extension SDKs) - Fix the issue of GIF images being compressed to JPG format upon selection in
chooseImage
/chooseMedia
. - Fix the issue where clicking on blank areas in
chooseImage/chooseVideo/chooseMedia
does not trigger fail callbacks.
2.40.5
Release Date: 2023-04-23
Update Details:
Fixes
- Fix the issue where the sharing SDK uses the short link when copying links.
- Fix the failure issue when only implementing the new fetching subpackage proxy methods in local Mini Programs.
- Fix the issue where
navigationBarTitleFixed
set to true does not take effect in H5 configurations. - Fix the interaction issue where calling
chooseImage
inshowActionSheet
callback fails to triggerchooseImage
. - Fix the issue where selecting videos from the album in
chooseVideo
results in no callback. - Fix the issue where immediate openings of Mini Programs after initializing the SDK lead to errors causing failures to open.
- Fix the slow return of the navigation bar on the location information page when returning to settings.
- Fix the type matching error in permission applications.
- Fix the issue where
recorderManager.start()
without parameters causes audio not to record. - Fix the misplacement issue of
cover-view
after adjusting transformation properties.
New Features
- New Multi-language settings for Mini Program details and privacy configurations.
- New support for customized about pages.
Optimization
- Optimize the
keyboard-accessory
component to support hidden state upon first insertion. - Optimize menu button configurations to customize icon and title.
- Optimize the
path
parameter inonShareAppMessage
, appending query parameters. - Optimize layering for screenshot and watermark additions.
- Optimize custom APIs, replacing
cancel
callbacks to forwarding tofail
, deprecating thecancel
callback. - Optimize the
authorize
process by adding support forscope.addPhoneContact
andscope.userInfo
. - Modify parameters for permission applications to use enumerated values.
- Optimize the event and UI of routing queue errors upon subpackage download failures.
- Optimize the object information of launching Mini Programs
FATAppletInfo
, adding appJson information. - Enhance logging in base libraries to capture exceptions from Mini Program service in the SDK log (highlight mistake in regular expressions).
- Adjust the display position for the confirm button in
chooseFile
for dark mode compatibility.
2.40.3
Release Date: 2023-04-08
Update Details:
New Features
- New proxy methods for intercepting Mini Program permission applications and authorization results.
- New proxy methods for authorization descriptions and titles.
- New proxy methods for opening custom settings pages.
- New methods for obtaining Mini Program permission lists and modifying Mini Program permission states.
- New additional server extension information parameter
extInfo
inFATAppletInfo
.
Optimization
- Optimize the visibility of the "Add to Favorites/Remove Favorites" and "Add to Home Screen" options in the more menu to be hidden by default.
- Optimize the fetching of subpackages in local Mini Programs, returning error messages and displaying them appropriately.
- Optimize the
chooseFile
API in Mini Programs to provide prompts during multi-selection. - Optimize the handling of
left
andtop
parameters in update events for live components. - Optimize support for the
hidden
attribute in native components (input/textarea/video/camera/map/live-player/live-pusher). - Enhance implementations of the camera component.
- Fix the long execution time issue with
readZipEntry
in Mini Programs.
Fixes
- Fix the white screen problem when launching the root tab page after initially opening the Mini Program.
- Fix the issue of not being able to re-trigger agent methods if the local Mini Program proxy returns a failed subpackage decompression.
- Fix the crash issue when calling closure API to close the Mini Program.
- Fix the crash issue caused by the
current
value being larger thancount
in the Picker component. - Fix the lack of callback when switching to dark mode for the first time without triggering the
onThemeChange
event. - Fix the malfunction issue where special characters in the Mini Program name prevent the Add to Home function from working.
- Fix the rendering issue of markers using native maps not displaying accurately.
- Fix the issue where
polyline
with larger amounts of points in Tencent Map does not render completely. - Fix the unexpected crash issue caused by the
wechatLoginInfo
field.
2.40.1
Release Date: 2023-03-24
Update Details:
New Features
- New delegate
FATAppletAppJsonDelegate
for obtainingapp.json
and related proxy methods. - New features added to the more panel including [Add to Home Screen] and [Add/Remove from Favorites].
- New
language
entry in FATConfig for setting SDK common UI language types. - New support for the
displayWithCallout
property. - New version type setting parameter for local Mini Programs.
- New support for picture-in-picture in the video component.
- New implementation of the
live-player
andlive-pusher
native components. - New
commonUISupportOrientaion
option in UIConfig for setting the direction of common UIs. - New support for the
hide
property ininput
,textarea
,video
,camera
,map
, andlive-player
components.
Optimization
- Optimize the behavior of
chooseLocation
,openLocation
, etc., ensuring appropriate visibility of buttons on notch screens. - Optimize internal logic of loading and notifying in
loading
andtoast
components, encapsulating into a single class. - Update the links corresponding to QR codes in the sharing SDK to be short links, optimizing QR codes for high definition.
- Improve the batch updating interface of Mini Programs, adding parameters for whether to download.
- Enhance the Mini Program info object to expose
appTag
for external access.
Fixes
- Fix the crashing issue when loading H5 versions of WebRTC in Mini Programs when showing permission pop-ups.
- Fix the incorrect routing event types when clicking on the return button.
- Fix the dynamic maxLength value not being respected in the input component.
- Fix the failure of international translations when remote optimization fails.
- Fix the rendering issues in the bubble of native maps.
- Fix the ineffective setting of RGBA color with transparency in the native map bubble.
- Fix the erroneous behavior of
chooseFile
when count is equal to 1, ensuring no multi-selection occurs and that the multi-selection prompt is accurate. - Fix the reaction time when opening and closing five consecutive other Mini Programs leading to the capsule button becoming unresponsive.
- Fix the issue where
startTime
in m3u8 audio does not trigger automatic playback. - Fix the requirement of two clicks to resume playback on m3u8 audio.
- Fix the unexpected stopping of m3u8 audio when playbackRate is set to something other than 1.
2.39.11
Release Date: 2023-03-10
Update Details:
New Features
- New support for the hide property in the video component.
- New
chooseFile
interface introduced. - New sharing item in the menu bar and corresponding click events.
Fixes
- Fix the incorrect triggering of the
onThemeChange
event when the app moves to the background. - Fix the loss of badge, hidden state, and style when relaunching from
relauch
andredirect
events. - Fix the occasional issue of the back button appearing incorrectly on the root tab page.
- Fix the white screen issue caused by modified UserAgent.
- Fix the potential invalidation of NSNull error handling when the host app rewrites the standard message forwarding method.
- Fix the volume reduction when audio is played during recording.
- Fix the missing reloadPage event in the routing queue.
- Fix the lack of query transmission when startup parameters are not supplied with a query.
- Fix the routing disorder caused by simultaneous calls to switchTab and navigateTo, triggering an extra navigateBack event.
- Fix the missing tab page causing routing issues when getting the stack of nodes.
Optimization
- Optimize exitMiniProgram interface logic, releasing the Mini Program after execution.
- Optimize the effects of the hideHomeButton interface, which no longer causes the homeButton to flash during page loading.
- Optimize the length of the displayed badge if it exceeds the limit, ensuring it truncates correctly.
- Optimize the vibrateShort interface, supporting the
type
parameter. - Change the default display status of the sharing menu to hidden.
2.39.9
Release Date: 2023-02-25
Update Contents:
[Optimization]
- Optimized the execution order of Mini Program routing events (user operation routing events are now included in the routing queue).
- Enhanced the show and hide animations of the tabbar and resolved display issues with the top line.
- Improved the timing of the exitMiniProgram interface callback and the release timing of the Mini Program.
- Improved getAccountInfoSync to support the
plugin
parameter and changed theenvVersion
of the remote debugging version todevelop
. - Enhanced the
path
andquery
returned by the onLaunch event of the Mini Program App, supporting parameter parsing of the launch parameterpath
into thequery
. - Optimized the
query
returned by the onLoad event in the Mini Program Page, supporting scenarios where parameters can be added after the launch parameterpath
. - Improved the previewMedia interface to support the
current
parameter, and fixed crashes caused by empty objects in thesources
parameter.
[Bug Fixes]
- Fixed an issue where the more view would disappear upon rotating the phone upwards or downwards after opening it.
- Fixed the issue where the startup information
query
is empty when the tabbar Mini Program is hot-started. - Fixed a crash issue caused by the dynamic color being nil due to color values being
@bgColor
in older versions of the Mini Program. - Corrected the issue where the enableAlertBeforeUnload dialog triggered unexpectedly on the root page.
- Fixed the issue where the user-select property of the text component does not work.
- Fixed potential incorrect height updates of the input/textarea components.
- Addressed routing issues in jssdk when triggering routes due to unload timing.
- Fixed an issue where the page containing video would auto-play when transitioning to the next page with auto-pause-if-navigate set to true and returning afterward.
2.39.7
Release Date: 2023-02-10
Update Contents:
[Optimization]
- Enhanced the prompt content and display position when there is no permission information on the settings page.
- Improved the display and hiding control of the status bar during page transitions, accommodating scenarios where View controller-based status bar appearance is set to YES.
- Improved failure handling scenarios for resource copy, separating them into copy of basic libraries, Mini Program sub-packages, and system file copy failures.
- Optimized the popup for chooseImage, chooseVideo, chooseMedia when opening the album, removing popups in that scenario.
- Enhanced identification for more panels during remote genuine machine debugging to show as development version.
[Bug Fixes]
- Fixed the vconsole being draggably set to the status bar but unable to drag it back to other places.
- Resolved sporadic resource copy failures when opening the Mini Program frequently in a short time.
- Fixed the issue where the side-swipe to close the Mini Program did not trigger closeCompletion.
- Fixed the disappearing issue of the more view when changing phone orientation after opening it.
- Corrected the incorrect positioning of cover-view when nested in the camera component.
- Fixed sporadic incorrect positioning of cover-view when nested in scrollview.
2.39.5
Release Date: 2023-01-20
Update Contents:
[Bug Fixes]
- Fixed the issue where the picker component's background color was not effective, adjusting the completion button text to "Confirm".
- Corrected the issue where transitioning to a native page in the custom API did not trigger onHide and onShow events.
- Resolved issues where the Mini Program would not display when the page was about to dismiss, causing subsequent attempts to open it to fail.
- Fixed camera component freezing issues after executing startRecord and saving to the album for the first time.
- Fixed stuttering issues caused by the map SDK failing to load marker images.
- Resolved crashes in iOS 12 when executing loadHTMLString with parameter nil.
- Fixed potential issues with the status bar color not restoring when returning to the previous page after a page transition.
- Corrected the open_time parameter being 0 for data reporting when the Mini Program was closed.
- Addressed issues with log levels displayed in the output logs being shown as [E].
[Optimization]
- Optimized the high precision mode and timeout handling of the map SDK getLocation.
- Improved the choosePoi interface in the map SDK to include a city parameter in the return value when selecting a city.
- Enhanced click event handling in custom menus to include a query parameter in the return.
- Optimized the coordinate calculation for cover-view to resolve positioning issues caused by nesting.
- Improved logic for triggering microphone permissions for the camera component, only triggering upon executing startRecord.
- Enhanced the video component by adjusting full-screen rendering to the same layer.
- Improved custom loading pages, allowing subclasses to modify the Mini Program icon and title by overriding the layoutSubviews method.
- Optimized the reading method for the app name in complaint feedback.
- Improved how the animation event position for cover-view is modified.
2.39.3
Release Date: 2023-01-06
Update Contents:
[Optimization]
- Enhanced the validation logic for setStorage and setStorageSync, returning failures when key and data are empty strings.
- Improved the picker component to set a minimum font size and adjusted the display width for the horizontal orientation to the screen width and the clicked blank area to retract the component.
- Optimized network link handling for markers in the map component, adding caching to avoid frequent network address loading causing stuttering.
- Adjusted the direction handling of the view controller within the SDK to adapt to scenarios where the app exclusively selects portrait or landscape.
- Improved permission judgment logic for positioning to prevent repeated API callbacks after modifying system location permissions manually in settings.
[Bug Fixes]
- Fixed incorrect upward offset for textarea position.
- Addressed issues where the maximum zoom level of the map component was lower than the minimum zoom level in the Baidu map extension SDK.
- Fixed color problems when setting polygons in the map component.
- Resolved issues where drawing shapes in the map component with abnormal data would result in incorrect shapes.
- Fixed the "operation could not be completed, no remaining space on the device" issue caused by excessive network requests within a short time.
- Fixed the issue where only iconPath was effective when setting iconPath and selectedIconPath for setTabbarItem.
2.39.1
Release Date: 2022-12-24
Update Contents:
[New Features]
- Added the authViewConfig configuration item to set the UI style of the authorization popup.
- Introduced the utility class FATPublicToolHeader.h, providing some category utility classes.
[Optimization]
- Enhanced the file suffix naming rules for downloadFile, accommodating cases where Content-Disposition contains spaces.
- Improved enableAppletDebug flag, adding FATBOOLStateForbidden enumeration to prevent launching vconsole and hide debug button for the more panel.
- Enhanced request interface to support data-type arraybuffer.
- Improved color handling logic in the SDK to support 8-byte hexadecimal colors.
- Adjusted the map extension SDK images to be included within the extension SDK.
- Improved logic for storing and displaying positioning permissions and background positioning permissions.
- Moved logic for triggering positioning permissions from the core SDK to the extension SDK.
[Bug Fixes]
- Fixed layout issues in the permission popup view when the Mini Program page orientation is auto during horizontal and vertical screen rotations.
- Resolved UI display issues on the privacy agreement page when transitioning from gesture-based permissions to horizontal orientation.
- Fixed an issue where the overlay would not disappear when switching the app to the background and returning while the more view panel was open.
- Fixed abnormal display of the video component on full screen in iOS 16.
- Addressed the issue where the video component content was not adjusted to portrait when automatically going full screen on landscape devices.
- Fixed the issue where an empty path value in startup parameters would lead to a non-existent page error on hot start.
- Resolved the issue where error prompt messages obscured the navigation bar when the SDK was not initialized while opening the Mini Program.
- Fixed a memory surge issue caused by setting a title for UIBarButtonItem.
- Corrected issues where removing markers in the update event for the map component did not take effect.
2.38.11
Release Date: 2022-12-09
Update Contents:
[New Features]
- Added the hideMiniProgramCloseButton property in the request object that starts the Mini Program to support hiding all close buttons.
[Optimization]
- Improved side-swipe and light swipe closure effects of the Mini Program.
- Enhanced logic for judging the threshold of the number of concurrently running Mini Programs, adjusting to evaluate each time a Mini Program is opened.
- Addressed white screen issues occurring when clicking to return to the homepage before the homepage has finished loading when launching a non-homepage Mini Program.
[Bug Fixes]
- Fixed the issue where the error view would not disappear after displaying it for a secondary page URL in H5 loaded within the Mini Program when not registered.
- Resolved unadapted authorization issues for privacy permissions in the map SDK.
- Fixed an issue where closing the recording permission in settings after calling startRecord did not restore the recording status.
2.38.9
Release Date: 2022-11-27
Update Contents:
[New Features]
- Added noConflict property support for hideToast, hideLoading.
[Optimization]
- Improved prompt information when custom asynchronous APIs return nil.
- Enhanced the navigation bar title for the Mini Program permissions list, ensuring it fully displays on smaller devices such as iPhone 6.
- Improved detailed description information for displaying popup requests for phone number permissions, adjusting displayed user information fields.
- Optimized custom schemes' setting field when launching the Mini Program.
- Enhanced Mini Program subpackage pre-downloading, resolving issues where resources in the pre-download subpackage could not be accessed.
- Improved domain whitelist validation when loading H5 links in remote debugging Mini Programs.
- Enhanced compatibility for older versions of Baidu Map.
- Improved getSetting and openSetting to add getPhoneNumber permission and uniformly return only previously requested permissions.
[Bug Fixes]
- Fixed the issue where the error message would not display when opening the Mini Program transition page with no internet connection.
- Fixed the non-responsive reading of the privacy agreement in the permission popup.
- Corrected the issue where the status bar color was incorrect after returning from a Mini Program about page.
- Fixed issues with the incorrect language value returned in getSystemInfo (now returns the phone's system language).
- Fixed the Mini Program dark and light configurations which did not take effect during device dark mode switching.
- Resolved issues where stopPullDownRefresh was ineffective in the onPullDownRefresh listener event of the Mini Program.
- Fixed crashes that occurred when the path in the startup parameters pointed to a non-existent page.
- Addressed issues where markers set in the Tencent Map extension SDK would not display popups when only the title was set.
- Fixed issues where not agreeing to the privacy agreement would lead to crashes.
- Resolved sporadic crashes that occurred when sliding choosePoi.
- Fixed issues where the recording state in the capsule and more menus did not restore when ending recording.
2.38.7
Release Date: 2022-11-11
Update Contents:
[New Features]
- Added pull-to-load more functionality for choosePoi in Baidu Map.
- Introduced new privacy protocol methods for the map extension SDK.
[Optimization]
- Improved the creation of JSVirtualMachine, resolving memory not being released in the JavaScript Virtual Machine after the Mini Program is released.
- Enhanced prompt information for interface failure callbacks in the Baidu Map API.
- Optimized moveAlone by adding a failure callback.
- Improved handling returns for custom API responses, ensuring compatibility with non-JSON objects that may cause crashes.
- Enhanced display of the Open Debug button for local Mini Programs and indicators for the Mini Program.
- Improved previewImage to support images within the Mini Program package.
- Optimized rules for generating file suffix names returned by the downloadFile interface.
[Bug Fixes]
- Fixed issues where redirectTo allowed H5 to trigger goBack to pages before redirectTo.
- Resolved issues in iOS 13 where background audio playback operations did not take effect.
- Fixed transparent background issues for tabbar Mini Programs when the homepage is an H5 page and navigationBarStyle is set to custom.
- Fixed failures when playing local audio using the audio component (response missing Content-Type, Content-Length).
- Corrected display issues for the return to homepage button.
- Resolved crashes when entering a Mini Program after the account experience qualification expires, which initially allows entry but fails on the second attempt.
- Fixed issues with the canvas2d in webview for putImageData and getImageData.
- Corrected position update issues for the video component.
- Fixed style updating problems in the update event of the map component.
- Resolved issues where previously added data was not deleted when re-searching choosePoi in the map.
- Fixed layout errors after triggering input box loss of focus in the map component.
2.38.5
Release Date: 2022-10-28
Update Contents:
[New Features]
- Introduced APIs for generating and decrypting tokens.
- Added an error field in interface request exceptions.
- Added onResize event for Mini Program pages (aligning with WeChat).
- Injected genuine Mini Program debugging identifiers.
- New configuration item for navigational title colors and back button colors.
[Optimization]
- Improved file directory creation timing to ensure usr directory exists after the Mini Program starts.
- Enhanced the timeout message for websocket, download, upload, request connections.
- Improved loading images at the bottom of pages.
- Enhanced background audio and inner audio events.
- Improved video support for enable-danmu fields, allowing real-time updates to display and hide of bullet comments.
- Enhanced authorization denial prompts for getUserProfile and getPhoneNumber.
- Improved audio playback timing.
- Enhanced the content of errMsg for custom asynchronous APIs.
- Restricted horizontal orientation on chooseLocation and openLocation pages (aligning with WeChat).
- Improved callback for open-type events in the button component.
[Bug Fixes]
- Fixed timeout setting errors for websocket, download, upload, request requests.
- Fixed issues with opening native pages in the Mini Program which failed to open when reopening it in the native page.
- Fixed incorrect id type issue in the event handling of input components.
- Fixed sporadic white screen issues caused by sub-packages loading before the main package.
- Resolved display issues for capsules when opening external pages from the Mini Program.
- Fixed incorrect prompt messages when no permissions are displayed for the experience version.
- Fixed video component showing a black screen after finishing playback.
- Fixed issues where viewing multiple videos on one page could cause unexpected full-screen sizing issues.
- Addressed layering issues for cover-view components with parent view id being null.
- Fixed ineffective backgroundColorTop pull-down background color.
- Resolved crashes when the points format was incorrect for setting polylines in native maps.
- Fixed inaccurate temporary file path storage issues when setting product identification in the expansion SDK.
- Resolved issues where dynamically set startTime caused audio to play from the beginning instead of jumping to startTime.
- Fixed issues where button-share would trigger the agent method twice.
- Fixed sporadic crashes of cover-view components.
2.38.3
Release Date: 2022-10-14
Update Contents:
[New Features]
- Added appVersion field in getSystemInfo interface responses.
- Added font-weight support for textarea/input components.
- New UIConfig configuration item
navigationHeight
allows customization of Mini Program navigation bar height. - Added support for Baidu map SDK for Baidu coordinate systems.
[Optimization]
- Improved the full-screen implementation of the video component.
- Enhanced the display of screen switches for video component projection popup.
- Enhanced custom synchronous APIs to support additional information in custom errMsg returns.
- Improved interaction views for showModal, showToast, showActionSheet, etc.
- Enhanced recognition of the mode for iPhone 14 in getSystemInfo interface.
- Improved location API in the map SDK.
- Enhanced implementations of chooseLocation, openLocation, and choosePoi in the map SDK.
[Bug Fixes]
- Fixed issues where cover view added to video components would not display.
- Fixed cursor-spacing not updating correctly when reducing line numbers in the textarea component during editing.
- Resolved incorrect title display issues in web-view pages when switching from app background to foreground.
- Fixed problems where added marker latitude and longitude coordinates were not positioned correctly at the bottom.
- Resolved crashes in iOS 11 when frame data callbacks occur in the camera.
- Fixed white screen issues that occurred when opening a non-tabbar root page in the Mini Program and then calling switchTab.
- Resolved compatibility issues with forced changes in device orientation in iOS 16.
2.38.1
Release Date: 2022-09-24
Update Contents:
[New Features]
- Added deviceIde field to headers for batch updates and Mini Program compilation details.
- Introduced hideCapsuleCloseButton configuration item.
- Added technical support identifiers for Mini Program loading pages.
- New custom schemes support.
- Introduced Agora SDK stream-removed event for notifying native view removal when another end leaves.
- New feature for changing cameras in Agora SDK.
- The wx.config interface in JSSDK is now supported.
- Added product identifier configuration items, allowing replacements for FinClip and others.
- Added support for compressVideo interface.
- Introduced Mini Program privacy configurations and displays.
- Added callouttap, anchorpointtap, tap events for Baidu Map.
- Introduced width, height, zIndex properties for Baidu Map markers.
- Added support for callout and customCallout in Baidu Map.
- Added initial configuration item parameters that ignore certificate validation for HTTPS in webview components.
- Introduced proxy methods for injecting Cookies during loading of webview components.
- Added configuration items for setting the navigation bar back icon.
- Added license control for setting limits.
- Introduced WeChat expansion SDK, supporting WeChat Login, WeChat Pay, and obtaining WeChat account information.
- Added performance statistics functionality.
- Introduced video projection functionality.
[Optimization]
- Improved default selection for first poi data in native maps' chooseLocation.
- Aligned tabbar styles with WeChat.
- Enhanced camera support for setZoom API.
- Improved remote debugging connection mechanism.
- Enhanced vConsole implementation to independently control log display in webView.
- Optimized video handling strategies for chooseVideo and chooseMedia.
- Enhanced routing event queue processing.
- Used non-serialized methods for canvas data transmission.
- Enhanced getLocation interface to support isHighAccuracy parameter and adjust return values for accuracy, verticalAccuracy, horizontalAccuracy.
- Log optimization: removed some duplicate logs and added a single log length limit of 5000 characters.
- Improved the proxy method for getUserInfo to return results asynchronously.
- Enhanced error prompts for permission issues related to getPhoneNumber in the button component.
- Improved the capsule button's functionality.
[Bug Fixes]
- Fixed cursor blocking issues when focusing on input/textarea in specific scenarios.
- Resolved multiple triggers for bindfocus events in input/textarea components.
- Fixed incorrect cursor-spacing in textarea components in specific scenarios.
- Corrected issues with textarea behavior when auto-height and maxHeight were set.
- Fixed a series of issues with BackgroundAudioManager and InnerAudioContext.
- Resolved connection issues showing success when websocket URL was empty.
- Fixed display issues when video components go full screen in certain scenarios.
- Corrected capsule positioning issues when in landscape on iPad.
- Resolved incorrect status bar height calculations in iOS 11.
- Fixed incorrect custom tabbar configuration display issues after calling hideTabbar.
- Resolved parsing errors for window parameters in config.
- Fixed image display issues in showToast when using the finfile:// protocol.
- Fixed cases where empty string passed for image argument in showToast wouldn't display a success icon.
- Addressed issues with API cancellation events not aligning with WeChat in contact SDK.
- Resolved negative values for progress and totalBytesExpectedToWrite in DownloadTask.onProgressUpdate when the server lacks Content-Length headers.
- Fixed potential color display errors for Mini Program backgroundColorTop and backgroundColorBottom.
- Corrected issues where UDPSocket.send API reported inconsistent error messages when port was empty.
- Resolved issues where tabbar top line was missing and incorrectly colored.
- Fixed release issues with FATWeakJSCore and FATWeakScriptMessageDelegate.
- Ventured in consistency between error reporting for cancel upload/download APIs and WeChat.
- Resolved potential ineffectiveness of backgroundColor in app.json configuration.
- Fixed layering issues where nativeView overlapped coverView.
- Addressed routing failure issues caused by navigating to the same page.
- Resolved background color issues in permission management pages for devices in dark mode when autoAdaptDarkMode is disabled.
- Fixed issues where page orientation could become unresponsive on iOS 16.
- Resolved click event issues where capsules were invisible but still responsive.
- Fixed websocket connection failure issues.
- Addressed errors occurring due to chooseLocation latitude and longitude being string types causing toFixed issues.
- Resolved issues where setting coordinate system types for Baidu Map did not take effect.
- Fixed issues where setting rotation angle and skew during Baidu Map positioning would be reset.
- Resolved errors occurring during Baidu Map moveAlong interactions.
- Fixed issues where setting only title in Baidu Map markers did not prompt.
- Resolved issues where the compass would not display in Baidu Map.
- Fixed cases where default values would not take effect when settings were empty in the map.
- Resolved missing type field from returned bindregionchange events in the native map component.
- Fixed potential vConsole button visibility issues in preview version Mini Programs.
- Fixed injection issues where userAgent would not show contents in vConsole.
- Fixed circular reference issues in root pages of tabbar type Mini Programs.
- Resolved crashes caused by object alterations in the Mini Program canvas.
- Fixed UI display issues for video component toolbars when going full screen and exiting full screen.
- Fixed white screen issues in tabbar Mini Programs.
2.37.13
Updated: 2022-09-09 Updates:
[New]
- New configuration type for the animation method when the applet is opened in UIConfig (set default animation for scheme, universal link, navigateToMiniProgram scenes). [Optimisation].
- WeChat extension SDK optimization and FATAppletDelegate splitting.
- Optimize Gaode map, remove limited Gaode sdk version. [Restoration].
- Fix the problem of abnormal display when going to the setting page in landscape screen.
- Fix the problem that the webSocket setting code and reason do not take effect.
- Fix the problem that page-meta does not support background-text-style, pageorientation and background-color-top attributes.
- Fix the problem that the height of the window of a page with tabbar is calculated incorrectly when navigationStyle is custom and customV2.
- Fix the problem that the path and query parameters in the onShow and onAppShow of the applet are incorrect.
- Fix the problem of abnormal display of Modal when navigateToMiniProgram to the horizontal page of the vertical screen of the applet.
- fix the problem that requests containing Chinese language in the url parameter of request interface failed.
- Fix the problem that the path file returned by FileSystemManager saveFileSync does not exist after saving.
- Fix to fix the problem of incorrect field name returned by the FileSystemManager fstat interface.
- Fix webSocket close interface code and reason not taking effect.
- Fix the problem that the top toolbar is not displayed after the video component is full screen.
- Fix the layout error caused by the timing of getSystemInfoSync after navigateTo to the landscape page of the applet's vertical screen page.
2.37.11
Updated: 2022-08-28 Updates:
[New]
- Added customV2 type support for navigationStyle. [Optimisation].
- Optimize the AlertBeforeUnload event.
- Optimize the camera component to remove the custom error reporting for detecting hardware.
- optimise uploadFile to support uploading resources within applet packages. [Restoration].
- Fix checkMenus flashback issue on whole package mini programs.
- fix possible memory leaks in network api such as applet request.
- Fix a network anomaly in network requests caused by locally cached cookies.
- Fix the issue that checking for updates does not update the applet groupname.
- Fix the problem of switching to background style error when TabBar is top.
- fix the problem that the canvas putImageData and getImageData data are in wrong format.
- fix the flickering problem caused by missing parameters when camera video compression does not require steering processing.
- Fix the problem that the applet cannot slide back sideways after jumping to the about page from the horizontal page of the applet.
- Fix the problem of abnormal layout of the return page after jumping from the vertical page to the horizontal page of the applet.
- Fix an issue on iOS 14 where the return navigation bar was shifted after jumping to the photo page.
- Fix the problem that after setting resizable:true for the applet, the page layout of iPad is wrong after rotating from vertical screen to horizontal screen.
- Fix the problem that more views do not show up when the screen is in landscape on iPad.
- Fix an occasional misplaced status bar display on iPad.
- input/textarea component limits the length of the emoji emoji that can be entered to align with WeChat.
- Fix an issue with the textarea component where the page scrolled up when text was entered in the visible area in a line feed.
- Fix the problem that only the Confirm-Bar is displayed when the keyboardAccessoryView and Confirm-Bar are both present in the textarea component on the landscape of the page.
- Fix the problem that the input/textarea component does not display the keyboardAccessoryView in some scenarios.
- Fix the problem that the focused input is not in the right position when there are multiple auto-aggregated input components on the page.
- Fix an issue with multiple input components on a page switching between each other before focusing on page jumping.
- Fix cursor-spaicng incorrectly when input components are not rendered on the same layer.
- Fix the problem that innerAudio does not trigger onCanplay.
- Fix an issue where innerAudio would flicker when it stopped playing after switching src.
- Fix an occasional crash with background audio.
- Fix Bluetooth onBLECharacteristicValueChange with no content.
2.37.9
Updated: 2022-08-12 Updates:
[New]
- New api to get the status of the applet implementation of the custom share panel button function. [Optimisation].
- Optimize the problem of high cpu usage of camera component.
- Optimize the return parameter of getSystemInfo interface, add new parameter of enableDebug.
- Optimize the QR code to open the applet and the error message when the QR code expires.
- Optimize bindInput callbacks for input and texterea components, and add keyCode support for backspace.
- Optimize the problem of scancode iOS11 new api recognition QR code image verification.
- Optimise the logic for the video component to trigger fullscreen manually and turn on automatic fullscreen.
- Optimize the check logic of the return address when opening the applet with QR code, and remove the redundant check operation. [Restoration].
- Fix menu display issue on iOS 12.5.5 phones.
- fix the problem of navigateView being blocked when the tabbar is top
- Fix the capsule and back button being too far up when in landscape on iPad.
- Fix the pop-up box for permission application, which would pop up twice.
- Fix addPhoneContact adding to an existing contact with some fields overwritten instead of appended.
- Fix the problem that the status of the more menu forwarding button does not change after calling showShareMenu and hideShareMenu.
- Fixed a crash caused by an alert popping up even after closing the applet.
- Fix the problem that the input component is displayed incorrectly after updating its position.
- Fix the problem that the input/textarea component could not trigger the bindinput event after the input box exceeded the maximum length allowed.
- Fix the problem that the adaptive height textarea component displays 2 lines of height when only one line of text is entered.
- Fix the problem that modifying the updatetextarea event without the placeholder parameter would set the placeholder to empty.
- Fix the issue that the value of the direction property of the video component was not behaving correctly.
- Fix the issue that the exit fullscreen button may not be clicked after the video component goes fullscreen.
2.37.7
Updated: 2022-07-29 Updated to include [New]
- New initialization SDK configuration item hideWebViewProgressBar to support hiding the progress bar when H5 is loaded.
- New Clipboard extension SDK, support setClipboardData, getClipboardData.
- New [Re-enter applet] menu item and hidden menu configuration item. [Restoration].
- Fix an abnormal display of the navigation bar on H5 pages when navigateStyle is custom.
- Fix the problem that the onResize event is not triggered when the tabbar root page is rotated horizontally or vertically.
- Fix the problem of occasional abnormal display position of showToast and showModel when jumping from one applet page to another.
- Fix the problem that input input box swallows words too fast.
- Fix the problem that closing the applet would cause QQ Music to pause.
- Fix an issue where the onTimeUpdate event is triggered even after the background audio stops playing on iOS13.
- Fix the problem that the onStop event is not triggered when the audioManager and backgroundAudioManager are stopped after pausing.
- Fix an issue where the Add Contact Api would crash when displaying the Alert pop-up in a sub-thread when the phone related parameters were missing.
- Fix the problem that the incoming controller page cannot be released when the applet is not released after opening the applet.
- Fix the problem that when adding marker to native, Baidu and Gaode maps, the image path is wrong and the marker is not displayed.
- Fix the problem that Baidu Maps openLocation has an offset in opening the map.
- Fix the problem that when Baidu Maps locates the current location, the location fails due to the privacy agreement not being updated.
- Fix the problem that part of the text in the textarea component is not visible after multiple lines of text have been entered and edited. [Optimisation].
- Optimize Log logs to reduce some duplicate or redundant logs.
- optimize downloadFile, add support for filePath and timeout parameters.
- optimize uploadFile, add timeout parameter support.
- Optimize the error message of stat, writeFile, openFile, truncate file operation methods, etc.
- Optimization of scanCode: support for scanType parameter; new parameters for scanType, charSet, rawData, etc. for return values.
- optimize the setLocMarkerIcon function which is not supported by the native map.
- Optimize the tabbar's underline effect when the item is selected at the top.
- optimize writeBLECharacteristicValue, add writeType parameter support.
2.37.3
Updated: 2022-07-18 Updated to include [Restoration].
- Fix the camera frame data callback issue on some models.
- fix the problem that the stat and statSync interfaces do not traverse subdirectories.
- Fix the problem of request failure due to Chinese language in the request url.
- fix the problem that the background transparent colour of canvas exported image becomes black.
- Fix the problem that the background colour of canvas watermark is white.
- Fix the problem that only one image can be previewed when the previewImage interface accesses the network image interface.
- fix the problem of incorrect display due to change of position after input focus
- fix the occasional flicker of frame data callback in camera component in some models [Optimisation].
- Optimize the initialization parameter enableAppletDebug to support not showing debug menu items by default.
- remove the text of the video component when the resource fails to load
2.37.1
Updated: 2022-07-02 Updates:
[New
- new getAccountInfoSync interface
- the addition of backgoundAudioManager.
- New proxy events for screenshots and screen recordings.
- New applet network request header configuration and priority control.
- Add a configuration item for whether to show the watermark or not and a priority control.
- offline mini programs support sub-parcel loading
- offline mini programs support navigateToMiniprogram interface
- new log management function, you can control the output log level and write file
- New ChooseMedia applet api.
- New support for CustomeCallout for Gauteng Maps.
- Offline mini programs support configuration of custom api whitelist lists
- Add a new configuration item to hide the Back to Home button, which can be configured independently for each applet.
- added three new screen recording related api: onScreenRecordingStateChanged, offScreenRecordingStateChanged, getScreenRecordingState.
- new ID keyboard for input component.
- New contact extension SDK, support addPhoneContact interface. [Optimisation].
- Optimize the logging of the SDK, merge and delete some unnecessary logs.
- optimise the implementation logic of some old api's and unify them to dynamic creation.
- Optimize more button proxy events
- optimize navigateToMiniProgram implementation.
- optimize a series of api in jssdk and unify it to dynamic creation.
- Optimize the file storage path generated by the applet, user (currentUserId) isolated.
- Optimize the image selector and solve the problem that the style of the navigation bar set by the host app affects the display of the image selector button.
- Optimise the applet logo field and adjust it to the full path. [Restoration].
- Fix the problem that the plug-in page cannot be opened because the path of the plug-in page is converted too early
- fix a series of bugs in the file system management
- Fix the bug that the cancellation callback is not triggered by selecting an image
- Fix the problem that background audio playback with empty coverImgUrl causes lag
- fixed the bug that innerAudio rate and volume changes did not take effect
- fix the problem that the camera component occasionally renders successfully but does not display
- Fix a series of issues with applet lifecycle events and incorrect parameters.
- Fix a circular reference problem in the expansion sdk.
- Fix the problem that the tabbar is not displayed after going back to the detail page.
- fix shareAppMessage data incorrect issue.
- Fix an issue with iOS 15.5 getting the wrong carrier network type.
- fix the issue of didActive proxy events causing crashes.
- Fix the problem that system version control does not take effect due to iSysVer in grayscale control.
- fix shareAppMessage sharing applet image not showing up
2.36.13
Updated: 2022-06-18 Updates:
[New
- new duration support for playVoice [Optimisation].
- optimizing camera: optimizing frame data transfer method; optimizing frame data transfer efficiency; optimizing frame data callback code logic
- Optimize the length of communication between the core SDK and the extension SDK.
- remove bitcode support. [Restoration].
- fixed the problem that downloadFile recognized the wrong file format
- Fix tabBar borderStyle colour problem and dark mode adaptation problem.
- Fix the problem that the custom tabbar disappears when the drop-down refresh component is pulled down and refreshed.
- Fix the occasional flickering of the input component.
- Fix the problem that the content is obscured when the rounded corners of the input component are set too large.
- Fix the problem that the startup parameters do not take effect during hot start.
- Fix the onShow error triggering issue when relaunch is triggered by hot launch.
- Fix the problem that the navigateBack event is not sent when the app goes back to the foreground and then returns to the foreground without setting the lifeCycle
- fix showModal display error (showModal takes the top of the stack display and changes it to take the current page display)
- fix the problem of not showing alert pop-ups on h5 pages.
- Fix camera-related bugs: frame callback data cannot be converted into images; frame data is occasionally called back only once
- Fix the problem that the cache is not released after the applet is cleared.
- Fix the problem that the tabbar controller was not released after the tabbar type applet was destroyed.
- Fix the problem that the video component's up/down swipe gesture conflicts with page scrolling.
2.36.11
Updated: 2022-06-02 Updates:
[New]
- New statistics events for base library download failure and applet download failure. [Optimisation].
- applet lifecycle agent event optimization, applet id adjusted to applet object.
- zip decompression library optimization, some missing C structures, functions add prefix.
- Optimize the storage of applet permission information to avoid the problem of needing to re-authorize after switching users. [Restoration].
- Fix the problem of incorrect page height after returning to the root page from the secondary page when customizing the tabbar
- Fix the problem that if the apm event is reported when the applet fails to open, it will cause the report to fail.
- Fix the problem of unresponsive page close button in case of failure to open the applet by sweeping the code.
- Fix the problem of inaccurate calculation of input and textarea content height (sizeWithAttributes is not calculated correctly).
- fix hideHomeButton return api name error
- Fix the occasional white screen on the page of the subcontracting applet.
- Fix the issue that the transition page is not adapted to dark mode.
2.36.9
Updated: 2022-05-20 [New]
- New configuration item for the number of page stack limits.
- The offline applet supports configuration of logo images.
- More views of the applet support customization.
- New swipe to close applet and back function.
- the width, height and zIndex properties of the marker of the Gaode Map Extension SDK, and the padding property of the callout are supported.
- Added support for WeChat authorized login scenarios. [Optimisation].
- Optimize showModel, showToast, showLoading.
- optimize the appendFile implementation.
- Optimize subcontracting applet subcontracting (copying) loading issues.
- Optimize the handling of white screens on applet pages.
- Optimise the default effect of the loading page and the parameters when customising it.
- Remove the MJRefresh library dependency from the Gaudet Extension SDK. [Restoration].
- Fix an exception in the More menu display in landscape.
- Fix the problem of shifting navigation bar when launching mini programs in landscape.
- Fix the problem that the launch parameters are not updated when the applet is hotlaunched.
- fix the issue that cover-view does not support ellipsis style.
- Fix the problem of blocking when there is too much content in the textarea.
- Fix the problem of loading animation not stopping on the loading transition page.
- Fix the Back to Home button which occasionally displays an error.
- Fix the occasional SDKKey decryption problem that causes checksum failure.
- Fix the problem that the video component does not fill up the full screen when it is full screen on tabbar type mini programs.
- Fix the problem that the camera component does not render successfully after switching between tabbar pages.
- Fix the issue that the onError event of innerAudio is not triggered.
2.36.7
Updated: 2022-05-05 [New]
- innerAudio has a new bufferedTime property.
- textarea has a new disableDefaultPadding property.
- FinAppletGDMap extension SDK adds support for callouttap events, anchorpointtap events and callout. [Restoration].
- Fix an issue that caused playback to reset after innerAudio was paused and continued to play.
- Fix the problem that innerAudio's startTime does not take effect when it is set to a noninteger number.
- Fix the inconsistency between the effect of autoHeight property of textarea component and WeChat applet component.
- Fix the problem that the focus effect is inconsistent with WeChat when the selection-end of textarea and input components pass an illegal value of null.
- Fix an issue where the onPlay event of innerAudio would call back multiple times.
- Fix the issue of cold start not triggering the didOpenApplet callback when the applet has local cache.
- Fix the routing problem that the execution of redirectTo causes the tabbar to be unclickable when the home page of the applet is loaded.
- Fix the abnormal height problem of some models when the tabbar of the applet is in landscape.
- Fix the problem that the applet type logo is not shown on the More menu page when the applet is in landscape.
- Fix the problem of offsetting the position of page title and capsule when the applet is in landscape.
- Fix an incorrect call to stopPullDownloadRefresh causing page scrolling.
- Fix the problem that audio in aac format does not play properly.
- Fix the problem that the cursor-spacing property of textarea/input was not behaving correctly. [Optimisation].
- optimize the page display of chooseImage/chooseVideo when only one option is available.
- optimize custom api, add appletInfo parameter.
- Optimize the custom sync api and add appletInfo parameters (the old sync api method is no longer available).
- optimize the UI of chooseLocation and openLocation.
2.36.5
Updated: 2022-04-20 [New]
- New button component open-type property.
- add api for sendCustomEvent to specify applet id. [Optimisation].
- Optimize SDK error messages.
- Optimize the getSetting api to align with WeChat.
- Optimization of WebRTC MediaRecorder.
- optimize the sendCustomEvent function.
- Optimize the process of checking and updating the applet
- Optimize component release logic.
- Optimisation of WebGL code.
- Optimize the download of applet/base library interface request header by adding organization id [Restoration].
- Fix camera flashing issue in low iOS versions.
- Fix the problem that readFileSync cannot fetch a file when both position and length are empty.
- Fix navigateTo and redirectTo jumping to tabbar pages.
- fixed the problem that the recording of createAudioContext, return and exit to the background will not stop playing.
- Fix the issue that the logo is not displayed on the loading page and the more menu occasionally.
- Fix the problem that the cache of the applet does not take effect occasionally after optimizing the process of starting the applet.
2.36.1
Updated: 2022-04-02 [New]
- New support for custom sync api.
- setEnableDebug has been added.
- More menu controls have been added to turn debugging on and off.
- New off-screen canvas support.
- A new series of Api has been added to TCPSocket.
- Added support for same-layer rendering of camera components.
- add frame data callback to camera component. [Optimisation].
- Optimisation of the applet runtime flow (applet state machine)
- Remove the Back to Home button from the More menu.
- Optimize the logic of adding components, and fix the occasional problem of adding components to the wrong page.
- Optimize UI tips when applying for applet permissions.
- Optimise the Back to Home button function (updated to the navigation bar, remove Back to Home from the More menu).
- RecorderManager supports recording audio in aac format. [Restoration].
- Fix the problem that the occasional page of the applet navigateToMiniProgram does not exist.
- Fix a crash caused by the camera's low end not supporting high resolution.
- Fix the problem that the "applet" is occasionally displayed as null.
- Fix the occasional white screen when tabbar is switched.
- Fix the connection failure caused by switching network mode during TCPSocket connection.
- Fixed an issue with the UI displaying abnormally when the showmodal is in landscape.
- Fix an occasional abnormal display of the page UI when the applet is opened in landscape.
- Fix the page adaptation for error reporting in dark mode.
- Fix the white screen and wrong page loading problem caused by switching tabbar when loading external web pages.
- Fix the problem that the audio and video in the H5 webpage are not paused when the applet is closed.
- Fix the issue that the onResize event returns incorrect width and height.
- Fix an issue with the getSystenInfoSync interface returning an incorrect width and height.
- Fix an issue where repeated drop-down refreshing would disappear.
- Fix the problem that universalLink cannot open the applet.
- Fix the problem that input autofocus occasionally causes obscuration when the content is not moved up.
- Fix the problem that the logo of [Developer] etc. in the More menu could not be clicked.
- Fix a bug in the response event flow of the Custom [Applet Type] menu.
2.35.15
Updated: 2022-03-19 [New]
- the addition of new applet lifecycle events.
- support for custom api overriding the implementation of the built-in api.
- an indication that the applet has been disabled. [Optimisation].
- compatibility with old and new QR code formats.
- optimization of applet page lifecycle events. [Restoration].
- fixing the crashing problem of opening the applet by sweeping the QR code.
- fixing bugs related to udp sockets.
- fixing the problem with the limit on the number of applet caches.
- fixing a crash when Bluetooth feature values are updated with empty content.
2.35.13
Updated: 2022-03-04 [Optimisation].
- optimization of the loading page in dark mode, the front page of the Experience, and the configuration of the applet.
- remove the clipboard-related api.
- optimise the speaker Bluetooth headset configuration for the recorder. [Restoration].
- fixing the issue of the status bar of the video component being hidden.
- fixing the problem that the pageOnUnload event is not triggered correctly when adding H5 pages.
- fixing the tabbar applet custom navigation bar background colour issue.
- fixing the problem that the api for setNaigationBarColor does not take effect.
- fixing the display problem when the input/textArea component gets focus.
- fixing the problem of the Bluetooth service not recognising 128-bit UUIDs.
- Fix a bug that getConnectedBluetoothDevices does not return the device correctly.
2.35.11
Updated: 2022-02-19 [New]
- input/textarea hold-keyboard attribute support.
- New Bluetooth extension SDK (a new extension SDK split from the original SDK) [Optimisation].
- Optimize handleOpenURL and handleOpenUniversalLinkURL annotations
- Optimise Categoray in the SDK by adding prefixes to methods and properties. [Restoration].
- Fix the offline applet launch parameter issue.
- Fix the problem that canvasToTempFilePath cannot draw drawImge images and blurred images when saving images.
- Fix the problem that the base64ToTempFilePath file is too large.
- Fix the problem that the image is not displayed when the src of the image refers to the image of the path finFile://urs.
- Fixed a flashback issue caused by an unassigned block when Bluetooth service was called to remove a Bluetooth peripheral.
- Fix the flashback caused by longitude anomaly.
- Fixes an issue where there is no destination when Apple Maps is opened for navigation.
- Add support for network path/local path/code package path for marker icons in native and Baidu maps.
- Fix the problem that moveAlong has no animation effect.
- Fix the problem that enable-zoom=false, IOS Baidu Map, also supports gesture zoom and double-click to zoom.
- Fix the problem of inaccurate positioning of the centre point in longitude/latitude pass blanks ["",""].
- Fix the problem of switching between horizontal and vertical full screen display of video component.
- Distinguish between handling horizontal and vertical screen switching in different cases of pageOrientation.
2.35.9
Updated: 2022-01-28 [New]
- ShowModal adds editable, placeholderText support.
- Horizontal and vertical screen switching adaptations for permission pop-up boxes.
- previewMedia's type-tolerant handling. [Optimisation].
- when there is a permission pop-up box, the focus of the page being edited is removed
2.35.3
Updated: 2022-01-14 [Optimisation].
- Optimize getAppletsFromLocalCache to return full applet objects.
- Optimise the strokePath of the native Cavans component to support state.
- Optimize the logic of the SDK to obtain configuration information from the server side. [Restoration].
- fix an occasional incorrect display of canvas shadows
- Fix the problem of incorrect start parameters when opening the offline applet for the second time.
- Fix the problem that the whitelist list and logo of offline applet domain names do not take effect.
- Fix the problem that the iPhone 13 model name is not displayed in getSystemInfo.
2.35.1
Updated: 2022-01-07 [New]
- New webRTC, Map and pageContainer components.
- New compass related to the program api.
- New custom loading function.
- new-keyboard-accessory.
- New permission authorization function in the applet.
- New offline applet support function.
- New applet theme configuration function.
- Add map component Baidu map and Gaode map support.
- add openLocation, choosePoi applet api support.
- New FileSystemManager readZipEntry api.
- New checkIsOpenAccessibility api.
- New native canvas component. [Optimisation].
- Optimize the process of opening the applet by scanning the code.
- API performance optimization for mini programs.
- location related api interface adaptations for dark mode scenes.
- Optimization of the interaction logic of the chooseLocation search box.
- https cookies isolation between mini programs.
- tabbar class applet preload optimization.
- Optimize the interface prompt message of the applet involving permissions. [Restoration].
- Fix an issue with the map component where adding polyLine lines failed.
- fix the problem that reluanch loses query under tabbar page.
- Fix the occasional misalignment of the navigation bar.
- Fix the problem that setTabbarItem does not support local images.
- Fix the white screen when scheme opens the sub-package applet path does not exist.
- Fix the problem that the capsule is displayed in the wrong place in some models when customising the navigation bar.
- Fix the issue that the vibrateLong/vibrateShort interface does not have callbacks.
- Fix the problem that the whole package of mini programs occasionally fails to move files.
- Fix the occasional UI misalignment problem after switching between horizontal and vertical tabbar mini programs.
2.34.11
Updated: 2021-12-18 [New] None [Optimisation].
- Replace the webSubscribeCallBackHandler method in the JSSDK [Restoration].
- Fix the white screen on the first page load
- Fix an issue that may crash when converting json.
- Fix the problem that the tabbar style does not work under iOS15.
2.34.9
Updated: 2021-12-04 [New] None [Optimisation].
- Optimize the information on the expiry of the applet.
- Optimize the display of the Video component cover.
- Optimisation of the Modal UI.
- Optimize the responsiveness of keyboard pop-ups.
- Optimised MD5 encryption method.
- Optimize the function of deleting applet cache. [Restoration].
- Fix the bug that the SDK triggers the DOMContentLoaded event several times.
- Fix the bug that UDPSocket cannot bind port automatically when port number is not passed.
- Fix the red dot alert exception bug.
- Fix the bug in the horizontal handling of the applet.
- Fix the Video component full screen bug.
2.34.7
Updated: 2021-11-19 [New]
- getSuperviseInfo and getSystemInfo, with the bundleId field added to the return value.
- JSSDK adds request interface. [Optimisation].
- api runtime is created with a type check to prevent crashes.
- NSJSONSerialization serialization crashes when encountering custom objects.
- Solve the problem of iOS extension SDK not being initialized automatically. [Restoration].
- Fix the issue that the log library did not write files automatically.
2.34.5
Updated: 2021-11-05 [New]
- Add an alert when an account is frozen.
- previewImage New growth of the press to save function.
- add bitcode support. [Optimisation].
- Default colour optimisation for native components.
- Optimize the error message page of the applet.
- getImageInfo New orientation, type.
- optimization of the currentApp logic within the SDK. [Restoration].
- Fix the bug that some models display abnormally when the tabbar is displayed horizontally.
- Fix the bug of keyboard pop-up caused by showModal.
- Fix the occasional crash of the compression library under some models.
- Fix the issue that the applet closes after the camera gallery pops up in DBS on iOS10.
- fix the problem that the audio player needs to play twice.
2.34.3
Updated: 2021-10-22 [New]
- new header parameter support for the webview component. [Optimisation].
- Optimize the interface fail hint messages involving permissions.
- Optimize the callbacks of the vibrateLong/vibrateShort interface. [Restoration].
- Fix the occasional failure of the openDocument interface.
- Fix the occasional crash of input input box in iOS 15.
- fix the occasional lagging of the camera component.
2.34.1
Updated: 2021-9-28 [New]
- New video component.
- New Api for Bluetooth Universal, Low Power Central Device, Beacon, etc.
- New applet plugin support.
- Add a new series of Api for FileSystemManager. [Optimisation].
- Subcontracted applet loading speed optimisation.
- iOS 15 compatible adaptations.
- Optimize the deletion of the applet cache Api.
- optimise the apiPrefix parameter of the initialisation SDK.
- optimise the canvas implementation of subcontracted mini programs. [Restoration].
- Fix the recording problem when recordManager, camera and innerAudio are used together.
2.33.15
Updated: 2021-9-10 [New]
- New field for encrypted string information for applet objects.
- Added support for jumping to appStore protocols itms and itms-appss. [Restoration].
- cover-view line break problem.
- Modification of the text colour of the album navigation bar.
- Fixed the issue of cryptographically verifying the appKey during initialization.
- Fix the issue with the TabBar controller root page loading H5 jump to secondary page back button display and logic.
2.33.9
Updated: 2021-8-27 [New]
- New configuration parameters for hiding the transition page close button and disabling the side-swipe close applet.
- The experience version of the applet QR code supports configuration of launch parameters. [Optimisation].
- Optimise classes and functions not used in the SDK. [Restoration].
- Fix the problem of conflict between userAgent and webrtc, now support the use of webrtc function in H5.
- Fix the problem of error reported in the search applet interface when the server is configured with md5 encryption.
2.33.7
Updated: 2021-8-13 [New]
- New initialisation configuration item to support encryption of data returned from the backend.
- A new logo has been added for the version of the applet (experience, development, etc.). [Optimisation].
- Optimize the applet error message.
- Optimise the toast view display area and icons. [Restoration].
- Fix the problem that input and textarea will become English when exceeding the maximum length in Chinese input method.
- Fix the problem of loading failure caused by the system cancelling request when loading H5 for mini programs.
- Fix the problem of resource copy failure when the applet is repeatedly overwritten with installation scenarios.
2.33.3
Updated: 2021-7-31 [New]
- Support for subcontracting support for mini progmini.
- Support for webSocket native implementation and black and white list restrictions.
- support cursor/selectedStart/selectedEnd properties of input, textarea [Optimisation].
- Optimize the logic of Experience, Temporary and Development versions as well as caching issues under different versions.
- Optimize the delete applet interface to improve the speed of deletion.
- Optimize the parameter verification logic in hot launch applet scenarios.
- Optimise the SDK packaging, which is packaged as a dynamic library by default.
- Optimize the data reporting, remove the statistical information of non-official mini programs. [Restoration].
- Fix the problem that the upload time of the Experience version of the applet was displayed incorrectly.
- Fix the problem of slow opening of mini programs due to apm statistics configuration.
- fix a problem with the display of cover-view and custom native-view.
2.32.1
Updated: 2021-7-16 [New]
- new readFile/readFileSyncApi interface
- add exitMiniProgram to exit the applet Api
- support scheme and universallink to open multi-server configuration mini programs [Optimisation].
- input input scheme adjustment
- Optimised video compression
- Optimisation of management applet Api [Restoration].
- fix apm data reporting bug
- Fix the bug of opening the applet
- cover-view adjusts view hierarchy by z-index, fixes event response issue
- Fix the inaccurate method of listening to progress when audio is played, resulting in events where playback is not completed.
- . Fix the problem that when recording is finished, pcm transcoding to mp3 format may crash.
- fix static library decompression crash
2.31.3
Updated: 2021-7-5 [New]
- Manage mini programs 2.0.
- One Code Pass.
- New writeFile/writeFileSync interface. [Optimisation].
- Optimise data reporting.
- Optimisation of the cover-view hierarchy.
- Optimize the drop-down refresh control.
- Optimization of innerAudio default parameter issues.
- Optimise the environment error message text.
- Compatible array crash issue. [Restoration].
- Fix several bugs in the cover-view component.
- Fix several bugs in keyBoard.
2.30.1
Updated: 2021-6-21 [New]
- textarea components support same-level rendering.
- New experience version and QR code security control feature. [Optimisation].
- the SDK was adapted from a dynamic library to a static library to reduce app size growth.
- Optimize the mini programlandscape direction compatibility issue.
- Optimize the message of failure to open the applet.
- Optimise the size of the video recorded out of the video.
- Optimize the text spacing of the cover-view component. [Restoration].
- Fix several bugs in the camera component.
- Fix the bug of apm event statistics failure.
2.29.1
Updated: 2021-6-5 [New]
- New camera component. [Optimisation].
- Optimize the processing logic related to certificate validation.
- Optimise the address returned by the downloadFile interface and other path formats. [Restoration].
- Fix the problem that scheme and universal link cannot be closed occasionally when an applet is opened.
- Fix the side-swipe back crash issue when the applet fails to open.
2.28.1
Updated: 2021-6-1 [New]
- New FileSystemManager, support saveFile, getFileInfo, removeSavedFile, getSavedFileList, getSavedFileInfo.
- New initialization configuration item to disable the getSuperviseInfo interface. [Optimisation].
- optimize the old interfaces for saveFile, getFileInfo, removeSavedFile, getSavedFileList, getSavedFileInfo.
- Optimize the drop-down refresh to distinguish between gesture drop-down and transfer api drop-down end scenarios.
- Optimise path handling in the start-up parameters.
- Optimize chooseVideo and chooseImage to select image exceptions in icloud.
- Optimize the handling of applet horizontal and vertical screens in case of incorrect configuration of app horizontal and vertical screens.
- Optimise the image resources and merge them into one bundle. [Restoration].
- Fix the exception of userAgent reading when the webView component loads H5.
- Fix an exception in the logic of the Back to Home button.
2.27.1
Updated: 2021-5-25 [New]
- New configuration item for apm event reporting compression.
- New api for searching mini programs.
- New api with close callback.
- input components support same-level rendering. [Optimisation].
- add hashcode to the applet grey interface to optimize the return information.
- Optimize the Utils tool class to prevent renaming.
- Optimize the message that the applet has not been compiled.
- Optimize the processing logic when the applet has a white screen.
- Optimise caching of files and storage etc. [Restoration].
- Fix the problem that the default colour of the custom tabbar is displayed in white when it is at the top.
- Fix the problem that actionsheet is not displayed in projects of type scenesDelegate.
- Fix the problem that openDocument reports an error when opening a file.
- Fix tabbar property setting issue on iOS 13+.
2.25.1
Updated: 2021-4-30 [New]
- New domainains configuration item, you can set the domain names that the applet needs to force https certificate verification.
- New cover-image component.
- New domain name blacklist restrictions and whitelisting in . * support. [Restoration].
- Fix a problem with some property settings of the cover-view component.
- Fix the input password input box keyboard blocking issue. [Optimisation].
- Optimize SDK network image loading.
- optimize the downloadFile interface file suffix reading policy.
- Optimise the data storage in the SDK and reduce the size of the SDK.
- Optimize the https certificate verification function in the applet webView.
- Optimize the default values when the initialization SDK is not configured with uiConfig.
- Optimise the size of the image resources in the SDK.
2.24.4
Updated: 2021-4-21 [New]
- Add https certificate security verification.
- New custom api call restrictions.
- New cover-view component.
- New custom tabBar support.
- A new fault tolerance mechanism for interfaces returning parameters of type null has been added.
- New mechanism to reload H5 pages after loading failure. [Restoration].
- Fix a base64 parsing error in query parameters.
- Fix the problem that the title setting is invalid when the tabbar is switched.
- Fix the bug that the startRecord recording function fails. [Optimisation].
- Optimize the apm event reporting policy.
- Optimisation of UIColor conversion.
- Optimize the caching policy when loading H5.
- Optimize the prompt for accidental exit of mini programs.
- Remove the sdk-config interface.
2.23.5
Updated: 2021-3-19 [New]
- add storage and a series of api such as jssdk storage.
- New base library md5 checksum and password decompression.
- add support for page-meta related api.
- Added support for opening Alipay, WeChat and appStore in the webview component.
- New database encryption.
- New fileToBase64 api.
- New apmServer configuration item.
- Added support for previewing IDE QR code mini programs.
- New [Applet] text configuration item.
- Added support for universal link.
- add a series of api such as innerAudio
- add a series of api such as recoderManager. [Restoration].
- Fix a bug that caused the tabbar to display abnormally when it was on top.
- Fix the bug that textarea cannot be clicked on the finish button on iPhone 6.
- Fix a bug that causes the close button and the more button to be unresponsive when clicked due to right swipe.
- Fix the bug that when the version number remains the same, sweeping the code cannot pull the latest version of the applet.
- Fix the bug that the webview cannot be scrolled after disableScroll is set on the page where the webview component is located.
- Fix the bug that getSystemInfoSync returns the wrong version of the base library.
- Fix the bug that some scenes open completion callbacks and delegete do not trigger.
- Fix the bug that opening the applet will repeatedly download the applet package.
- Fix the bug that the display of multiple drop-down refreshes is abnormal. [Optimisation].
- Optimize the previewVideo api to support playback while downloading.
- Optimised custom menus, controlled by backend and mini programs.
- Optimized Get SDK configuration information interface call.
- Optimize the link address of the applet logo when forwarding.
- optimize native-view, camera, live-player, and live-pusher protocols.
- Optimise apm statistics events and reporting logic.
- Optimised multi-threaded concurrent initialisation of the SDK.
2.13.109
Updated: 2021-1-18 Updated to include
- Add a new configuration item for the number of mini programs to be updated in bulk.
- add requestTask, downloadTask, uploadTask and the corresponding api.
- add udpSocket and related api.
- New configuration for hiding the forward button and more view effects.
- Add an api to get the URL of the current webView.
- New api to get the current userAgent.
- New applet screenshot event api.
- New configuration for capsule style modification in the top right corner.
- New api for getSelectedTextRange.
- add canGoBack/canNavigateBack/setNavigationBarTitle in jssdk.
- New api for previewMedia.
- Fix Crash caused by iOS 14.0-14.2 5G network judgment.
- Fix the problem caused by the empty parameter of getSystemInfo.
- Fix the wrong order of input comfirm and blur events.
- fix the problem that setTabBarItem causes the badge corner to disappear.
- Fix the problem that the applet logo is not displayed on the more view, about page and non-business domain page.
- Fix the problem of tabbar display when it is hidden.
- Fix an issue with the input control jittering during page jumps.
- Optimize startPullDownRefresh, stopPullDownRefresh.
- optimize the hideToast/hideloading api.
- optimize navigateToMiniProgram to jump to its own scenario.
- Optimize the drop-down refresh effect and function.
- Optimise apm event reporting timing and compress data.
- Optimize the loading timing of the home page of the applet.
- Optimize the rendering logic of applet pages.
- Optimize the logic of showing and hiding more views when switching between horizontal and vertical screens.
- Optimize the white screen issue on the applet page.
- Optimize the alert message when the applet fails to load.
- Optimize the log management in the applet SDK.
- The SDK supports multi-server configurations.
- Remove the location-related functions from the core SDK and move getLocation to the extension SDK.
- support for live-player, live-pusher, camera components.
2.12.65
Updated on: 2020-11-27 Updated to include
- add showTabBarRedDot, hideTabBarRedDot, showTabBar, hideTabBar, setTabBarStyle, setTabBarItem.
- Add the identification of 5G network types in interfaces such as getNetworkType.
- Add pageonunload event before the H5 page disappears.
- add getLocalImgDataapi in JSSDK.
- New textarea native component.
- Fix base64ToTempFilePath failure in some cases.
- Fix Crash caused by empty placeholder in updateInput event.
- Fix the problem that the page layout is wrong in some scenes when the screen is in landscape.
- Fix the bug of abnormal style when taking photos in H5 and returning to the applet.
- Fix the lagging problem caused by opening the applet api.
- Fix Crash caused by iOS 14.0-14.2 5G network judgment.
- fix the problem caused by some parameters of getSystemInfo being empty
- optimise unimplemented api to return failed callbacks.
- Optimize iPhoneX judgement, macros to functions.
- Optimize the loading page animation on low-end emulators.
- Optimize the information returned in interfaces such as getSystemInfo for models such as iPhone 12.
- Optimize the loading and display of the applet logo and title.
- Optimize the network request in the applet SDK, add new SDK version parameter and change the request to a short connection.
- Optimise the injected JSSDK to avoid error reporting on pages not using the JSSDK.
- Remove the Get WebView api from the core SDK and move it to the extension SDK.
2.11.11
Updated on: 2020-10-23 Updated to include
- New parameter for animation switch when opening mini programs.
- Optimize the apm event escalation processing mechanism.
- New hideKeyboard event.
- Optimise support for switching between horizontal and vertical screens on iPad.
- Fix the situation that the domain name verification fails for network requests after the app cuts the background.
- New compressImage interface.
- Add support for pageScrollTo.
- add saveVideoToPhotosAlbum, saveImageToPhotosAlbum interfaces.
- Support for webPublishHandler events.
- New api for configuring the colour of the page loading progress bar.
- Fix a bug that caused a crash when pushing a native page within a custom api and then opening the applet again.
- Fix a bug in plist that crashes due to non-existent language setting items.
- Fix the bug that switchTab onShow event is not triggered after redirectto of tabbar applet.
- rewrite to optimize the input native component implementation.
- New SDK fingerprint configuration item.
- Optimize the side-swipe close applet response area.
- Fix the bug that the tabbar applet back button is displayed abnormally.
- Optimize the animation effect of the loading page of the applet.
- Added handling of hint when applet page does not exist.
- Fix the bug of api call failure due to server switching.
- New api for closing specified mini programs and clearing memory cache of specified mini programs.
- Optimize getImageBase64, base64ToTempFilePath interfaces.
- New api for setting the WebView UserAgent of the applet.
2.9.4
Updated on: 2020-09-11 Updated to include
- Permission class api split to extension SDK.
- Fix the bug of maxLength setting of input component.
- Update the relaunch event in tabbar mode.
- Optimize the input updateInput event.
- Fix the display bug of drop-down refresh.
- Fix updateInput event update style bug.
- Fix the bug that the system's own Pinyin input method cannot input Chinese.
- The input component supports rounded corner settings.
- The applet SDK supports window.open in H5 to open links.
- getImageBase64 supports reading images from applet packages.
- Fix a bug in the screenshot display when loading H5 links.
- Fix the bug that the H5 link cannot be gobacked when loaded in special scenarios.
- Update the parameters in the forwarding agent event.
- Optimize server address and prefix compatibility issues.
2.7.8
Updated on: 2020-08-13 Updated to include
- The compatible SDK loads web addresses with Chinese characters, special symbols, etc.
- Support for hiding the navigation bar when the SDK loads a page.
- optimise apm reporting conditions.
- Support for api calls to close mini programs in web pages.
- New configuration parameter to control whether the SDK can apply for permission on its own.
- Optimize WKWebView cookie sharing and userAgent reading.
- SDK support for applet configuration Top right corner More, Close buttons show and hide.
- Support the api of opening mini programs and returning mini programs in web pages.
- New configuration parameter to support navigation bar title font modification.
- Fix tabbar style applet page layout bug.
- Compatible with SDK loading web pages with empty url
- Update the hideKeyboard event and invalidate the updateInput event in the custom input component.
- Support for phone calls in H5 web pages.
- The SDK supports landscape and portrait switching, forced landscape and forced portrait.
- New applet expiry and app expiry alerts have been added.
2.5.6
Updated on: 2020-07-16 Updated to include
- Support for native input components.
- New monitoring data fetching api.
- Optimize the logic of loading H5 web pages by the applet.
- Update the getSystemInfo interface.
- Optimize the callbacks of the jssdk api.
- Optimize the navigation bar style when loading H5 pages.
- Add anti-crash handling logic for common crashes.
- The query applet information interface is exceptionally compatible.
- update the apm statistics event field to add new events.
- Optimize the size of the applet SDK.
- Optimize the pop-up box prompt in the applet SDK.
- New applet SDK to detect new versions of recently used mini programs at regular intervals.
- New update applet callback, and reapplet api.
- Add a new applet SDK api domain legitimacy check.
2.3.6
Updated on: 2020-06-18 Updated to include
- Supports dark mode adaptive configuration.
- shorten the interval between the reporting of apm statistical events.
- Add events such as crash and interface access failure.
- Delete the code related to UIWebView.
- Support for the chooseImage api in jssdk.
- Optimize the interfaces chooseImage, chooseVideo, previewVideo, etc.
- Fix the issue of side-sliding not working on the about and feedback pages.
- New grayscale related apm events and parameters.
- The applet navigateToMiniProgram supports opening the applet version of the specified index.
- Fix the problem of repeated download of applet zip caused by md5 judgment under old data.
- Fix the request interface parameter issue.
- Fix incorrect parameters of the reportApmMonitor api.
2.1.24
Updated on: 2020-05-22 Updated to include
- Optimise the timing of apm statistical events.
- optimize the request interface and the returned data.
- update the applet api interface format to hyphenated paths.
- New data reporting interface for mini programs.
- New window parameter of Service, optimize the synchronization interface of the applet part.
- Optimisation of safeArea data.
- Fix a bug that prevents the applet from forwarding when it loads a web link.
- Add the configuration items of whether to show [Back to Home] and [Complaint Feedback].
- Optimize the callbacks when launching mini programs.
- Optimize the information returned when the webView fails to load.
- The applet SDK supports national secrets.
- New callback when closing the applet.
2.1.11
Updated on: 2020-04-22 Updated to include
- Fix the problem that album images cannot be selected after syncing from icloud.
- Fix compatibility issues with download addresses, icon addresses, etc.
- Update the applet information, base library and other interfaces.
- Update the information returned by the getLocation interface.
- Fix the switchTab causing the applet event error.
- More menu UI updates for the applet.
- Support for more menus in the applet to inject custom menus.
- Optimize the judgment logic of applet package updates.
- Support for feedback and complaints global hiding.
- New applet chooseLocation, chooseMessageFile interfaces
2.1.1
Updated on: 2020-03-27 Updated to include
- About page optimization
- other bug-fixes
- New API: setTabBarBadge
- New API: removeTabBarBadge
- New API: getMenuButtonBoundingClientRect
2.0.191
Updated on: 2020-02-28 Updated to include
- Optimize the alert when the applet fails to open.
- Support for customising the navigation bar and hiding the navigation bar.
- Optimize applet lifecycle events.
- Fix the caching bug caused by the startup parameter.
- Support for applet jssdk.
- Optimize the callbacks for applet api calls.
- Optimisation of timer-related modules.
- Support for customising more menus.
2.0.177
Updated on: 2020-01-17 Updated to include
- Add security signature check parameters to improve interface security.
- update the apm statistics interface.
- onShareAppMessage event has a new type parameter.
- Remove the redundant page api.
- Updates such as return control when mini programs load web H5.
- Handling of exceptions in obtaining applet information, etc.
- New control Api for the display of SDK Log information.
- New automatic update function for the base library.
- Update the getSystemInfo return parameter.
- New feedback and complaints.