isAppInstalled

actual fun isAppInstalled(packageName: String, fingerprint: String?, alg: String): Boolean

Use this function to check if an application is installed on the user's device

Parameters

packageName

android application package name

fingerprint

the singing fingerprint

alg

fingerprint's algorithm , defaulted to "SHA-256"

expect fun isAppInstalled(packageName: String, fingerprint: String? = null, alg: String = "SHA-256"): Boolean

Use this function to check if an application is installed on the user's device Platform : Android, iOS Will through exceptions for JS and JVM

Parameters

packageName

android application package name or ios app scheme

fingerprint

the singing fingerprint for android only

alg

fingerprint algorithm for android only

actual fun isAppInstalled(packageName: String, fingerprint: String?, alg: String): Boolean

Use isAppInstalled(appScheme: String) instead Use this function to check if an application is installed on the user's device

Parameters

packageName

the deeplink schema of the application

fingerprint

keep nil

alg

keep nil

actual fun isAppInstalled(packageName: String, fingerprint: String?, alg: String): Boolean
actual fun isAppInstalled(packageName: String, fingerprint: String?, alg: String): Boolean