@@ -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