MiniApp SDK v4.2.0
SDK
- Feature: Added a new interface
getMessagingUnique
inMiniAppMessageDelegate
for future support of MAUID v2 and another interfacegetMauid
inMiniAppMessageDelegate
for retrieving the MAUID - Feature: Added file download error type for HTTP errors:
MASDKDownloadFileError.downloadHttpError
. - Fix: Updated error type names for
MASDKDownloadFileError
so that they are correctly parsed by JS SDK. - Feature: Added
MiniAppSecureStorage
for MiniApps to store data safely.MiniAppSdkConfig
was extended bystorageMaxSizeInBytes
to set the maximum available space in bytes for secure storage. - Feature: Added
miniAppShouldClose
interface inMiniAppNavigationBarDelegate
which would help the host app to check if any alert need to displayed before closing the MiniApp - Enhancement: Replaced Secure Storage from a file storage solution to store data in a sqlite database
- Feature: Added
miniAppTooManyRequestsError
error in MASDKError. This error will be thrown from SDK if any API from platform sends429
status code. This could clear specific cached mini-app if429
is received
Sample app
- Enhancement: Added
GET MESSAGING UNIQUE ID
andGET MAUID
for retrieving the ID's. (Messaging Unique ID for now will return the same as Unique ID) - Enhancement: Added a
Wipe Secure Storages
button to Settings/QA to remove all secure storages - Enhancement: Added
GET MESSAGING UNIQUE ID
andGET MAUID
for retrieving the ID's. (Messaging Unique ID for now will return the same as Unique ID) - Feature: Added support for Mini Apps to download Base64
data:
URIs with theMiniApp.downloadFile
feature. - Bugfix: Replaced UIActivityController with a custom one that overrides the
dimiss
function so only the activity will be closed. - Feature: Added support to display error
miniAppTooManyRequestsError
type.