패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.8.0

store_checker

이 Flutter 플러그인은 현재 설치된 APK/IPA의 출처를 찾는 데 유용합니다.

AndroidiOSmacOS
30일 다운로드
2.4만
좋아요
96
Pub 점수
140

패키지 설치

flutter pub add store_checker

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

store_checker 패키지는 Android, iOS 및 macOS에서 현재 설치된 앱의 출처를 확인하는 데 도움이 되는 Flutter 유틸리티입니다. 앱의 설치 소스를 메타데이터와 시스템 수준 정보를 분석하여 확인함으로써 개발자가 앱이 공식 스토어(예: Google Play 또는 Apple App Store)에서 설치되었는지, 아니면 사이드로딩과 같은 대안적인 방법을 통해 설치되었는지를 파악할 수 있습니다. 이는 보안 검사, 라이선스 검증 또는 분석에 유용할 수 있습니다. 이 플러그인은 pub.dev를 통해 Flutter 프로젝트에 원활하게 통합될 수 있습니다.

사용 사례

  • 앱 설치 원본 검증
  • 보안 및 저작권 보호 검사
  • 라이선스 검증
  • 배포 채널 분석
  • 사이드로드 앱 디버깅

주요 기능

  • 다중 플랫폼에서 앱 출처 감지
  • Android, iOS 및 macOS를 지원합니다
  • Flutter와의 간단한 통합
  • 신뢰할 수 있는 출처 식별을 제공합니다
  • 오픈소스이며 지속적으로 유지 관리되고 있습니다

적합한 대상

  • 안전한 앱을 개발하는 개발자
  • 라이선스 검증이 필요한 앱
  • 배포 인사이트가 필요한 프로젝트
  • 앱 배포를 관리하는 팀
  • 설치 소스 디버깅을 위한 도구

고려 사항

  • 설치 원본 탐지에 한정되며, 전체 앱 무결성은 확인하지 않음
  • 모든 사ند박스 환경에서 작동하지 않을 수 있습니다
  • 플랫폼별 시스템 접근에 의존
  • 실시간 모니터링 없음
  • 대상 플랫폼에서 적절한 권한이 필요합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

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: ^1.8.0

import 'package:store_checker/store_checker.dart';

Source installationSource = await StoreChecker.getSource;

String source = "";
switch (installationSource) {
        case Source.IS_INSTALLED_FROM_PLAY_STORE:
          // Installed from Play Store
          source = "Play Store";
          break;
        case Source.IS_INSTALLED_FROM_PLAY_PACKAGE_INSTALLER:
          // Installed from Google Package installer
          source = "Google Package installer";
          break;
        case Source.IS_INSTALLED_FROM_LOCAL_SOURCE:
          // Installed using adb commands or side loading or any cloud service
          source = "Local Source";
          break;
        case Source.IS_INSTALLED_FROM_AMAZON_APP_STORE:
          // Installed from Amazon app store
          source = "Amazon Store";
          break;
        case Source.IS_INSTALLED_FROM_HUAWEI_APP_GALLERY:
          // Installed from Huawei app store
          source = "Huawei App Gallery";
          break;
        case Source.IS_INSTALLED_FROM_SAMSUNG_GALAXY_STORE:
          // Installed from Samsung app store
          source = "Samsung Galaxy Store";
          break;
        case Source.IS_INSTALLED_FROM_SAMSUNG_SMART_SWITCH_MOBILE:
          // Installed from Samsung Smart Switch Mobile
          source = "Samsung Smart Switch Mobile";
          break;  
        case Source.IS_INSTALLED_FROM_XIAOMI_GET_APPS:
          // Installed from Xiaomi app store
          source = "Xiaomi Get Apps";
          break;
        case Source.IS_INSTALLED_FROM_OPPO_APP_MARKET:
          // Installed from Oppo app store
          source = "Oppo App Market";
          break;
        case Source.IS_INSTALLED_FROM_VIVO_APP_STORE:
          // Installed from Vivo app store
          source = "Vivo App Store";
          break;
        case Source.IS_INSTALLED_FROM_RU_STORE:
          // Installed apk from RuStore
          source = "RuStore";
          break;
        case Source.IS_INSTALLED_FROM_OTHER_SOURCE:
          // Installed from other market store
          source = "Other Source";
          break;
        case Source.IS_INSTALLED_FROM_APP_STORE:
          // Installed from app store
          source = "App Store";
          break;
        case Source.IS_INSTALLED_FROM_TEST_FLIGHT:
          // Installed from Test Flight
          source = "Test Flight";
          break;
        case Source.UNKNOWN:
          // Installed from Unknown source
          source = "Unknown Source";
          break;
      }

Issues and feedback

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

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트