iOS 설정
설치 단계와 이 플러그인의 전체 마크다운 가이드를 포함한 설치 명령어를 복사하세요.
필수 조건
필수 조건 섹션- iOS 15 이상을 위한
CLLocationSourceInformation.isSimulatedBySoftware - __CAPGO_KEEP_0__
- 호스트 앱의 위치 권한
실제 GPS 샘플링을 위해 물리 장치가 권장됩니다.
Info.plist<key>NSLocationWhenInUseUsageDescription</key><string>We verify your location has not been spoofed.</string>클립보드에 복사 canOpenURL:
<key>LSApplicationQueriesSchemes</key><array> <string>anyto</string> <string>imyfone-anyto</string> <string>igo</string> <string>igomarkto</string> <string>fakegps</string> <string>mockgps</string> <string>pokeep</string></array>클립보드에 복사 additionalMockAppUrlSchemes.
런타임에 추가 스킴을 전달할 수도 있습니다.
개발자 모드 리얼리티 체크Apple does not provide a public API to read the iOS Developer Mode toggle. This plugin uses indirect heuristics such as debugger attachment and development provisioning indicators. Treat them as risk signals, not proof.
애플은 iOS 개발자 모드 토글을 읽기 위한 공개 __CAPGO_KEEP_0__을 제공하지 않습니다. 이 플러그인은 디버거 연결 및 개발 배포 인디케이터와 같은 간접적 추론을 사용합니다. 그들을 위험 신호로 간주하십시오, 증명은 아닙니다.
예시
예시 제목import { MockLocationDetector } from '@capgo/capacitor-mock-location-detector';
const result = await MockLocationDetector.analyze({ requestLocationSample: true, additionalMockAppUrlSchemes: ['anyto', 'pokeep'],});