Releases: rakutentech/ios-miniapp
Releases · rakutentech/ios-miniapp
MiniApp SDK v5.6.1
Changes for v5.6.1
MiniApp SDK v5.6.0
Updated bridge
MiniApp SDK v5.5.0
Fix character escaping issue in Universal bridge (sendJsonToMiniApp)
MiniApp SDK v5.4.0
SDK
- Feature: Added a new interface
downloadMiniApp(appId:versionId:completionHandler:)
to download Miniapp from platform in background if needed. - Feature: Added a utility method to know if Miniapp has beend downloaded properly.
isMiniAppCacheAvailable(appId: String, versionId:)
- Refactor: Updated unzip Miniapp method with optional completion handler that will let the host app know if the download is success.
unzipMiniApp(fileName:miniAppId:versionId:completionHandler:)
Sample App
- Feature: Added Menu in list view to Download and check if Miniapp is downloaded already.
MiniApp SDK v5.3.1
SDK
- Feature: Updated
loadFromBundle(miniAppManifest:completionHandler)
interface with optional MiniAppManifest object. - Feature: Added a new property in MiniAppViewable class to Enable/Disable 3D touch for the Miniapp that is launched.
- Fix: Enable variables to public for
MAAnalyticsInfo
Sample App
- Feature: Updated Sample app to send
miniAppManifest
while loading from bundle - Feature: Hardcoded permissions for
loadFromBundle
approach
Miniapp SDK v5.3.0
SDK
- Deprecated:
create(appInfo: ,queryParams: ,completionHandler: ,messageInterface: ,adsDisplayer: ,fromCache: ) in
MiniApp` class. - Deprecated:
getUniqueId(completionHandler:)
inMiniAppMessageDelegate
protocol is deprecated. You should usegetMessagingUniqueId(completionHandler:)
instead. - Feature: Added new
HostAppThemeColors
model class to hold the primary and secondary color strings in Hex format. - Feature: Added a new optional interface
getHostAppThemeColors(completionHandler:)
inMiniAppMessageDelegate
protocol, to fetch the host app theme colors. - Feature: Added new
isDarkMode
interface to get the mode set in Host app / Device. - Feature: Added new public interface
didReceiveMAAnalytics(analyticsInfo: MAAnalyticsInfo, completionHandler: @escaping (Result<MASDKProtocolResponse, MAAnalyticsError>) -> Void)
for host app to receive theMAAnalyticsInfo
info for the events from MiniApps. - Feature: Added a new public interface in
MiniappView
class.loadFromBundle(completionHandler:)
. Now Native/Host apps can load a Miniapp from bundle. - Feature: Added a new public interface
sendInfoToHostApp(info: UniversalBridgeInfoParameters, completionHandler: @escaping (Result<MASDKProtocolResponse, UniversalBridgeError>) -> Void)
inUniversalBridgeDelegate
protocol. Now MiniApps can share the information to host app as structured object of typeUniversalBridgeInfoParameters
having parameters [key, value and description].
Sample App
- Feature: Implemented method
getHostAppThemeColors(completionHandler:)
in the sample app to fetch the host app theme colors and pass it to MiniApps. - Feature: Added qa settings page 'Theme Color' to test sending host app theme primary and secondary colors.
- Feature: Added implementation in Demo app under Features tab to show how a Miniapp can be loaded from Bundle.
- Feature: Added qa settings page 'Analytics Info' to view the analytics events recieved from the MiniApp.
Miniapp SDK v5.3.0-alpha
- It is not fully tested and can produce unexpected behaviors. Due to potential changes, the full change log will be provided with the final version. Adding a dependancy to this alpha version is discouraged.
- This version improves MiniApp loading from cache and brings several UI improvements features and deprecation.
Miniapp SDK v5.2.0
SDK
- Fix: Fix Secure storage ready notification.
- Refactor: Update the Custom permissions error messages format.
- SPM: Moved Admob dependency to the official SPM repo.
- Fix: Updated sendJsonToMiniApp to MiniAppManageDelegate that will help the old architecture to use it.
Sample app
- Bugfix: Mask Project ID & Subscription Key in Settings.
- Enhancement: Enabled App Tracking Tansperancy, with 'Privacy - Tracking Usage Description' and authorisation request propmpt on launch.
Miniapp SDK v5.1.0
SDK
- Update: Added
allEmailList
field inMAContact
to support multiple emails of a specific contact. - Feature: Added a new optional interface
func closeMiniApp(withConfirmation: , completionHandler:)
inMiniAppMessageDelegate
to support the close mini-app action from MinApps. - Feature: Universal Bridge support for receiving the Json or string content from the MiniApp to host app.
- Feature: Added new public protocol
UniversalBridgeDelegate
which is confirmed byMiniAppMessageDelegate
, further added public interfacesendJsonToHostApp(info:, completionHandler:) -> Void)
inUniversalBridgeDelegate
which can be implemented in host app to receive the string content from mini app and use in host app through Universal Bridge. - Feature: Universal bridge support for sending the Json/String content to MiniApp from host app which will have the public interface.
Miniapp SDK v5.0.0
SDK
- Feature: Support for showing multiple MiniApps at the same time. Added
MiniAppView
which will replace - Feature: Async/Await Support with
MiniAppView
'sloadAsync
that will load the MiniApp. - Feature: Added
MiniAppParameters
and a new configMiniAppConfig
that is used to initializeMiniAppView
- Feature: Added a new additional initializer to load MiniApps from URL for local testing.
- Feature: Support for SwiftUI. Added
MiniAppSUIView
to the UI module that conforms toUIViewRepresentable
and will autoload when added.
Sample app
- Feature: New demo app interface with List I and List II (multiple miniapp support demo) and reworked with SwiftUI