Add method to check which App Store the Android app is installed from, or if it’s sideloaded.
Java Code:
/**
* Get the name of App Store the App is installed from.
*/
public static String getAppStore(Context context) {
String pName = BuildConfig.APPLICATION_ID;
PackageManager packageManager = context.getPackageManager();
String installPM =…