Google Wallet API には Android SDK が用意されており、これを使用すると
ネイティブ コードを使用して、Android アプリで直接 Google ウォレットの機能を利用できます。
Google ウォレット Android SDK を使用するには、アプリのパッケージ名を指定する必要があります。
Android アプリ、アプリ署名証明書の SHA-1 フィンガープリントが含まれています。これらの認証情報は
アプリの公開アクセスを承認し、リクエストを認証するために使用します。
Google Wallet API に送信されます。
1. 署名証明書の SHA-1 フィンガープリントを取得する
署名証明書の SHA-1 フィンガープリントを取得するには、
次のいずれかを使用して取得する方法については、Google Play 開発者サービスのドキュメントを参照してください。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-09-05 UTC。"],[[["The Google Wallet API offers an Android SDK for native app integration of Google Wallet features."],["You need your app's package name and SHA-1 fingerprint for authorization and authentication."],["Authorize your app in the Google Wallet console by providing your app's package name and SHA-1 fingerprint."]]],["The Google Wallet Android SDK requires app authorization using the app's package name and SHA-1 fingerprint. Retrieve the fingerprint via `keytool` or Gradle. Then, in the Google Pay & Wallet console, navigate to the 'Google Wallet API' section, and under 'App Permissions,' add your app details, including the package name and the obtained SHA-1 fingerprint. This process authorizes the app to use the Google Wallet API.\n"]]