For displaying Zerion on the connect wallet screen, you can check if Zerion wallet is installed on user device:
iOS
let canOpen: Bool = UIApplication.shared.canOpenURL(URL(string: "zerion://"))
Android
val isZerionInstalled: Boolean = isPackageInstalled("io.zerion.android", packageManager)
private fun isPackageInstalled(packageName: String, packageManager: PackageManager): Boolean {
return try {
packageManager.getPackageInfo(packageName, 0)
true
} catch (e: NameNotFoundException) {
false
}
}
In your AndroidManifest.xml:
<queries>
<package android:name="io.zerion.android"/>
</queries>