Twilio employees should follow these instructions for building and testing the Twilio and Internal build variants.
Download the google-services.json files here:
- Internal Debug (default) - Download to
app/src/internal/debug
- Internal Release - Download to
app/src/internal/release
After copying the above files the internal variant should build with no errors. However, when building the Twilio flavor, the app signing keystore is required. Please reach out to a developer on the team to get access to it.
- Make
Credentials
directory within theapp/src/androidTest/assets
directory. - Copy
TestCredentials.json.example
toTestCredentials.json
within theCredentials
directory and insert correct values foremail_sign_in_user
.
- Android Studio - Right click and run unit tests on package
app/src/androidTest/java/com/twilio/video/app
- Terminal -
./gradlew app:connectedInternalDebugAndroidTest