IsAppInstalled
AndroidiOS
If you were looking for the method for use with Unreal Engine, see IsAppInstalled for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see IsAppInstalled for Unreal Engine SDK.
This is a synchronous API.
Android platform passes packageName
as the parameter; iOS platform passes URLScheme
as the parameter.
App name | Android parameter | iOS parameter |
---|---|---|
Apple | Not supported | System App |
Discord | com.discord | discord:// |
DMM | Not supported | Not supported |
Facebook app: com.facebook.katana Messenger: com.facebook.orca | fb:// | |
GameCenter | Not supported | gamecenter:// |
Garena | com.garena.gas com.garena.gaslite | garenagc:// |
com.google.android.gms | googlechrome:// | |
com.instagram.android | instagram://app | |
Kakao | com.kakao.talk | kakaolink:// |
LINE | jp.naver.line.android | line:// lineauth2:// |
Messenger | com.facebook.orca | fb-messenger-share-api:// |
com.tencent.mobileqq | mqq:// | |
SquareEnix | com.square_enix_software_token | Not supported |
TikTok | com.ss.android.ugc.trill com.zhiliaoapp.musically | snssdk1180:// snssdk1233:// |
com.twitter.android | twitter:// | |
VK | com.vkontakte.android | vk:// vk-share:// |
VNG | Not supported | Not supported |
com.tencent.mm | wechat:// | |
com.whatsapp | whatsapp:// |
Function definition
public static bool IsAppInstalled(string channel, string extraJson = "{}")
Input parameters
Parameter | Type | Description |
---|---|---|
channel | string | Android platform passes packageName as the parameter, iOS platform passes URLScheme as the parameter. |
extraJson | string | The extended field. |
Code sample
bool isInstalled = INTLAPI.IsAppInstalled("com.facebook.katana", extraJson); // Android
bool isInstalled = INTLAPI.IsAppInstalled("fb://", extraJson); // iOS