__CAPGO_KEEP_0__ - __CAPGO_KEEP_1__ アプリのリアルタイムの更新

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.

AppleはiOS開発者モードの切り替えを読み取るためのパブリックAPIを提供していません。このプラグインは、デバッガのアタッチメントや開発用プロビジョニングの指標を使用して、間接的な推測を行っています。これらはリスクのシグナルとして扱ってください。

開発者モードと補助アプリをApp Store外で配布するアプリを検出するツールは、iMyFone AnyToなどが多くあります。ネイティブのチェックとサーバーサイドの詐欺ルールを組み合わせてください。

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