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

outdated

A new Flutter plugin.

installer_info #

Returns information about the method used to install your app.

On Android, uses `context.getInstallerPackageName()``

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