Crashlytics not finding API Key in crashlytics.properties at runtime

后端 未结 2 773
迷失自我
迷失自我 2020-12-16 14:57

I\'m currently implementing the API Key switching script suggested here, except with build types instead of flavors. My build.gradle looks like this:

...
bui         


        
2条回答
  •  青春惊慌失措
    2020-12-16 15:11

    Works fine with:

    # Fabric properties file: app/fabric.properties
    apiSecret=xx68f6074dxxxxxc11dxxx97c172e8ebf0
    apiKey=xxxe76c4xxxx97e8cxxxx0135e9d46f5a2xxx
    

    Add on .gitignore (for open source projects)

    REMOVE entry on AndroidManifest.xml:

    
    

    Oficial documentation: https://docs.fabric.io/android/fabric/settings/working-in-teams.html#android-projects

提交回复
热议问题