commonMain.io.dyte.mobilecorebridge.DyteUtils.kt Maven / Gradle / Ivy
package io.dyte.mobilecorebridge
import io.dyte.core.spotlight.ActiveTab
expect class DyteUtils() {
fun launchUrl(context: Any?, url: String): Boolean
fun enableWakelock()
fun disableWakelock()
}
fun ActiveTab.toMap(): HashMap {
return hashMapOf(
"id" to this.id,
"type" to this.type.name.lowercase(),
"userId" to this.userId,
)
}