- Feature: Added new interface
launchExternalBrowser
which helps the MiniApps to launch a URL in external browser - Feature: Added new interface
launchInternalBrowser
which helps the MiniApps to launch a URL in internal browser - Feature: Added new interface
getImageFromGallery
to get image from Gallery. User can select one image and the same will be returned to MiniApp - Feature: Added new interface
isLoggedIn
to get the Login status of the User in the Host application - Feature: Added new interface
allowBackForwardNavigationGestures
to enable/disable swipe gestures in iOS Host application - Update: Update
shareInfo
to allow sharing URL & Image as well
- Feature: Added new interface
isAppDeeplinkSupported
which helps to check if the application have whitelisted/allows the deeplink to open - Feature: Added new interface
canOpenAppDeeplink
which helps to check if the device can open the deeplink scheme - Feature: Added new interface
getPhoneNumber
to get the phone number from the native application - Fix: Updated
MAAnalyticsInfo
in SDK to have more parameters
- Fix: Remove dependecy of
libbase64
and we moved the encode/decode internally in SDK
- Fix: Updated dependency for
libbase64
to use static1.2.1
version
- Feature: Added new interfaces
set(key: string, value: string)
,get(key: string)
,remove(key: string)
,clearMiniAppPreferences()
which uses the native storage features like Shared Preferences/User defaults to store anything from MiniApp. - Feature: Updated HostEnvironmentInfo to have
hostBuildType
,deviceToken
andpushToken
- Feature: Added new interface
miniAppFinishedLoading()
which can be used by miniapp to notify the host app that it has finished loading. - Fix: Few Contacts with special characters is failed to retrieve, its fixed now
- Feature: Added new interface
getFeatureList()
that will return the list if features supported by the Host and MiniApp SDK.
- Feature: Added new interface
getAllCookies()
to getCookieInfo
which containsname
andvalue
of the cookie - Feature: Added new interface
getCookies(cookieNameList:)
that requests for certain cookies to host application that will getCookieInfo
which containsname
andvalue
of the cookie
- Feature: Added new interface
getHostAppThemeColors()
to getHostThemeColor
which contains primary & secondary color set by the Host app - Feature: Added new interface
isDarkMode()
. Interface to know if the Hostapp/Device is set to use the Dark - Feature: Added new interface
sendAnalytics(analyticsInfo: MAAnalyticsInfo)
. This interface will be used to send analytics to host app. - Feature: Added new interface in Universal Bridge i.e
sendInfoToHostapp
which helps the Miniapp to sendUniversalBridgeInfo
to the HostApp.
This version improves MiniApp loading from cache and brings several UI improvements features and deprecation.
- Feature: Added In-app purchases related interfaces.
getAllProducts()
,purchaseProductWith(id: string)
,consumePurchaseWith(id: string, transactionId: string)
. These interfaces can be used to prepare the list of products and make a in-app purchase with product id from associated with Mini App platform.
- Feature: Added Universal Bridge related interface e.g.
sendJsonToHostapp
to send any JSON/String to the HostApp. Also, added support withHostAppEvents
to receive any JSON/String to MiniApp from the HostApp. - Feature: Added
allEmailList
property inContact
to support multiple email address of a specific contact. - Feature: Added
closeMiniApp(withConfirmation: boolean)
interface which will help the miniapp to close on its own, provided Native Host application allows them to close. - Update: Moved
setCloseAlert(alertInfo: CloseAlertInfo)
interface to a MiniApp.miniappUtils object
- Feature: Added
setCloseAlert(alertInfo: CloseAlertInfo)
interface support to Mini Apps share info about Close confirm alert - Feature: Added Secure storage related interfaces.
setItems(items: MiniAppSecureStorageKeyValues)
,getItem(key: string)
,removeItems(key: [string])
,clear()
,size()
. These interfaces can be used to storage items in the SDK.
- Feature: Added
downloadFile(filename, url, headers)
to download and save the file with proper filename
- Feature: Added default values for message form in demo app
- Feature: Added
hostLocale
toHostEnvironmentInfo
to retrieve locale info from host app - Feature: Added camera picture screen in demo app
- Feature: Added
CustomPermissionName.FILE_DOWNLOAD
permission to support downloading attachments - Feature: Added
getHostEnvironmentInfo()
to retrieve Host app environment information - Feature: Added support for Mini app external webview close events
- Feature: Added interface to get user points
- Feature: Added an optional banner message field in messaging feature
- Feature: Added
MiniAppError
class for a better bridge errors management See here.
- Feature: Added
Send Messsage
custom permission for sending message to specific contact. See here. - Feature: Added
MiniAppError
class for a better bridge errors management See here.
- Feature: Support send message to specific and multiple contacts. See here.
- Feature: Support send message to contact. See Send message documentation.
- Feature: Added
Access Token
Custom permission. - Feature: Added optional
Name
&Email
properties to Contact object - Feature: Added
Access Token
scopes and audience
- Fix: Location permission support for iOS/Android Mini App SDK 2.6 and below.
- Fix: Reject promise from
MiniApp.requestLocationPermission
when the user denies location custom permission.
- Feature: Added
CustomPermissionName.LOCATION
. - Change: Updated
requestLocationPermission()
torequestLocationPermission(permissionDescription?: string)
. From nowrequestLocationPermission
will request both custom and device permission respectively. See here. - Feature: Added support for requesting Contact list from Host app. See here.
- Feature: Added
MiniApp.getAccessToken
for retrieving an access token. See here.
- Feature: Set and lock device screen orientation. See here.
- Feature: Added support for requesting the load and display of Interstitial & Rewarded Ads in Host app. See here.
- Feature: Added support for requesting User Name and Profile Photo from Host app. See here.
- Feature: Added
MiniApp.getPlatform
for retrieving the platform name of the device. See here.
- Feature: Added
MiniApp.requestCustomPermissions
for requestingUSER_NAME
,PROFILE_PHOTO
, andCONTACT_LIST
permissions. See here - Feature: Added
MiniApp.shareInfo
for sharing content with other Apps. See here.
- Added support for requesting geolocation permission from the host application to allow fetching of the coordinates data thereafter. See here.
- Initial release.