הרשאת יישום Android שלך עבור ה-SDK של Google Wallet ל-Android
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ממשק Google Wallet API מספק SDK ל-Android כדי להקל עליכם לשלב את היכולות של Google Wallet ישירות באפליקציות Android באמצעות קוד נייטיב.
כדי להשתמש ב-Android SDK של Google Wallet, עליך לספק את שם החבילה של אפליקציית Android שלך, ואת טביעת האצבע מסוג SHA-1 של אישור חתימת האפליקציה. פרטי הכניסה האלה משמשים לאישור גישה לפרסום של האפליקציה ולאימות בקשות שנשלחו מהאפליקציה ל-Google Wallet API.
1. קבלת טביעת האצבע מסוג SHA-1 של אישור החתימה
כדי לקבל את טביעת האצבע מסוג SHA-1 של אישור החתימה, פועלים לפי ההוראות במסמכי התיעוד של Google Play Services כדי לאחזר אותה באמצעות אחת מהאפשרויות הבאות:
[[["התוכן קל להבנה","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-08-13 (שעון 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 by providing these credentials in the Google Wallet console under 'Additional features' \u003e 'App Permissions'."]]],["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"]]