installer_info

Last updated:

0 purchases

installer_info Image
installer_info Images
Add to Cart

Description:

installer info

installer_info #

Returns information about the method used to install your app.
On Android API 29 and below, uses Context.getInstallerPackageName()
On Android API 30 and above, uses PackageManager.getInstallSourceInfo()
On iOS, parses Bundle.main.appStoreReceiptURL
Installing #
Add to your pubspec.yaml
dependencies:
installer_info: <version>
copied to clipboard
Example #
final installerInfo = await getInstallerInfo();

print(installerInfo.installerName);
// com.android.vending

print(installerInfo.installer);
// Installer.googlePlay
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.