Crashlytics Multi-Flavor Distribution

I have several flavors and distributing them individually using Beta Distribution :

 productFlavors { appOne{ applicationId 'com.example.appOne' manifestPlaceholders = [ appName: "AppOne", fabricApiKey: "AppOne APi Key"] } appTwo{ applicationId 'com.example.appTwo' manifestPlaceholders = [ appName: "AppTwo", fabricApiKey: "AppTwo APi Key"] } 

AndroidManifest:

 <meta-data android:name="io.fabric.ApiKey" android:value="${fabricApiKey}" /> 

I created two different organizations, built flavor based applications, and they were successfully added to the organization. However, the distribution icon is hidden in appOne flavour , working fine for appTwo flavor (as shown below):

Enter a description of the image here.

I also tried the old way (generating fabric.properties while build ) without any success: Link 1 and Link 2 .

Is there a way that I can distribute multiple flavor based applications?

+5
source share
1 answer

I do not know what the reason is, however, by contacting the support team . , she managed to solve it. It looked like the beta distribution was not included without accepting certain conditions (which somehow did not show up in my application).

In any case, they provided me with a link that redirected me to these terms. After accepting them, enable Beta Distribution for both applications.

+1
source

Source: https://habr.com/ru/post/1240355/


All Articles