ravitejaavv / store_checker

This Flutter plugin is useful to find the origin of apk/ipa which is made available for download. **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 we have installed TestFlight Beta or App Store build
MIT License
23 stars 19 forks source link

HUAWEI APPGALLERY #3

Closed viperciyes closed 2 years ago

viperciyes commented 2 years ago

can this detect if the app is installed from HUAWEI AppGallery?

ravitejaavv commented 2 years ago

can this detect if the app is installed from HUAWEI AppGallery?

hi @viperciyes

Yes. It will fall under below switch case

case Source.IS_INSTALLED_FROM_LOCAL_SOURCE: // Installed using adb commands or side loading or any cloud service source = "Local Source"; break;

viperciyes commented 2 years ago

in this case, can we understand whether the app is downloaded/hacked/installed from local apk or downloaded from appgallery?

ravitejaavv commented 2 years ago

Hi @viperciyes

We can install the apk in multiple ways. Some commonly used ways are

  1. adb install
  2. Download apk from website and install
  3. Share apk through drive/social/sharing/etc.,
  4. From PlayStore/AmazonStore/Other Stores

This plugin detects all above cases where point 1, 2, 3 comes under Source.IS_INSTALLED_FROM_LOCAL_SOURCE

tegarnugroho commented 2 years ago

When we download and install apps from Huawei Store, Galaxy store or other, what data will we get? IS_INSTALLED_FROM_OTHER_SOURCE?

ravitejaavv commented 2 years ago

When we download and install apps from Huawei Store, Galaxy store or other, what data will we get? IS_INSTALLED_FROM_OTHER_SOURCE?

Yes. I will review your pull request and merge

ravitejaavv commented 2 years ago

Use store_checker: ^1.0.0