Releases: rakutentech/android-miniapp
Releases · rakutentech/android-miniapp
v5.2.1
SDK
- Fix: Support In-app Purchase for old sdk implementation.
v5.2.0
5.2.0 (2023-04-06)
SDK
- Feature: Added
in-app-purchase
module to support android billing sdk. - Feature: Added
InAppPurchaseProvider
to get/purchase/consume products, HostApp can also useInAppPurchaseProviderDefault
when there is nothing to customize during In-app Purchase.InAppPurchaseProvider.getAllProducts(androidStoreIds: List<String>, onSuccess: (productInfos: List<ProductInfo>) -> Unit, onError: (errorType: MiniAppInAppPurchaseErrorType) -> Unit)
InAppPurchaseProvider.purchaseProductWith(androidStoreId: String, onSuccess: (purchaseData: PurchaseData) -> Unit, onError: (errorType: MiniAppInAppPurchaseErrorType) -> Unit
InAppPurchaseProvider.consumePurchaseWIth(purhcaseToken: String, onSuccess: (title: String, description: String) -> Unit, onError: (errorType: MiniAppInAppPurchaseErrorType) -> Unit
InAppPurchaseProvider.onEndConnection()
- Feature: Added
MiniAppMessageBridge.setInAppPurchaseProvider
interface to enable HostApp to receive events from a In-app Purchase action. - Feature: Added
MiniAppInAppPurchaseErrorType
to support predefined error types for In-app Purchase. - Feature: Added
MiniAppDisplay.sendJsonToHostApp
interface to provideUniversal Bridge
for sending messages from a MiniApp to the HostApp.
v5.1.0
5.1.0 (2023-02-06)
SDK
- Feature: Added
MiniAppMessageBridge.sendJsonToHostApp
interface to provideUniversal Bridge
for sending messages from a MiniApp to the HostApp. - Feature: Added
NativeEventType.MINIAPP_RECEIVE_JSON_INFO
to provideUniversal Bridge
for receiving messages from the HostApp to MiniApps. - Feature: Added
sendJsonToMiniApp
inMiniAppView
andMiniAppViewImpl
for receiving messages from the HostApp to MiniApps. - Update: Added
allEmailList
field inContact
to support multiple emails of a specific contact. - Fix: Prevent file creation with zero byte while downloading a file using
MiniAppFileDownloader
while host app is offline, also added support for Android 10. - Feature: Added
MiniAppMessageBridge.setMiniAppCloseListener
interface to enable HostApp to receive event from a MiniApp to close.
Sample App
- Feature: Settings is moved to it's own tab.
- Feature: Multiple MiniAppSdk configurations.
- Feature: Enabled PermissionSettings on MiniApp top bar.
- Update: Move the Query Parameters and Deeplink to General Settings.
- Update: Add/Edit Contact from Dialog to Its Own Activity.
v5.0.1
5.0.1 (2022-11-15)
SDK
- Update: Secure Storage performance enhancement.
- Update: Secured DB won't be available if a MiniApp isn't storing any data.
- Update: Clear Storage will delete all the records from the Table and will not delete the DB.
- Fix: Added available size implementation in Secure Storage.
- Fix: Changed the DB creation and load time for a MiniApp.
Sample App
- Fix: Added bug fixes related to Settings page.
v5.0.0
5.0.0 (2022-10-25)
SDK
- Feature: Added
MiniAppView
to create multiple MiniApp views. - Feature: Added
MiniAppConfig
data class to hold configuration settings for theMiniAppView
. - Deprecated: Old
create
andcreateWithUrl
interfaces. - Fix: Made the
MaxStorageSize
Limit in Bytes. - Fix: Returning
onSuccess
for the Bulk Delete even if no items could be deleted. - Update: Refactored the
maxStorageSizeLimitInMB
parameter tomaxStorageSizeLimitInBytes
inMiniAppSdkConfig
.
Sample App
- Feature: Demo App will now use a tabBar instead of a single screen.
- Feature: Adding List I and List II for displaying multiple MiniApps at the same time and configurable through settings.
- Feature: Features tab will start with URL feature to run MiniApps locally.
- Feature: Settings is moved to it's own tab.
v4.3.0
4.3.0 (2022-08-09)
SDK
- Feature: Added
languageCode
in cached manifest to support localization of manifest. - Fix: Added bug fixes related to Secure storage feature.
Sample App
- Feature: Added bluetooth paired device detection on Android 12+ devices in QA settings screen.
- Feature: Added UI in QA settings screen to upgrade the max storage size limit on runtime.
- Fix: Displayed close confirmation dialog when MiniApp is closed using physical back button.
- Fix: Added proper error message when name and email both inputs are empty in contact settings page.
v4.2.0
4.2.0 (2022-06-24)
SDK
- Feature: Added
MiniAppMessageBridge.getMessagingUniqueId
for supporting MAUID v2 andMiniAppMessageBridge.getMauid
in MiniAppMessageDelegate for retrieving MAUID. - Feature: Added support for base64
data:
URIs to the File Download feature inMiniAppFileDownloader
. - Feature: Added secure storage support for storing, getting and removing data for MiniApps safely. HostApp can clear secured data using
MiniApp.clearSecureStorage
. Also,MiniAppSdkConfig
is extended withstorageMaxSizeKB
to set the maximum available space in bytes for secure storage. - Feature: Added
MiniAppMessageBridge.miniAppShouldClose()
function which would help the host app to check if any alert need to be displayed before closing the MiniApp. - Feature: Added
MiniAppTooManyRequestsError
which will be thrown from SDK if any API from platform sends429
status code.
Sample App
- Feature: Added implementation of
MiniAppMessageBridge.getMessagingUniqueId
andMiniAppMessageBridge.getMauid
. - Feature: Added a
Clear All
button to Settings/QA to remove all secure storages. - Feature: Added support to display error popup when there is
MiniAppTooManyRequestsError
.
v4.1.2
4.1.2 (2022-06-20)
SDK
- Fix: Removed
//
from API calls to generate a valid URL inMetaDataApi
andManifestApi
.
v4.1.1
4.1.1 (2022-05-16)
SDK
- Remove: Removed
io.github.rakutentech.sdkutils
dependency and adopted the related changes to MiniApp SDK.
v4.1.0
4.1.0 (2022-04-11)
SDK
- Feature: Added interface
MiniAppFileDownloader
to download files in device from miniapp. - Update: Updated
MiniApp.create
method with optionalfromCache
variable that helps to load the mini-app from cache.