StoreRules

ルール · 最小範囲: フォアグラウンドでの位置情報アクセスとロケーションボタン · ロケーションボタンが必要となるのはどのような場合か

Example Implementation (Manifest)

わかりやすく

アプリが正確な位置情報を位置情報ボタン経由でのみ必要とする場合は、onlyForLocationButtonフラグを付けてAndroidManifest.xmlにACCESS_FINE_LOCATIONを宣言する必要があります。

  • ACCESS_FINE_LOCATIONのuses-permission要素に、android:usesPermissionFlags="onlyForLocationButton"属性を使用してください。
  • この宣言は、正確な位置情報がボタン経由でのみ必要な場合に適用されます。
  • 技術的な詳細については、APIのドキュメントをご確認ください。

要約は StoreRules が作成し、公式テキストと照合しています。

公式テキストより

If your app only requires precise location via the button, you must declare it in your AndroidManifest.xml using the onlyForLocationButton attribute: XML | <uses-permission android:name="android.permission.ACCESSFINELOCATION" android:usesPermissionFlags="onlyForLocationButton" / | For technical details, please consult …

公式テキスト全文を読む ↗ StoreRules ライブラリで開く アプリが準拠しているか質問する

変更履歴

StoreRules が追跡を始めてから実質的な変更はありません。

初出: 2026-10-26

この条項に関する開発者の事例

まだ事例はありません。

事例を共有