Releases: rakutentech/ios-miniapp
Releases · rakutentech/ios-miniapp
v2.2.0: docs: Update 2.2.0 release date in changelog
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
v2.1.0: tests: Disable test which is failing intermittently on CI
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.
v2.0.0: fix: Update URL file parser to look for map-published-v2 (#125)
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
v1.2.0: Update MiniApp.podspec (#113)
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
v1.2.0-alpha
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
v1.1.1
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
1.1.0 (2020-06-01)
- 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.
1.0.0 (2020-04-27)
- Initial release