메인 콘텐츠로 건너뛰기
@capgo/capacitor-위치 가짜 감지기 인증 및 보안 오픈 소스

위장 위치 탐지기 Capacitor 플러그인

가상 GPS 위치를 감지하고 개발자 도구를 사용하여 앱을 위장하는 기능을 제공합니다.

설치

bun add @capgo/capacitor-mock-location-detector bunx cap sync
npm, pnpm 또는 yarn
  • npm install @capgo/capacitor-mock-location-detector
  • pnpm add @capgo/capacitor-mock-location-detector
  • yarn add @capgo/capacitor-mock-location-detector

Guide

Capacitor가 플러그인과 __CAPGO_KEEP_1__를 사용하여 사용자에게 맞춤형 플러그인을 제공합니다.

@capgo/capacitor-mock-location-detector

iOS 및 Android에서 Layered, App Store-safe 체크를 사용하여 가상 GPS 위치를 감지합니다.

설치

bun add @capgo/capacitor-mock-location-detector
bunx cap sync

이 플러그인이 제공하는 것

  • analyze - 모든 체크를 실행하고 점수화된 합성 결과를 반환합니다.
  • runCheck - 하나의 이름이 지정된 감지 층을 실행합니다.
  • getCapabilities - 현재 플랫폼에서 지원되는 체크를 발견합니다.
  • startMonitoring / stopMonitoring - 주기적인 분석과 이벤트.
  • openDeveloperSettings - 개발자 또는 모의 도구를 비활성화하는 사용자에게 안내합니다.

예시 사용

import { MockLocationDetector } from '@capgo/capacitor-mock-location-detector';

const result = await MockLocationDetector.analyze({
  requestLocationSample: true,
  minDetectedChecks: 1,
});

if (result.isSimulated) {
  console.warn('Possible GPS spoofing detected', result.checks);
}

await MockLocationDetector.openDeveloperSettings();

전체 참조

FAQ

Mock 위치 탐지기 플러그인 FAQ

Mock 위치 탐지기 플러그인을 Capacitor 앱에 어떻게 설치하나요?

Run "bun add @capgo/capacitor-mock-location-detector" (or "npm install @capgo/capacitor-mock-location-detector"), then run "bunx cap sync" so the iOS and Android projects pick up the native code. Import it from "@capgo/capacitor-mock-location-detector" in your app code.

@capgo/capacitor-mock-location-detector은 React, Vue 및 Angular와 함께 작동합니까?

Yes. Mock Location Detector는 Capacitor 패키지이므로, Capacitor 내에서 실행되는 모든 웹 프레임워크와 함께 작동합니다. 이에는 Ionic, React, Vue, Angular, Svelte 및 일반 JavaScript도 포함됩니다.

Which Capacitor version does @capgo/capacitor-mock-location-detector support?

Capgo plugins follow Capacitor's major version: use the plugin major version that matches your Capacitor major version (for example plugin v8 with Capacitor 8). The compatibility table in the GitHub README lists the maintained versions.

capgo는 capacitor-mock-location-detector가 무료이며 오픈 소스인가요?

Yes. The source code is public on GitHub at https://github.com/Cap-go/capacitor-mock-location-detector/ and the package is free to install from npm. Bug reports and pull requests are welcome.

애플리케이션 스토어 리뷰 없이 Mock Location Detector를 사용하는 code를 업데이트 할 수 있나요?

플러그인을 설치하거나 업그레이드하면 네이티브 code이 변경되므로, 새로운 스토어 빌드를 필요로 합니다. 그 후에 JavaScript, HTML 및 CSS 변경 사항이 플러그인을 호출하는 경우 Capgo 라이브 업데이트와 함께 즉시 배포할 수 있습니다.

앱 리뷰 기다리지 않고 Mock Location Detector 변경을 배포하세요

플러그인을 스토어 빌드에 추가한 후 Capgo 라이브 업데이트 통해 사용자에게 JavaScript, HTML 및 CSS 변경을 몇 분만에 푸시합니다.

시작하세요 Capgo