mardi 3 janvier 2017

Firebase Crash reportign for alpha & beta

I'm finishing my first android app but I want to start with an Alpha & Beta test in the playstore. This is how I have my firebase setup

  • 1 Firebase Project:
    • 4 Firebase Android apps:
      • 1 with package name com.myapp.appname.alpha
      • 1 with package name com.myapp.appname.beta
      • 1 with package name com.myapp.appname
      • 1 with package name com.myapp.appname.dev

I have done it this way so the release & dev crash reports are separated. I thought, I do the same thing for alpha & beta. But apparently I can't upload an alpha & beta & release with different package names.

After I saw that this doesn't work I tried to change some thing to identify different builttypes like this. (still no solution to my problem)

buildTypes {
    release {
        resValue 'string', 'packagename', 'com.myapp.appname'
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }

    debug {
        resValue 'string', 'packagename', 'com.myapp.appname.dev'
        versionNameSuffix '-DEV'
        applicationIdSuffix ".dev"
    }

    beta {
        resValue 'string', 'packagename', 'com.myapp.appname.beta'
        versionNameSuffix '-BETA'
    }

    alpha {
        resValue 'string', 'packagename', 'com.myapp.appname.alpha'
        versionNameSuffix '-ALPHA'
    }
}

So my question is how can I receive the crash reports of the alpha & beta buildtype in another firebase Android app?

Aucun commentaire:

Enregistrer un commentaire