Firebase CLI ব্যবহার করে পরীক্ষকদের কাছে iOS অ্যাপ বিতরণ করুন

You can distribute builds to testers using the Firebase CLI. The CLI tool lets you specify testers and release notes for a build, and distributes the build accordingly.

To distribute your app to testers, upload the IPA file using the Firebase CLI:

  1. Firebase CLI- এর সর্বশেষ সংস্করণটি ইনস্টল বা আপডেট করুন (আমরা আপনার OS-এর জন্য নির্দিষ্ট CLI-এর স্বতন্ত্র বাইনারিটি ডাউনলোড করার পরামর্শ দিই)। সাইন ইন করে নিশ্চিত হন যে আপনি আপনার প্রোজেক্টগুলো অ্যাক্সেস করতে পারছেন।
  2. Run the appdistribution:distribute command to upload your app and distribute it to testers. Use the following parameters to configure the distribution:

    অ্যাপডিস্ট্রিবিউশন:বিতরণ বিকল্প
    --app

    Required : Your app's Firebase App ID. You can find the App ID in the Firebase console, on the General Settings page .

    --app 1:1234567890:ios:0a1b2c3d4e5f67890
    --token

    A refresh token that's printed when you authenticate your CI environment with the Firebase CLI (read Use the CLI with CI systems for more information).

    --token "$FIREBASE_TOKEN"
    --release-notes
    --release-notes-file

    এই বিল্ডের রিলিজ নোট।

    You can either specify the release notes directly:

    --release-notes "Text of release notes"

    অথবা, একটি প্লেইন টেক্সট ফাইলের পাথ নির্দিষ্ট করুন:

    --release-notes-file "/path/to/release-notes.txt"
    --testers
    --testers-file

    The email addresses of the testers you want to invite.

    You can specify the testers as a comma-separated list of email addresses:

    --testers "ali@example.com, bri@example.com, cal@example.com"

    Or, you can specify the path to a plain text file containing a comma-separated list of email addresses:

    --testers-file "/path/to/testers.txt"
    --groups
    --groups-file

    The tester groups you want to invite (refer to Manage testers ). Groups are specified using গ্রুপ উপনাম যা আপনি Firebase কনসোলে খুঁজে দেখতে পারেন।

    You can specify the groups as a comma-separated list:

    --groups "qa-team, trusted-testers"

    Or, you can specify the path to a plain text file containing a comma-separated list of group names:

    --groups-file "/path/to/groups.txt"
    --debug

    A flag you can include to print verbose log output.

    --test-devices
    --test-devices-file

    যে টেস্ট ডিভাইসগুলোতে আপনি অ্যাপ টেস্টিং এজেন্ট টেস্টগুলো চালাতে চান।

    You can specify the test devices as a semicolon-separated list of device specifications:

    --test-devices: "model=shiba,version=34,locale=en,orientation=portrait"

    Or, you can specify the path to a plain text file containing a semicolon-separated list of test devices:

    --test-devices-file: "/path/to/test-devices.txt"
    --test-username

    The username for automatic login to be used during App Testing agent tests.

    --test-password
    --test-password-file

    The password for automatic login to be used during App Testing agent tests.

    Or, you can specify the path to a plain text file containing a password:

    --test-password-file: "/path/to/test-password.txt"
    --test-username-resource

    Resource name for the username field for automatic login to be used during App Testing agent tests.

    --test-password-resource

    Resource name for the password field for automatic login to be used during App Testing agent tests.

    --test-non-blocking

    অ্যাপ টেস্টিং এজেন্ট টেস্ট চালানোর সময় যদি এটি সেট করা থাকে, তাহলে কমান্ডটি টেস্টগুলো শুরু করবে এবং সেগুলো সম্পূর্ণ হওয়ার জন্য অপেক্ষা না করে সাথে সাথেই রিটার্ন করবে। টেস্টের ফলাফল দেখতে, ফায়ারবেস কনসোলে যান। যদি এই ফ্ল্যাগটি সেট করা না থাকে, তাহলে টেস্টগুলো সম্পূর্ণ না হওয়া পর্যন্ত কমান্ডটি ব্লক হয়ে থাকবে এবং কোনো টেস্ট ব্যর্থ হলে একটি ফেইলর কোড দিয়ে এক্সিট করবে।

    উদাহরণস্বরূপ:

    firebase appdistribution:distribute test.ipa  \
        --app 1:1234567890:ios:0a1b2c3d4e5f67890  \
        --release-notes "Bug fixes and improvements" --testers-file testers.txt

    The Firebase CLI outputs the following links after the release upload. These links help you manage binaries and ensure that testers and other developers have the right release:

    • firebase_console_uri - A link to the Firebase console displaying a single release. You can share this link with other developers in your org.
    • testing_uri - টেস্টার এক্সপেরিয়েন্সে (iOS ওয়েব ক্লিপ) থাকা রিলিজটির একটি লিঙ্ক, যা টেস্টারদের রিলিজ নোট দেখতে এবং তাদের ডিভাইসে অ্যাপটি ইনস্টল করতে দেয়। লিঙ্কটি ব্যবহার করার জন্য টেস্টারের রিলিজটিতে অ্যাক্সেস থাকা প্রয়োজন।
    • binary_download_uri - A signed link that directly downloads and installs the app binary (IPA file) . The link expires after one hour.

    পরীক্ষক এবং গ্রুপ পরিচালনা করুন

    রিলিজ বিতরণের পাশাপাশি, আপনি আপনার Firebase প্রজেক্ট থেকে নতুন টেস্টারদের আমন্ত্রণ জানাতে বা বিদ্যমান টেস্টারদের সরিয়ে দিতে appdistribution:testers:add এবং appdistribution:testers:remove ব্যবহার করতে পারেন।

    আপনার ফায়ারবেস প্রজেক্টে একবার কোনো পরীক্ষককে যুক্ত করা হলে, আপনি তাদেরকে স্বতন্ত্র রিলিজগুলোতে যুক্ত করতে পারবেন। আপনি কোনো পরীক্ষককে সরিয়ে দিলে, আপনার প্রজেক্টের রিলিজগুলোতে তাদের আর অ্যাক্সেস থাকবে না। মনে রাখবেন যে, সম্প্রতি সরানো পরীক্ষকরা একটি নির্দিষ্ট সময়ের জন্য আপনার রিলিজগুলোতে অ্যাক্সেস ধরে রাখতে পারেন।

    উদাহরণস্বরূপ:

    firebase appdistribution:testers:add anothertester@email.com moretesters@email.com
    
    firebase appdistribution:testers:remove anothertester@email.com moretesters@email.com

    Tester emails must be separated by a space. You can also specify testers using --file /path/to/testers.txt .

    আপনার পরীক্ষকের সংখ্যা বেশি হলে গ্রুপ ব্যবহার করার কথা ভাবতে পারেন: আপনার Firebase প্রজেক্টে গ্রুপ তৈরি বা মুছে ফেলার জন্য আপনি appdistribution:group:create এবং appdistribution:group:delete ব্যবহার করতে পারেন।

    Use --group-alias to specify a group for the appdistribution:testers:add and appdistribution:testers:remove commands.

    উদাহরণস্বরূপ:

    firebase appdistribution:group:create "QA team" qa-team
    
    firebase appdistribution:testers:add --group-alias=qa-team anothertester@email.com moretesters@email.com
    
    firebase appdistribution:testers:remove --group-alias=qa-team anothertester@email.com moretesters@email.com
    
    firebase appdistribution:group:delete qa-team

একবার আপনি আপনার বিল্ড ডিস্ট্রিবিউট করলে, এটি Firebase কনসোলের App Distribution ড্যাশবোর্ডে ১৫০ দিনের (পাঁচ মাস) জন্য উপলব্ধ থাকে। বিল্ডটির মেয়াদ শেষ হওয়ার ৩০ দিন আগে, কনসোল এবং আপনার পরীক্ষকের টেস্ট ডিভাইসে থাকা বিল্ডের তালিকায় একটি মেয়াদ শেষ হওয়ার বিজ্ঞপ্তি প্রদর্শিত হয়।

যেসব পরীক্ষককে অ্যাপটি পরীক্ষা করার জন্য আমন্ত্রণ জানানো হয়নি, তারা কাজ শুরু করার জন্য ইমেল আমন্ত্রণ পান এবং বিদ্যমান পরীক্ষকরা একটি নতুন বিল্ড পরীক্ষার জন্য প্রস্তুত হলে ইমেল বিজ্ঞপ্তি পান। টেস্ট অ্যাপটি কীভাবে ইনস্টল করতে হয় তা জানতে, ‘একজন পরীক্ষক হিসেবে সেট আপ করুন’ দেখুন। আপনি Firebase কনসোলে প্রতিটি পরীক্ষকের অবস্থা—তারা আমন্ত্রণ গ্রহণ করেছে কিনা এবং তারা অ্যাপটি ডাউনলোড করেছে কিনা—পর্যবেক্ষণ করতে পারেন।

অ্যাপটি পরীক্ষা করার জন্য একটি আমন্ত্রণ গ্রহণ করার জন্য পরীক্ষকদের ৩০ দিন সময় থাকে, এরপর আমন্ত্রণটির মেয়াদ শেষ হয়ে যায়। যখন কোনো আমন্ত্রণের মেয়াদ শেষ হতে ৫ দিন বাকি থাকে, তখন রিলিজের সময় Firebase কনসোলে পরীক্ষকের পাশে একটি মেয়াদ শেষের বিজ্ঞপ্তি দেখা যায়। পরীক্ষকের সারিতে থাকা ড্রপ-ডাউন মেনু ব্যবহার করে আমন্ত্রণটি পুনরায় পাঠিয়ে নবায়ন করা যেতে পারে।

পরবর্তী পদক্ষেপ