Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 9f8703d

Browse files
Fix tests, again
Who even messed them up, anyway? *looks away* Signed-off-by: androidacy-user <opensource@androidacy.com>
1 parent 46a4bd2 commit 9f8703d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ android {
5959
buildConfigField "boolean", "DEFAULT_ENABLE_CRASH_REPORTING", "true"
6060
// Get the androidacy client ID from the androidacy.properties
6161
Properties properties = new Properties()
62-
// If androidacy.properties doesn't exist, use the default client ID (an empty string
63-
// - won't work, but it's better than failing to build)
62+
// If androidacy.properties doesn't exist, use the default client ID which is heavily
63+
// rate limited to 30 requests per minute
6464
if (project.rootProject.file('androidacy.properties').exists()) {
6565
properties.load(project.rootProject.file('androidacy.properties').newDataInputStream())
6666
} else {
67-
properties.setProperty('client_id', '')
67+
properties.setProperty('client_id', '5KYccdYxWB2RxMq5FTbkWisXi2dS6yFN9R7RVlFCG98FRdz6Mf5ojY2fyJCUlXJZ')
6868
}
6969
buildConfigField("String", "ANDROIDACY_CLIENT_ID", properties.getProperty('client_id'))
7070
// If client ID is empty, disable androidacy
@@ -99,12 +99,12 @@ android {
9999

100100
// Get the androidacy client ID from the androidacy.properties
101101
Properties properties = new Properties()
102-
// If androidacy.properties doesn't exist, use the default client ID (an empty string
103-
// - won't work, but it's better than failing to build)
102+
// If androidacy.properties doesn't exist, use the default client ID which is limited
103+
// to 50 requests per minute
104104
if (project.rootProject.file('androidacy.properties').exists()) {
105105
properties.load(project.rootProject.file('androidacy.properties').newDataInputStream())
106106
} else {
107-
properties.setProperty('client_id', '')
107+
properties.setProperty('client_id', 'dQ1p7X8bF14PVJ7wAU6ORVjPB2IeTinsuAZ8Uos6tQiyUdUyIjSyZSmN54QBbaTy')
108108
}
109109
buildConfigField("String", "ANDROIDACY_CLIENT_ID", properties.getProperty('client_id'))
110110
}

0 commit comments

Comments
 (0)