Releases: rakutentech/ios-miniapp
Releases · rakutentech/ios-miniapp
v3.4.0
SDK
- Feature: Mini App SDK now supports code updates in preview mode
- Feature: Added possibility to send analytics to multiple accounts at the same time
- Feature: Updated
MiniAppSdkConfig
class to add additional parameterMAAnalyticsConfig
which will be used by Host app to send analytics for multiple accounts. - Updated: Updated
getAccessToken
result with new Error type i.eMASDKAccessTokenError
to support more errors - Fixed: Added support for form submission redirections
Sample App
- Feature: Added QA tests settings screen containing options to test all
getAccessToken
error types
v3.3.0
SDK
- Feature: Added
rakuten.miniapp.user.action.SEND_MESSAGE
custom permission - Feature: Support Email addresses (
mailto:
) hyperlinks from a mini app. See here. - Deprecated:
getUniqueId()
inMiniAppMessageDelegate
protocol is deprecated. You should usegetUniqueId(completionHandler:)
instead - Deprecated:
getContacts()
inMiniAppUserInfoDelegate
protocol is deprecated. You should usegetContacts(completionHandler:)
instead - Deprecated:
localize(bundle:_:params:)
inMASDKLocale
class is deprecated. You should uselocalize(bundle:_:)
instead - Fixed: Long messages were truncated in sample app
Sample App
- Feature: Custom contact name and email can be added now from the settings
v3.2.0
SDK
- Feature: Added chat messages capabilities
- Feature: Standardized texts localization
Sample App
- Feature: Added chat messages screens with contact picker
- Fixed: First launch screen metadata text was hidden
v3.1.0
SDK
- Feature: Added
rakuten.miniapp.user.ACCESS_TOKEN
custom permission - Feature: Added
rakuten.miniapp.user.ACCESS_TOKEN
audiences and scopes
v3.0.0
SDK
- Core: Incremented minimum support version for iOS from 11.0 to 13.0
- Removed: Removed all deprecated and variables methods from v2:
MiniApp
:list(completionHandler:)
now takes a(Result<[MiniAppInfo], MASDKError>) -> Void
in place of a(Result<[MiniAppInfo], Error>) -> Void
info(miniAppId:completionHandler:)
now takes a(Result<MiniAppInfo, MASDKError>) -> Void
in place of a(Result<MiniAppInfo, Error>) -> Void
create(appId:completionHandler:)
now takes a(Result<MiniAppDisplayProtocol, MASDKError>) -> Void
in place of a(Result<MiniAppDisplayProtocol, Error>) -> Void
MiniAppSdkConfig
:testMode
has been removed. UsepreviewMode
insteadappId
has been removed. UseprojectId
MiniAppPermissionType
has been renamedMiniAppDevicePermissionType
MiniAppDisplayProtocol
has been renamedMiniAppDisplayDelegate
MiniAppMessageDelegate
:MiniAppMessageProtocol
has ben renamedMiniAppMessageDelegate
requestPermission(permissionType:completionHandler:)
has been removed. UserequestDevicePermission(permissionType:completionHandler:)
requestCustomPermissions(permissions:completionHandler:)
has been removed. UserequestCustomPermissions(permissions:miniAppTitle:completionHandler:)
MiniAppUserInfoDelegate
:getUserName()
has been removed. UsegetUserName(completionHandler:)
getProfilePhoto()
has been removed. UsegetProfilePhoto(completionHandler:)
- Feature: Made MiniApp SDK a static framework
- Feature: Added ads for Mini Apps host
- Feature: Added Google mobile ads integration in a
MiniApps/Admob
pod subspec - Feature: Added new interface
getMiniAppManifest(miniAppId:miniAppVersion:)
to retrieve the meta-data of a MiniApp - Feature: Added new interface
getDownloadedManifest(miniAppId:)
to retrieve the cached meta-data of a MiniApp - Removed: RSDKUtils dependency removed
Sample App
- Feature: Added implementation to retrieve meta-data and show first-time launch screen to user before downloading any mini-app
v2.8.0
SDK
- Feature Added analytics for Mini App usage tracking
- Feature Updated
getUserName
andgetProfilePhoto
interfaces to be asynchronous. Old methods are deprecated - Feature Updated
MiniApp().shared.create
interface to accept another optional query string parameter. - Deprecated:
requestPermission(permissionType:completionHandler:)
inMiniAppMessageDelegate
protocol is deprecated. You should userequestDevicePermission(permissionType:completionHandler:)
instead - Fixed Geolocation was not updated after the first GPS fix
Sample App
- Change Updated sample app to use the latest asynchronous
getUserName
andgetProfilePhoto
interfaces - Feature: Added a new section in Settings page to add the optional query parameter.
v2.7.0
SDK
- Feature: Added support for requesting a contact list from a MiniApp
- Feature: Added support to load a MiniApp from an URL
- Feature: Added location permission to custom permissions management
- Fixed: A specific exception is now raised when an app has no published version
- Fixed: Location permissions glitch
Sample App
- Fixed: Permissions toggles did not fit the screen
- Fixed: Location permissions glitch
v2.6.0: updates changelog for version 2.6.0 (#180)
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
v2.5.0
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
v2.3.0
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.