내용으로 건너뛰기

iOS 설정

GitHub
  • iOS 15 이상 CLLocationSourceInformation.isSimulatedBySoftware
  • 호스트 앱에 위치 권한
  • 실제 GPS 샘플링을위한 물리적 장치가 권장됩니다.
<key>NSLocationWhenInUseUsageDescription</key>
<string>We verify your location has not been spoofed.</string>

개발자 앱을 감지하기 위한 동반 앱의 옵션 URL 스키마 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.

개발자 모드 리얼리티 체크

개발자 모드 리얼리티 체크 섹션

애플은 iOS 개발자 모드 토글의 API를 공개하지 않습니다. 이 플러그인은 디버거 연결 및 개발자 배포 증표와 같은 간접적 추론을 사용합니다. 이를 위험 신호로 간주하십시오.

개발자 모드와 동반 앱을 App Store 외에서 배포하는 도구는 iMyFone AnyTo와 같은 도구가 종종 개발자 모드를 의존합니다. 네이티브 체크와 서버 사이드 위조 규칙을 결합하십시오.

import { MockLocationDetector } from '@capgo/capacitor-mock-location-detector';
const result = await MockLocationDetector.analyze({
requestLocationSample: true,
additionalMockAppUrlSchemes: ['anyto', 'pokeep'],
});