Detect Buzzio
Use this to swap “Add to Buzzio” for “Added” after the user confirms.
Android — is Buzzio installed?
val installed = try {
packageManager.getPackageInfo("com.ve.ghost", 0)
true
} catch (_: PackageManager.NameNotFoundException) {
false
}
Also catch ActivityNotFoundException when starting ENABLE_STICKER_PACK.
Android — is this pack added?
content://com.ve.ghost.provider.sticker_whitelist_check/is_whitelisted
?authority={your_authority}
&identifier={pack_id}
Column result: 1 added, 0 not added, null invalid or Buzzio too old. You can only query packs your app provides.
iOS — can open?
UIApplication.shared.canOpenURL(URL(string: "buzzio://stickerPack")!)
Requires LSApplicationQueriesSchemes → buzzio.
Play / App Store
Add the keyword BuzzioStickerApps so users can find sticker apps from Buzzio’s empty tray later.