store_checker 0.0.3 copy "store_checker: ^0.0.3" to clipboard
store_checker: ^0.0.3 copied to clipboard

outdated

This Flutter plugin is useful to find the origin of currently installed apk/ipa.

StoreChecker #

This Flutter plugin is useful to find the origin of currently installed apk/ipa.

Android: It's very common to have Android applications republished on alternate markets or their APKs made available for download. The plugin detects whether app is installed from local source or Play Store or other stores

iOS: Detects whether app is installed from TestFlight Beta or App Store build

Usage #

You can use the StoreChecker to find the origin of apk/ipa. This works both on iOS and Android. Add this to your package's pubspec.yaml file: dependencies: store_checker: ^0.0.1

import 'package:store_checker/store_checker.dart';

Source installationSource = await StoreChecker.getSource;

String source = "";
switch(installationSource){
        case Source.IS_INSTALLED_FROM_PLAY_STORE:
          source = "Play Store";
          break;
        case Source.IS_INSTALLED_FROM_LOCAL_SOURCE:
          source = "Local Source";  //For example: Installed apk using adb commands, side loading or cloud
          break;
        case Source.IS_INSTALLED_FROM_OTHER_STORE:
          source = "Other Store";  //For example: Amazon app store
          break;
        case Source.IS_INSTALLED_FROM_APP_STORE:
          source = "App Store";
          break;
        case Source.IS_INSTALLED_FROM_TEST_FLIGHT:
          source = "Test Flight";
          break;
        case Source.UNKNOWN:
          source = "Unknown source";
          break;
      }

Issues and feedback #

Please file issues to send feedback or report a bug. Thank you!

61
likes
0
pub points
95%
popularity

Publisher

unverified uploader

This Flutter plugin is useful to find the origin of currently installed apk/ipa.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on store_checker