Skip to content

Commit

Permalink
Fix bugsnag api key access
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Jul 22, 2022
1 parent 814413a commit 203deb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ android {
Properties bugsnagProps = new Properties()
def bugsnagPropsFile = new File(System.properties['user.home'], ".appconfig/${packageName}/bugsnag.properties")
if (bugsnagPropsFile.canRead()) bugsnagProps.load(new FileInputStream(bugsnagPropsFile))
String bugSnagApiKey = System.getenv("KEY_PASSWORD") ?: bugsnagProps.getProperty("bugsnag.apikey", "")
String bugSnagApiKey = System.getenv("BUGSNAG_API_KEY") ?: bugsnagProps.getProperty("bugsnag.apikey", "")

defaultConfig {
applicationId "${packageName}"
Expand Down

0 comments on commit 203deb0

Please sign in to comment.