Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crashlytics distribution with multiple flavors

I have multiple flavors and trying to distribute them separately 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 have created two different organizations, built apps based on flavor and they are successfully added to the organizations. However distribution icon is being hidden in appOne flavour while working fine for appTwo flavor (as shown below):

Enter image description here

I have 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 apps based on flavor?

like image 254
hrskrs Avatar asked Jan 11 '16 15:01

hrskrs


1 Answers

I don't know what was the reason, however, contacting the fabric support team managed to solve it. It looked liked somehow the beta distribution was not being enabled without accepting some terms (which somehow was not being shown on my app).

Anyway, they provided me a link which redirected me to those terms. Accepting them enabled Beta Distribution for both of the apps.

like image 153
hrskrs Avatar answered Oct 22 '22 17:10

hrskrs