Android
Configure over-the-air updates for Hyperswitch SDK on Android using HyperOTAReact for seamless app updates without store releases.
Juspay Hyperswitch provides over-the-air (OTA) updates for Android apps, enabling you to push updates without app store releases.
Configuration
When initializing
HyperOTAReact, ensure the release config URL (ending inconfig.json) is set for the correct environment (Sandbox or Production) and version. This is where HyperOTA will check for updates during app startup.
Example:
HyperOTAReact(
context.applicationContext,
"hyperswitch", // appId
"hyperswitch.bundle", // bundle name
BuildConfig.VERSION_NAME, // app version
hyperOTAUrl, // release config URL
headers,
object : LazyDownloadCallback {
override fun fileInstalled(filePath: String, success: Boolean) {}
override fun lazySplitsInstalled(success: Boolean) {}
},
tracker
).also { hyperOTAServices = it }In your
MainApplicationclass, ensuregetJSBundleFile()uses the bundle path from HyperOTA and falls back to the default asset if necessary
For more information, see Airborne.
Last updated
Was this helpful?

