এই ডকুমেন্টটি একটি CI/CD পরিবেশে আপনার Apple প্ল্যাটফর্মের প্রি-রিলিজ টেস্টিং ওয়ার্কফ্লোকে টেকসই এবং পুনরাবৃত্তিযোগ্য করে তোলার জন্য Firebase App Distribution এবং fastlane ব্যবহারের সেরা পদ্ধতিগুলো তুলে ধরে। যদিও এই ডকুমেন্টটি fastlane-এর উপর আলোকপাত করে, আমরা আপনাকে আরও বেশি নমনীয়তা দেওয়ার জন্য Firebase কনসোল, Firebase CLI, এবং পাবলিক Firebase App Distribution API-এর মাধ্যমে উপলব্ধ সমাধানগুলোও বর্ণনা করেছি। আমরা রিলিজ এবং পরীক্ষকের সীমাবদ্ধতাগুলোও বর্ণনা করেছি, যাতে আপনি একটি সর্বোত্তম অভিজ্ঞতার জন্য আগে থেকেই পরিকল্পনা করতে পারেন।
আপনিও যদি অ্যান্ড্রয়েড ব্যবহার করেন, তাহলে CI/CD ব্যবহার করে QA পরীক্ষকদের কাছে অ্যান্ড্রয়েড অ্যাপ বিতরণের সেরা পদ্ধতিগুলো দেখুন।
শুরু করার আগে
Before you implement the best practices in this document, be sure to enable App Distribution in the Firebase console for each app . If you haven't enabled App Distribution , you'll get a 404 error.
App Distribution চালু করতে, এই ধাপগুলো অনুসরণ করুন:
Firebase কনসোলে App Distribution পেজটি খুলুন।
আপনার iOS অ্যাপটি নির্বাচন করুন।
শুরু করতে ক্লিক করুন।
CI/CD ব্যবহার করে আপনার প্রি-রিলিজ টেস্টিং ওয়ার্কফ্লো স্বয়ংক্রিয় করুন
If you want to automate building and releasing apps to your testers and you're using CI/CD, we recommend that you use fastlane . Another option is to use the Firebase CLI, which lets you access a wide array of Firebase products.
ফাস্টলেন ব্যবহার করুন
Integrate App Distribution into your CI/CD pipeline using fastlane, an open source tool that automates building and releasing iOS and Android apps. By building and distributing your latest releases to testers automatically, you ensure testers always have the most up-to-date test version of your app.
ফাস্টলেনের সাথে App Distribution কীভাবে ইন্টিগ্রেট করতে হয় তা জানতে, “ফাস্টলেন ব্যবহার করে পরীক্ষকদের কাছে iOS অ্যাপ বিতরণ করুন” দেখুন। এছাড়াও একটি কোডল্যাব দেখুন যা আপনাকে ফাস্টলেন ইন্টিগ্রেশন প্রক্রিয়াটি ধাপে ধাপে দেখিয়ে দেবে।
Firebase সিএলআই ব্যবহার করুন
App Distribution প্রদত্ত Firebase সিএলআই টুলস ব্যবহার করে প্রোগ্রাম্যাটিকভাবে পরীক্ষকদের কাছে বিল্ড বিতরণ করুন। আপনি একটি বিল্ডের জন্য পরীক্ষক এবং রিলিজ নোট নির্দিষ্ট করতে পারেন।
অ্যাপটির Firebase App ID উল্লেখ করে আপনার সর্বশেষ iOS বিল্ড test.ipa বিতরণ করুন, সাথে ঐচ্ছিকভাবে একটি রিলিজ নোট এবং পরীক্ষকদের ইমেল সম্বলিত একটি ফাইল যোগ করতে পারেন:
firebase appdistribution:distribute test.ipa \ --app 1:1234567890:ios:0a1b2c3d4e5f67890 \ --release-notes "Bug fixes and improvements" --testers-file testers.txt
আপনার বিল্ডগুলি স্বয়ংক্রিয় করতে Firebase CLI ব্যবহারের বিষয়ে আরও জানতে, Firebase CLI ব্যবহার করে পরীক্ষকদের কাছে iOS অ্যাপ বিতরণ করুন” দেখুন।
প্রমাণীকরণের জন্য পরিষেবা পরিচয়পত্র ব্যবহার করুন
সার্ভিস অ্যাকাউন্টের সাথে App Distribution ফাস্টলেন প্লাগইন অথবা Firebase সিএলআই ব্যবহার করুন, যা অ্যাপ্লিকেশন ডিফল্ট ক্রেডেনশিয়ালস -এর সুবিধা নেয় এবং আপনাকে আপনার সিআই (CI) পরিচালনা করতে সাহায্য করে। সার্ভিস অ্যাকাউন্ট হলো এক ধরনের গুগল অ্যাকাউন্ট যা ব্যবহারকারীদের পরিবর্তে অ্যাপ্লিকেশনগুলোর প্রতিনিধিত্ব করে। আপনার সিআই সিস্টেম আপনার App Distribution ওয়ার্কলোডগুলো চালানোর জন্য সার্ভিস অ্যাকাউন্ট ব্যবহার করতে পারে। আরও জানতে, ‘একটি সার্ভিস অ্যাকাউন্ট দিয়ে প্রমাণীকরণ’ দেখুন।
আপনি যদি ওয়ার্কলোড আইডেন্টিটি ফেডারেশন ব্যবহার করেন, তাহলে সার্ভিস অ্যাকাউন্ট কী-এর পরিবর্তে একটি ক্রেডেনশিয়াল কনফিগারেশন ফাইল তৈরি ও ব্যবহার করতে পারেন।
মুক্তির সীমা মনে রাখবেন
App Distribution supports a maximum of 1,000 releases per app. This means that when you exceed the release limit, App Distribution automatically deletes the oldest releases above the limit. To learn how to manage release limits, see How long are app releases available?
একাধিক রিলিজে একই পরীক্ষক দলকে যুক্ত করুন
আপনি যদি আপনার রিলিজগুলোতে বিপুল সংখ্যক পরীক্ষক যুক্ত করতে চান, তাহলে App Distribution -এর বাল্ক টেস্টার ম্যানেজমেন্ট কার্যকারিতা ব্যবহার করুন।
We recommend that you use groups to add the same testers to multiple releases. A group acts as an access control list; when you remove a tester from a group, they lose access to all of the releases distributed to that group. To learn more, see Add and remove testers from a group .
If you have a lot of testers to manage, you can bulk add and delete testers using the Firebase console. To automate adding and removing testers, use the Firebase CLI , fastlane , or the public Firebase App Distribution API .
পরীক্ষকের সীমাবদ্ধতা মনে রাখবেন
App Distribution limits the number of testers you can add to a Firebase project or an App Distribution group. When you exceed these limits, you won't be able to distribute your app to additional testers. To learn more about tester limits, see Are there limits for adding testers to my app?
নতুন iOS পরীক্ষক ডিভাইসগুলি পরিচালনা করুন এবং স্বয়ংক্রিয়ভাবে যুক্ত করুন
To help you register additional iOS tester devices, App Distribution helps you manage your iOS tester devices in the Apple Developer Portal by informing you about new tester iOS devices via email or CSV files. To learn more, see Import testers from CSV files . You can also programmatically export new devices using fastlane .
To learn how to set up a fastlane action that automatically pulls down UDIDs, adds them to the Apple developer console, and then rebuilds the app and distributes it, see Distribute your pre-release iOS builds faster with App Distribution and fastlane .
সম্ভাব্য পরীক্ষার্থীদের পরীক্ষার জন্য স্ব-নিবন্ধনের সুযোগ দিন।
To make it easier to distribute your app to more testers, we recommend that you use invite links. An invite link is a unique URL that lets testers enter their email addresses to sign up to test an app. Enabling users to add themselves to your list of app testers is a seamless way to increase your internal testing base.
ইনভাইট লিঙ্কের ব্যবহারগুলোর মধ্যে রয়েছে কোম্পানির ডগফুড প্রোগ্রাম, বড় QA টিমযুক্ত প্রতিষ্ঠান এবং এমন ডেভেলপার গ্রুপ যারা চায় যেন প্রত্যেক ক্লায়েন্ট টেস্টারের অ্যাক্সেস নিয়ন্ত্রণ করতে পারে।
আমরা একটি গ্রুপের জন্য একটি আমন্ত্রণ লিঙ্ক তৈরি করার পরামর্শ দিই। যে কোনো পরীক্ষক যিনি আমন্ত্রণ লিঙ্কটি ব্যবহার করে সাইন আপ করবেন, তিনি স্বয়ংক্রিয়ভাবে পরবর্তী রিলিজগুলিতে যুক্ত হয়ে যাবেন।
আরও জানতে, আমন্ত্রণ লিঙ্ক তৈরি করুন এবং একটি গ্রুপ থেকে পরীক্ষক যোগ ও অপসারণ করুন দেখুন।
নিশ্চিত করুন যে পরীক্ষকরা আপনার কাঙ্ক্ষিত সংস্করণটিই পরীক্ষা করছেন।
When a new version is uploaded, your testers are notified by email. To supplement this notification, you can use the following features – release links and in-app alerts – to make sure that your testers are testing the specific app version you care about:
Release links: Use this feature when you want to share a specific version with testers. To learn how to use release links, see Distribute iOS apps to testers using the Firebase console . These links are also available with our Firebase and fastlane command-line (CLI) tools for use with your build automation tools.
In-app alerts: Use these alerts when you want to ensure that your testers are testing the latest version of your app. By integrating the Firebase App Distribution iOS SDK, you can display alerts directly inside the app to your testers when new builds of your app are available. To learn how to add in-app alerts, see Notify testers about new builds .
যেসব পরীক্ষক কোম্পানি ছেড়ে চলে যান, তাদের অ্যাক্সেস স্বয়ংক্রিয়ভাবে বাতিল করুন।
Once your CI/CD internal testing flow is up and running, you need to make sure that people who leave the company no longer have access to your internal builds. To help you manage tester access to builds, App Distribution provides the following options:
fastlane: আপনার Fastfile ফাইল ব্যবহার করুন অথবা সরাসরি fastlane অ্যাকশনগুলো চালান। fastlane ব্যবহার করে টেস্টারদের অপসারণ করার বিষয়ে আরও জানতে, "distribute iOS apps to testers using fastlane" দেখুন।
পাবলিক ফায়ারবেস App Distribution এপিআই :
testers.batchRemoveএন্ডপয়েন্টটি ব্যবহার করুন।