vn.teko.hestia:hestia-android-native:1.0.0

New features#

  • Add interface vn.teko.hestia.android.nativelib.AndroidNativeAppLauncher. Now implement the AndroidNativeAppLauncher as follow:
import android.app.Application
import android.content.Intent
import vn.teko.hestia.android.model.AppLauncherData
import vn.teko.hestia.android.nativelib.AndroidNativeAppLauncher
class MiniNativeAppLauncher : AndroidNativeAppLauncher {
override suspend fun create(application: Application, launcherData: AppLauncherData): Intent {
// parse AppLauncherData to create your own params
val params = createParams(launcherData)
// you can do extra SDK initialization here
// initialize your Intent with params
return Intent(application, MiniAppActivity::class.java).apply {
putExtra("data", params)
}
}
}

Changes#

No changes

Bug fixes#

No bug fixes