Releases: rakutentech/android-miniapp
Releases · rakutentech/android-miniapp
v2.1.0
v2.0.0: fix: Update URL file parser to look for map-published-v2
SDK
- 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: Added custom dialog for
window.alert
,window.prompt
, andwindow.confirm
. These look and behave the same as the default WebView dialogs with the exception that the dialog title is now set to the Mini App's name. - Upgraded:
minSdkVersion
has been bumped up to 23 (Android 6.0). - Removed:
MiniAppDisplay#getMiniAppView()
,MiniApp#create(info: MiniAppInfo)
has been removed. - Removed:
MiniApp#create(info: MiniAppInfo, miniAppMessageBridge: MiniAppMessageBridge)
has been removed.
Sample App
- Feature: Added search by Mini App name to listing view.
- Fix: Display warning message when an invalid value is input for "Host App Id" or "Subscription Key".
v1.2.0: hotfix: undo version plugin change (#120)
SDK
- Upgraded build setup and some internal dependencies
- Added support for customization of user agent information. See this.
- Added feature to support backward & forward navigation support in a mini app.
- Added support for javascript of type module e.g.
<script src="some_module.js" type="module"></script>
would render just fine now even though the mimetype is missed out by the web technologies for this scenario. - Added feature to obtain geolocation data in a mini app
- Hotfix for redirection over custom scheme and http
Sample App
- Updated styling of the mini app list
- Updated App's setting screen with build information
- Demo usage of customized user agent information
- Add navigation into mini app. See this.
v1.1.1
SDK
- Bugfix:
select
anddate
input elements weren't working correctly. - Deprecated
MiniAppDisplay#getMiniAppView()
and addedMiniAppDisplay#getMiniAppView(activityContext: Context)
. You now must provide an Activity Context when retrieving theView
for the Mini App. This is related to the bugfix forselect
anddate
inputs - if you use the deprecated method, then these elements will not work correctly.
Sample App
- Display first time setup instructions on first launch of App.
v1.1.0
- Added JavaScript bridge for passing data between Mini App and Host App. Your App now must implement MiniAppMessageBridge and provide the implementation when calling MiniApp#create. See this
- Deprecated MiniApp#create(info: MiniAppInfo). Your App should instead use MiniApp#create(info: MiniAppInfo, miniAppMessageBridge: MiniAppMessageBridge).
- Added getUniqueId function to MiniAppMessageBridge. This function should provide a unique identifier (unique to the user and device) to Mini Apps.
- Added support for custom scheme URL redirect. The URL mscheme.MINI_APP_ID://miniapp/index.html can be used by a Mini App for redirection. This matches the URL used in the iOS Mini App SDK.
Initial release
v1.0.0 docs: Update userguide samples