コンテンツにスキップ

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を提供していません。このプラグインは、デバッガーのアタッチメントや開発用のプロビジョニングのインジケーターなどの間接的推測を使用します。これらをリスクのシグナルとして扱ってください。

iMyFone AnyToなどのツールは、開発者モードとアプリストア外で配布されるコンプライアンスアプリに依存しています。ネイティブチェックとサーバーサイドの詐欺ルールを組み合わせてください。

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