अपने Android ऐप्लिकेशन में, पासवर्ड के लिए Smart Lock को इंटिग्रेट करना शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अपने ऐप्लिकेशन में, पासवर्ड के लिए स्मार्ट लॉक को इंटिग्रेट करने से पहले, अपने Android Studio प्रोजेक्ट में Play Services SDK टूल चालू करें. अगले चरण में, अपने ऐप्लिकेशन में पासवर्ड के लिए Smart Lock को इंटिग्रेट करने का तरीका बताया गया है.
ज़रूरी शर्तें
Android पर पासवर्ड के लिए Smart Lock की सुविधा इस्तेमाल करने के लिए, ये ज़रूरी हैं:
Android 6.0 या इसके बाद के वर्शन पर काम करने वाला ऐसा Android डिवाइस जिसमें Google Play Store हो या फिर AVD वाला कोई एमुलेटर, जो Android 4.2.2 या इसके बाद के वर्शन पर आधारित Google APIs प्लैटफ़ॉर्म पर काम करता हो. साथ ही, उसमें Google Play services का 15.0.0 या इसके बाद का वर्शन हो.
Android SDK टूल का नया वर्शन, जिसमें SDK टूल कॉम्पोनेंट भी शामिल है.
यह SDK टूल, Android Studio में Android SDK मैनेजर से उपलब्ध है.
Android 6.0 (Marshmallow) या इसके बाद के वर्शन के लिए कॉन्फ़िगर किया गया प्रोजेक्ट.
यह गाइड, Android Studio के उपयोगकर्ताओं के लिए लिखी गई है. यह डेवलपमेंट के लिए सबसे सही प्लैटफ़ॉर्म है.
Android Studio प्रोजेक्ट को कॉन्फ़िगर करना
अपने Android ऐप्लिकेशन में 'पासवर्ड के लिए Smart Lock' को इंटिग्रेट करने के लिए, आपको अपने Android Studio प्रोजेक्ट में Google Play services लाइब्रेरी को इंपोर्ट और रेफ़रंस करना होगा. अपने ऐप्लिकेशन मॉड्यूल में, build.gradle फ़ाइल के dependencies सेक्शन में यह लाइन जोड़ें:
[[["समझने में आसान है","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-12-21 (UTC) को अपडेट किया गया."],[[["Smart Lock for Passwords is deprecated and developers should migrate to Credential Manager for enhanced security and user experience."],["Credential Manager supports passkeys, passwords, and federated identity authentication, offering a more robust and unified approach to user credentials."],["Integrating Smart Lock for Passwords previously required specific Android device and SDK prerequisites, including compatibility with Android 6.0 or newer and Google Play services."],["Developers needed to configure their Android Studio project by adding the Google Play services library dependency to their build.gradle file before using Smart Lock for Passwords."],["Retrieving and utilizing user credentials for sign-in within the app was the next step after project configuration for Smart Lock for Passwords integration."]]],[]]