SDK
- Feature: Added support for
RASProjectId
.RASApplicationIdentifier
is deprecated now - Feature: Added support for Preview endpoint. Preview endpoint becomes the new default endpoint
Sample App
- Feature: Added implementation for Preview mode
- Fixed: iOS 11 search field visual glitches
- Fixed: Support for dark UI
- Fixed: Default settings were displayed instead of the saved one
Note: The 2.4.0 version was skipped to keep version alignment with the Android SDK.
SDK
- Feature: Added support for Orientation lock, that enables the mini app to lock
portrait
orlandscape
orientation for the mini-app. Please check here - Feature: Added support to retrieve Access token and expiry date
- Feature: Added default implementation in SDK for
requestCustomPermissions(permissions:miniAppTitle:completionHandler:)
Please check here - Deprecated:
requestCustomPermissions(permissions:completionHandler:)
inMiniAppCallbackProtocol
protocol is deprecated. You should userequestCustomPermissions(permissions:miniAppTitle:completionHandler:))
instead
Sample App
- Feature: Added implementation for orientation lock
- Feature: Added implementation to retrieve Access token details
SDK
- Feature: Added separate public
MiniAppUserInfoDelegate
to communicate with the host app to getUserName and getProfilePhoto. Interfaces will be called only if user has agreed to the respective custom permission. i.erakuten.miniapp.user.USER_NAME
for getUserName andrakuten.miniapp.user.PROFILE_PHOTO
for getProfilePhoto. - Feature: Added support for Javascript bridge interface for User Info detail retrieval from Mini app.
getUserName()
andgetProfilePhoto()
. - Feature: Added a default sharing controller in the SDK for
MiniAppMessageDelegate.shareContent
. This means you are no longer required to implement this method and can instead choose to use the default functionality provided by the SDK if you wish. - Feature: Added support of
playsinline
andautoplay
instruction ofvideo
html tag. - Fixed: Links in the external webview that targeted
_blank
were not functioning. This has been updated so that these links will open in the same webview. - Fixed:
tel:
links were not working in the external webview. - Deprecated:
MiniAppCallbackProtocol
has been deprecated and replaced withMiniAppCallbackDelegate
.MiniAppCallbackProtocol
will continue to function as atypealias
forMiniAppCallbackDelegate
, however it will be removed in the next major version.
Sample App
- Feature: Added sample implementation for Retrieving Username & Profile photo from Mini app
- Feature: Added search field for mini app list.
SDK
- Feature: Added public interface to set and get the Custom permissions that are cached by the iOS SDK. See here
- Feature: Added support in Javascript bridge for requesting Custom permission.
requestCustomPermissions(permissionType)
- Feature: Added
requestCustomPermissions
function to MiniAppMessageProtocol. This function requests the host app to implement and return the list of Custom permissions that User responds with allow/deny option.See here - Feature: Added support for Javascript bridge interface for sharing message string from Mini app.
shareInfo(info)
- Feature: Added
shareContent(info:completionHandler:)
function to MiniAppMessageProtocol. Host app can make use of this function to display the Sharing feature/Controller See here - Feature: Added ability to load external link outside of Mini App view with included SFSafariViewController or by providing delegate, with ability to provide a result URL to Mini App with a closure. See here
- Feature: Added
listDownloadedWithCustomPermissions()
public interface that enables the host app to retrieve the list of downloaded mini-apps and their respective custom permissions. See here
Sample App
- Feature: Added example for showing list of Custom permissions (on request from Mini app) and response back to Mini app.
- Feature: Added sample implementation for Sharing the message from Mini app
- Feature: Added sample app implementation to revoke/manage the custom permissions for the list of downloaded mini apps
SDK
- Feature: Support telephone (
tel:
) hyperlinks from a mini app. See here.
Sample App:
- Feature: User name, profile photo, and contact list can be configured in the settings screen.
- Fix: Location permission callback was not triggered after user accepted/denied the permission.
SDK
- Feature: Added public interface to create a mini app using mini app id
MiniApp#create(appId:completionHandler:messageInterface)
- Feature: Mini App is now downloaded as a ZIP archive and extracted. This should improve the initial launch time on a Mini App with many files.
- Feature: Add support for
navigator.geolocation.getCurrentPosition
from JavaScript. Note that the othergeolocation
APIs (gelocation.watchPosition
andgeolocation.clearWatch
) are currently not supported. - Feature: Enable localizable strings to be overriden by the Host App. This currently applies only to dialog button text.
- Fixed: Prevent cache poisoning vulnerability by verifying cached Mini App files using a SHA512 hash.
- Deprecated:
MiniApp#create(appInfo:completionHandler:messageInterface)
. Your App should instead useMiniApp#create(appId:completionHandler:messageInterface)
. - Removed:
MiniApp#create(appInfo:completionHandler:)
. Your App should instead useMiniApp#create(appId:completionHandler:messageInterface)
. - Removed: Runtime config option for the User Agent string. This can now be set only by using the
RMAHostAppUserAgentInfo
setting in your '.plist' file.
Sample App
- No changes
SDK
- Feature: Possibility to use back and forward navigation inside MiniApp with SDK default UI or custom client provided UI - See here
- Feature: Ability to add a host app information string (RMAHostAppUserAgentInfo) that will get appended in the User agent. - See here
- Feature: Added support for
window.alert
,window.confirm
andwindow.prompt
JS dialogs in the mini app display - Bugfix: Fixed support for display of SVG file format in a mini app
Sample App
- Feature: Added example of custom view to navigate backward inside MiniApp - See here
- Added build information in App's setting screen
- Bugfix: First time settings success dialog dismissed before tapping OK
- Bugfix: "Display MiniApp" button was not visible when scrolling in the Mini Apps list
SDK
- no changes
Sample App
- Bugfix: First time settings success dialog dismissed before tapping OK
- Bugfix: "Display MiniApp" button was not visible when scrolling in the list Mini Apps
- Added JavaScript bridge for passing data between Mini App and Host App. Your App now must implement
MiniAppMessageProtocol
in your view controller and provide the implementation when callingMiniApp#create
. - See here - Deprecated
MiniApp#create(appInfo:completionHandler:)
. Your App should instead useMiniApp#create(appInfo:completionHandler:messageInterface)
. - Added
getUniqueId
function toMiniAppMessageProtocol
. This function should provide a unique identifier (unique to the user and device) to Mini Apps.
- Initial release