public class AppInfo extends Object
Constructor and Description |
---|
AppInfo() |
Modifier and Type | Method and Description |
---|---|
static String |
getApplicationName(Context context)
Gets the host application name from android:name label in activity
|
static int |
getApplicationVersionCode(Context context)
Gets the version of the host application as defined in the host app
|
static String |
getChatSdkName()
Gets default Chat SDK application name as defined in build.gradle in the SDK project
|
static int |
getChatSdkVersionCode()
Gets the version of the SDK as defined in build.gradle
|
public static String getApplicationName(Context context)
context
- from which to get the application namepublic static String getChatSdkName()
public static int getApplicationVersionCode(Context context)
context
- from which to get the application version codepublic static int getChatSdkVersionCode()