@@ -50,25 +50,27 @@ android {
5050 logger. info(" Using versionName: " + VERSION_NAME )
5151 versionName VERSION_NAME
5252 }
53- else {
54- versionName " 1.0.0-BETA4"
55- }
5653
5754 // buildConfigField "boolean", "DISABLE_SOMETHING", "true"
5855
59- // ICE_USERNAME & ICE_PASSWORD should remain secret and hence are defined in global properties (i.e. only available to project members)
56+ // ICE_USERNAME & ICE_PASSWORD are defined in project gradle.properties, but also overriden in global gradle.properties
57+ // which exists *only* in Telestax builds. Reason for this is that Telestax builds use different settings
58+ // for ICE that are meant for production systems, and which should remain secret (remember that the global gradle.properties
59+ // isn't part of the repo)
6060 if (project. hasProperty(' ICE_USERNAME' ) && project. hasProperty(' ICE_PASSWORD' ) && project. hasProperty(' ICE_DOMAIN' )) {
6161 // Add them as resource values which are available in preferences.xml
6262 resValue " string" , " ICE_USERNAME" , ICE_USERNAME
6363 resValue " string" , " ICE_PASSWORD" , ICE_PASSWORD
6464 resValue " string" , " ICE_DOMAIN" , ICE_DOMAIN
6565 }
66+ /*
6667 else {
6768 // Let's use my personal free xirsys account credentials for community, so that STUN/TURN works out of the box and eases adoption
6869 resValue "string", "ICE_USERNAME", "atsakiridis"
6970 resValue "string", "ICE_PASSWORD", "4e89a09e-bf6f-11e5-a15c-69ffdcc2b8a7"
7071 resValue "string", "ICE_DOMAIN", "cloud.restcomm.com"
7172 }
73+ */
7274
7375 // multiDexEnabled true
7476 // manifestPlaceholders = [HOCKEYAPP_APP_ID: "9f94a735a6f6431ba368e6e0581067a4"]
0 commit comments