installer_info 0.4.0 copy "installer_info: ^0.4.0" to clipboard
installer_info: ^0.4.0 copied to clipboard

outdated

Returns information about the method used to install your app.

installer_info #

Pub Version

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>

Example #

final installerInfo = await getInstallerInfo();

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

print(installerInfo.installer);
// Installer.googlePlay
12
likes
0
points
458
downloads

Publisher

verified publishercaiopo.com

Weekly Downloads

Returns information about the method used to install your app.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on installer_info