Skip to main content

Determine if the App is installed

[Player Network SDK & MSDK] This interface is synchronous.

note
  1. On Android, pass packageName as the parameter; on iOS, pass URLScheme as the parameter.
    2. This check is continuously updated and does not affect the integration with other channels.
App nameAndroid ParameteriOS Parameter
AppleNot supportedSystem APP
Discordcom.discorddiscord://
DMMNot supportedNot supported
FacebookFacebook app: com.facebook.katana
Messenger: com.facebook.orca
fb://
Game CenterNot supportedgamecenter://
Garenacom.garena.gas
com.garena.gaslite
garenagc://
Google Internet companycom.google.android.gmsgooglechrome://
Instagramcom.instagram.androidinstagram://app
Kakaocom.kakao.talkkakaolink://
LINEjp.naver.line.androidline://
lineauth2://
Messengercom.facebook.orcafb-messenger-share-api://
QQcom.tencent.mobileqqmqq://
SquareEnixcom.square_enix_software_tokenNot supported
Twittercom.twitter.androidtwitter://
VKcom.vkontakte.androidvk://
vk-share://
WeChatcom.tencent.mmwechat://

Supported Platforms

Supports Android, iOS platform.

Function Definition

bool IsAppInstalled(string channel, string extraJson = "{}")

Input Parameters

ParametersTypeDescription
ChannelstringOn Android, pass packageName as the parameter; on iOS, pass URLScheme as the parameter
extraJsonstringExtended Field

Code Example

// Android
bool isInstalled = UnionAdapterAPI.GetToolsService().IsAppInstalled("com.facebook.katana");
// iOS
bool isInstalled = UnionAdapterAPI.GetToolsService().IsAppInstalled("fb://");