Skip to content

Releases: rakutentech/ios-miniapp

v3.4.0

14 Dec 02:18
Compare
Choose a tag to compare

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 parameter MAAnalyticsConfig which will be used by Host app to send analytics for multiple accounts.
  • Updated: Updated getAccessToken result with new Error type i.e MASDKAccessTokenError 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

14 Dec 02:17
Compare
Choose a tag to compare

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() in MiniAppMessageDelegate protocol is deprecated. You should use getUniqueId(completionHandler:) instead
  • Deprecated: getContacts() in MiniAppUserInfoDelegate protocol is deprecated. You should use getContacts(completionHandler:) instead
  • Deprecated: localize(bundle:_:params:) in MASDKLocale class is deprecated. You should use localize(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

14 Dec 02:17
Compare
Choose a tag to compare

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

14 Dec 02:16
Compare
Choose a tag to compare

SDK

  • Feature: Added rakuten.miniapp.user.ACCESS_TOKEN custom permission
  • Feature: Added rakuten.miniapp.user.ACCESS_TOKEN audiences and scopes

v3.0.0

14 Dec 02:16
787512c
Compare
Choose a tag to compare

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. Use previewMode instead
      • appId has been removed. Use projectId
    • MiniAppPermissionType has been renamed MiniAppDevicePermissionType
    • MiniAppDisplayProtocol has been renamed MiniAppDisplayDelegate
    • MiniAppMessageDelegate:
      • MiniAppMessageProtocol has ben renamed MiniAppMessageDelegate
      • requestPermission(permissionType:completionHandler:) has been removed. Use requestDevicePermission(permissionType:completionHandler:)
      • requestCustomPermissions(permissions:completionHandler:) has been removed. Use requestCustomPermissions(permissions:miniAppTitle:completionHandler:)
    • MiniAppUserInfoDelegate:
      • getUserName() has been removed. Use getUserName(completionHandler:)
      • getProfilePhoto() has been removed. Use getProfilePhoto(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

14 Dec 02:15
Compare
Choose a tag to compare

SDK

  • Feature Added analytics for Mini App usage tracking
  • Feature Updated getUserName and getProfilePhoto 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:) in MiniAppMessageDelegate protocol is deprecated. You should use requestDevicePermission(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 and getProfilePhoto interfaces
  • Feature: Added a new section in Settings page to add the optional query parameter.

v2.7.0

14 Dec 02:14
Compare
Choose a tag to compare

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)

14 Dec 02:13
1d376f1
Compare
Choose a tag to compare

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

14 Dec 02:13
Compare
Choose a tag to compare

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 or landscape 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:) in MiniAppCallbackProtocol protocol is deprecated. You should use requestCustomPermissions(permissions:miniAppTitle:completionHandler:) instead

Sample App

  • Feature: Added implementation for orientation lock
  • Feature: Added implementation to retrieve Access token details

v2.3.0

14 Dec 02:12
Compare
Choose a tag to compare

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.e rakuten.miniapp.user.USER_NAME for getUserName and rakuten.miniapp.user.PROFILE_PHOTO for getProfilePhoto.
  • Feature: Added support for Javascript bridge interface for User Info detail retrieval from Mini app. getUserName() and getProfilePhoto().
  • 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 and autoplay instruction of video 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 with MiniAppCallbackDelegate. MiniAppCallbackProtocol will continue to function as a typealias for MiniAppCallbackDelegate, 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.