Firebase ডায়নামিক লিঙ্ক (Android) থেকে দূরে ইমেল লিঙ্ক সাইন ইন মাইগ্রেট করুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ইমেল লিঙ্ক প্রমাণীকরণ আগে Firebase Dynamic Links উপর নির্ভর করত, যা 25 আগস্ট, 2025-এ বন্ধ হয়ে যাবে । আমরা Firebase Authentication Android SDK সংস্করণ 23.2.0+ এবং Firebase BoM সংস্করণ 33.9.0+-এ একটি বিকল্প সমাধান প্রকাশ করেছি। যদি আপনার অ্যাপ পুরানো স্টাইলের লিঙ্কগুলি ব্যবহার করে এবং আপনি আপনার অ্যাপ স্থানান্তর করার জন্য একটি বিকল্প পদ্ধতি ব্যবহার করতে চান, তাহলে নতুন Firebase Hosting ভিত্তিক সিস্টেম ব্যবহার করতে Android-এ ইমেল লিঙ্ক ব্যবহার করে Firebase-এর মাধ্যমে প্রমাণীকরণ দেখুন।
এছাড়াও, আপনি যদি Firebase Authentication সাথে OAuth ফ্লো পরিচালনা করতে v20.0.0 এর নীচের Firebase Authentication Android SDK (বা v26.0.0 এর নীচে Firebase BoM ) ব্যবহার করেন, তাহলে আপনাকে সর্বশেষ Authentication SDK বা BoM সংস্করণে আপডেট করতে হবে ( Authentication v20+ বা 6.0+ ক্রমে চালিয়ে BoM )। Firebase Authentication OAuth প্রবাহ পরিচালনা করা।
Firebase Dynamic Links ডোমেন ব্যবহার করার পরিবর্তে, Firebase Authentication আপনার প্রকল্পের জন্য Firebase Hosting ডিফল্ট ডোমেন ব্যবহার করবে যাতে মোবাইল অ্যাপে ইমেল লিঙ্ক এবং অন্যান্য আউট-অফ-ব্যান্ড লিঙ্ক অ্যাকশনের জন্য লিঙ্ক তৈরি করা যায়। এর মানে হল যে আপনার মোবাইল অ্যাপে ইমেল প্রমাণীকরণ লিঙ্কগুলির জন্য এই ডিফল্ট ডোমেনটিকে সংশ্লিষ্ট ডোমেন হিসাবে ব্যবহার করার জন্য আপনার অ্যাপটিকেও আপডেট করতে হবে।
নতুন ডোমেন থেকে লিঙ্কগুলি পরিচালনা করতে এবং সামনের দিকে মোবাইল অ্যাপ লিঙ্ক তৈরি করতে নতুন ডোমেন ব্যবহার শুরু করার জন্য Firebase Authentication নির্দেশ দিতে নিম্নলিখিত নির্দেশাবলী ব্যবহার করুন৷
আপনি যদি আপনার কাস্টম Firebase Hosting ডোমেন বা এমনকি আপনার কাস্টম Firebase Dynamic Links ডোমেনকে আপনার নতুন যুক্ত ডোমেন হিসাবে ব্যবহার করা চালিয়ে যেতে চান, তাহলে আপনি যে ডোমেনটি ব্যবহার করতে চান তার সাথে মেলে এমন পদক্ষেপগুলি অনুসরণ করুন৷ মনে রাখবেন যে নিম্নলিখিত বিভাগে নির্দেশাবলী সম্পূর্ণ করার পরে, আপনার Firebase Dynamic Links কাস্টম ডোমেনের গভীর লিঙ্কিং বৈশিষ্ট্যটি সরানো হবে; ইমেল লিঙ্ক তৈরি করার জন্য শুধুমাত্র ডোমেন নিজেই থাকবে।
আপনার Firebase Hosting লিঙ্ক পরিচালনা করতে আপনার Android অ্যাপ্লিকেশন কনফিগার করুন
আপনার অ্যান্ড্রয়েড অ্যাপ্লিকেশন থেকে এই লিঙ্কগুলি পরিচালনা করার জন্য, আপনার অ্যাপের প্যাকেজের নাম Firebase কনসোল প্রকল্প সেটিংসে নির্দিষ্ট করা প্রয়োজন৷ এছাড়াও, আবেদনের শংসাপত্রের SHA-1 এবং SHA-256 প্রদান করতে হবে।
আপনি যদি এই Firebase Hosting লিঙ্কগুলিকে একটি নির্দিষ্ট কার্যকলাপে পুনঃনির্দেশ করতে চান, তাহলে আপনাকে আপনার AndroidManifest.xml ফাইলে একটি অভিপ্রায় ফিল্টার কনফিগার করতে হবে। অভিপ্রায় ফিল্টারটি আপনার ডোমেনের Firebase Hosting লিঙ্কগুলিকে ধরতে হবে৷ AndroidManifest.xml এ:
ব্যবহারকারীরা যখন "/__/auth/লিঙ্কগুলি" পাথ এবং আপনার নির্দিষ্ট করে এমন স্কিম এবং হোস্টের সাথে একটি হোস্টিং লিঙ্ক খোলেন, আপনার অ্যাপ্লিকেশনটি লিঙ্কটি পরিচালনা করতে এই অভিপ্রায় ফিল্টার দিয়ে ক্রিয়াকলাপটি শুরু করবে।
নতুন লিঙ্ক ব্যবহার করার জন্য আপনার প্রকল্প কনফিগার করুন
আপনি যখন নতুন ডোমেন লিঙ্কগুলি পরিচালনা করতে প্রস্তুত হন, তখন আপনি কীভাবে ইমেল লিঙ্কগুলি তৈরি করতে চান তা আপডেট করতে Firebase অ্যাডমিন SDK ব্যবহার করতে পারেন এবং নতুন Firebase Hosting ডোমেন ব্যবহার করে লিঙ্ক তৈরি করা শুরু করার জন্য আমাদের ব্যাকএন্ডকে নির্দেশ দিতে পারেন।
constupdateRequest={mobileLinksConfig:{domain:'HOSTING_DOMAIN'}}constupdateProjectConfig=()=>{projectConfigManager.updateProjectConfig(updateRequest).then((response)=>{// updated project config}).catch((error)=>{console.log('Error updating the project:',error);});}
ইমেল লিঙ্ক পাঠান এবং খালাস
আগের মত ইমেইল সাইন-ইন লিঙ্ক পাঠান। যখন শেষ ব্যবহারকারী লিঙ্কটিতে ক্লিক করেন, সাইন-ইন সম্পূর্ণ করতে ইনস্টল করা থাকলে তাদের অ্যাপে পুনঃনির্দেশিত করা হবে।
আপনার মোবাইল লিঙ্ক কাস্টমাইজ করুন
আপনি একটি কাস্টম Firebase Hosting ডোমেন ব্যবহার করতে পারেন বা আপনার নতুন মোবাইল লিঙ্ক ডোমেন হতে আপনার কাস্টম Firebase Dynamic Links ডোমেন পুনরায় ব্যবহার করতে পারেন।
আপনার কাস্টম Firebase Dynamic Links ডোমেন পুনরায় ব্যবহার করুন
আপনি আপনার কাস্টম ডোমেন হিসাবে আপনার Firebase Dynamic Links ডোমেনগুলির যেকোনো একটি পুনরায় ব্যবহার করতে পারেন। যাইহোক, যেকোনও Firebase Dynamic Links কার্যকারিতা আর সমর্থিত হবে না (উদাহরণস্বরূপ, ব্যবহারকারীরা তাদের ডিভাইসে অ্যাপ ইনস্টল না থাকলে অ্যাপ স্টোরে রিডাইরেক্ট করা যাবে না)।
আপনার Firebase Hosting লিঙ্ক পরিচালনা করতে আপনার অ্যান্ড্রয়েড অ্যাপ্লিকেশন কনফিগার করুন (উপরের পূর্ববর্তী বিভাগে নির্দেশাবলী)।
[[["সহজে বোঝা যায়","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"]],["2025-08-15 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["Email link authentication previously relied on Firebase Dynamic Links, which will be\n[shut down on August 25, 2025](/support/dynamic-links-faq). We've published an\nalternative solution in the Firebase Authentication Android SDK version 23.2.0+ and\nFirebase BoM version 33.9.0+. If your app uses the old style links and you\nwant to use an alternative method for migrating your app, see\n[Authenticate with Firebase using Email Link in Android](/docs/auth/android/email-link-auth)\nto use the new Firebase Hosting based system.\n\nAlso, if you're using the **Firebase Authentication Android SDK below v20.0.0 (or the\nFirebase BoM below v26.0.0) to manage OAuth flows** with Firebase Authentication,\nyou'll need to update to the latest Authentication SDK or BoM version\n(Authentication v20.0.0+ or BoM v26.0.0+) in order to continue managing OAuth\nflows in Firebase Authentication.\n\nMigrate your associated Firebase Dynamic Links domain to a Firebase Hosting domain\n\nMoving forward, rather than using a Firebase Dynamic Links domain, Firebase Authentication\nwill use the Firebase Hosting default domain for your project to create\nlinks for email link and other out-of-band link actions in mobile apps. This\nmeans that your app will also need to be updated to use this default domain as\nthe associated domain for email authentication links to your mobile app.\n\nYou can follow the instructions in\n[Authenticate with Firebase Using Email Link in Android](/docs/auth/android/email-link-auth) to update your mobile app links\nto use the new automatically provisioned Firebase Hosting default domain.\n\nUse the following instructions to handle links from the new domain and to\ninstruct Firebase Authentication to start using the new domain to generate mobile app\nlinks going forward.\n\nIf you'd like to continue using any of your custom Firebase Hosting domains\nor even your custom Firebase Dynamic Links domain to be your new associated\ndomain, follow the steps that match the intended domain you'd like to use. Note\nthat after completing the instructions in the following section, the deep\nlinking feature on your Firebase Dynamic Links custom domain will be removed;\nonly the domain itself will remain for creating email links.\n\n1. **Configure your Android application to handle your Firebase Hosting link**\n\n 1. In order to handle these links from your Android application, your app's package name needs to be specified in the Firebase console project settings. In addition, the SHA-1 and SHA-256 of the application certificate need to be provided.\n 2. If you want these Firebase Hosting links to redirect to a specific\n activity, you will need to configure an intent filter in your\n `AndroidManifest.xml` file. The intent filter should catch\n Firebase Hosting links of your domain. In `AndroidManifest.xml`:\n\n \u003cintent-filter android:autoVerify=\"true\"\u003e\n \u003caction android:name=\"android.intent.action.VIEW\" /\u003e\n \u003ccategory android:name=\"android.intent.category.BROWSABLE\" /\u003e\n \u003ccategory android:name=\"android.intent.category.DEFAULT\" /\u003e\n \u003cdata\n android:scheme=\"https\"\n android:host=\"PROJECT_ID.firebaseapp.com or a custom hosting domain\"\n android:pathPrefix=\"/__/auth/links\" /\u003e\n \u003c/intent-filter\u003e\n\n When users open a hosting link with the \"/__/auth/links\" path and the\n scheme and host you specify, your app will start the activity with this\n intent filter to handle the link.\n | **Important:** To ensure a seamless rollback, we recommend keeping your existing intent filter that handles Firebase Dynamic Links while trying out the Firebase Hosting link solution. The Firebase Dynamic Links solution will be available until August 25, 2025.\n2. **Configure your project to use the new links**\n\n When you're ready to handle the new domain links, you can use the\n [Firebase Admin SDK](/docs/admin/setup) to update how you want email links\n to be generated and instruct our backend to start generating links using\n the new Firebase Hosting domain. \n\n const updateRequest = {\n mobileLinksConfig: {\n domain: 'HOSTING_DOMAIN'\n }\n }\n const updateProjectConfig = () =\u003e {\n projectConfigManager.updateProjectConfig(updateRequest)\n .then((response) =\u003e {\n // updated project config\n }).catch((error) =\u003e {\n console.log('Error updating the project:', error);\n });\n }\n\n | **Important:** To rollback to the Firebase Dynamic Links while implementing and testing the backup solution, you should set the domain back to `FIREBASE_DYNAMIC_LINK`. The Firebase Dynamic Links solution will be available until August 25, 2025.\n3. **Send and redeem the email link**\n\n Send the email sign-in link as before. When the end user clicks the link,\n they will be redirected to the app if installed to complete the sign-in.\n\nCustomize your mobile links\n\nYou can use a custom Firebase Hosting domain or reuse your custom\nFirebase Dynamic Links domain to be your new mobile links domain.\n\nUse a custom Firebase Hosting domain\n\n1. Follow the [Firebase Hosting guide](/docs/hosting/custom-domain) to set up a custom domain.\n2. Configure your Android application to handle your Firebase Hosting link. (instructions in previous section above).\n3. [Send an authentication link to the user's email\n address](/docs/auth/android/email-link-auth#send_an_authentication_link_to_the_users_email_address) with an updated `ActionCodeSettings` object with a custom domain as `linkDomain`.\n\nRe-use your custom Firebase Dynamic Links domain\n\n1. You can re-use any of your Firebase Dynamic Links domains as your custom domain. However, any Firebase Dynamic Links functionality will no longer be supported (for example, users cannot be redirected to an app store if the app isn't installed on their device).\n2. Configure your Android application to handle your Firebase Hosting link (instructions in previous section above).\n3. [Send an authentication link to the user's email\n address](/docs/auth/android/email-link-auth#send_an_authentication_link_to_the_users_email_address) with an updated `ActionCodeSettings` object with a custom domain as `linkDomain`."]]