🙄

firebaseDistributionでアプリを配布するも、テストできるアプリはありませんと表示される

2024/02/07に公開

背景

react-nativeのandroidをfirebase distributionを使って配布をした際に、今まで配布してダウンロードできていたのに、あるバージョンからダウンロードできなくなる。

ダウンロードするページでは「テストできるアプリはありません」と表示され、リリースが存在しないか、アクセス権がありません。デベロッパーに問い合わせくださいという通知がくる

firebaseに問い合わせすると

Just to give you an insight, one common reason for this issue is that the email invitation was accepted using a different email address.

Let's call the email that the developer sends invitations to and adds to new builds "email A", and the email that the tester logs in with and accepts the invitation "email B". If email A and email B are different, a link is created behind the scenes. Whenever email A is added to new builds, it is actually email B that gains access. It's possible that this is what happened in your case.

If this is the case, then you can fix this via the following steps:
Delete the tester from your "Testers & Groups" tab in the Firebase dashboard. Make sure you are deleting the tester from the "View all testers" tab. This will remove existing invitations.
Re-invite the tester to test your app. They should get an invitation email.

こちらの回答があったので、テスターを削除して、再度招待し直してみます。

実施結果

無事にandroidでもダウンロードできるようになりました。

原因について解説を聞いてみた

To help you understand, one common cause of this issue is that the invitation email was accepted using a different email address.

To further explain, we can refer to the email addresses involved in the process. Let's call the email address that the developer uses to send invitations and add testers to new builds "Email A."  Let's call the email address that the tester uses to log in and accept invitations "Email B." If Email A and Email B are different, a link is created behind the scenes. Whenever the developer adds Email A to new builds, it is actually Email B that gains access. This seems to be the problem in your case, as the issue was resolved when you deleted the tester and registered it again.

Discussion