Skip to content

Releases: rakutentech/android-miniapp

v5.2.1

23 May 04:46
Compare
Choose a tag to compare

SDK

  • Fix: Support In-app Purchase for old sdk implementation.

v5.2.0

06 Apr 02:32
Compare
Choose a tag to compare

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 use InAppPurchaseProviderDefault 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 provide Universal Bridge for sending messages from a MiniApp to the HostApp.

v5.1.0

06 Feb 03:58
Compare
Choose a tag to compare

5.1.0 (2023-02-06)

SDK

  • Feature: Added MiniAppMessageBridge.sendJsonToHostApp interface to provide Universal Bridge for sending messages from a MiniApp to the HostApp.
  • Feature: Added NativeEventType.MINIAPP_RECEIVE_JSON_INFO to provide Universal Bridge for receiving messages from the HostApp to MiniApps.
  • Feature: Added sendJsonToMiniApp in MiniAppView and MiniAppViewImpl for receiving messages from the HostApp to MiniApps.
  • Update: Added allEmailList field in Contact 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

15 Nov 05:40
7c4eed1
Compare
Choose a tag to compare

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

26 Oct 01:30
Compare
Choose a tag to compare

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 the MiniAppView.
  • Deprecated: Old create and createWithUrl 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 to maxStorageSizeLimitInBytes in MiniAppSdkConfig.

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

09 Aug 08:58
d8ffd9c
Compare
Choose a tag to compare

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

24 Jun 03:22
17db2e2
Compare
Choose a tag to compare

4.2.0 (2022-06-24)

SDK

  • Feature: Added MiniAppMessageBridge.getMessagingUniqueId for supporting MAUID v2 and MiniAppMessageBridge.getMauid in MiniAppMessageDelegate for retrieving MAUID.
  • Feature: Added support for base64 data: URIs to the File Download feature in MiniAppFileDownloader.
  • 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 with storageMaxSizeKB 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 sends 429 status code.

Sample App

  • Feature: Added implementation of MiniAppMessageBridge.getMessagingUniqueId and MiniAppMessageBridge.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

20 Jun 05:27
Compare
Choose a tag to compare

4.1.2 (2022-06-20)
SDK

  • Fix: Removed // from API calls to generate a valid URL in MetaDataApi and ManifestApi.

v4.1.1

16 May 09:32
Compare
Choose a tag to compare

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

11 Apr 09:18
ecc7c6f
Compare
Choose a tag to compare

4.1.0 (2022-04-11)

SDK

  • Feature: Added interface MiniAppFileDownloader to download files in device from miniapp.
  • Update: Updated MiniApp.create method with optional fromCache variable that helps to load the mini-app from cache.