[Remote Config] add useEmulator to Remote Config SDK
Add useEmulator method to allow Remote Config Emulator usage.
The useEmulator method changes the fetchUrl to point to the emulator. This is inline with useEmulator implementations in other SDKs.
Coverage Report 1
Affected Products
firebase-configOverall coverage changed from ? (310ce36) to 88.65% (8566718) by ?.
23 individual files with coverage change
Filename Base (310ce36) Merge (8566718) Diff Code.java ? 0.00% ? ConfigCacheClient.java ? 93.33% ? ConfigContainer.java ? 92.19% ? ConfigFetchHandler.java ? 96.00% ? ConfigFetchHttpClient.java ? 86.90% ? ConfigGetParameterHandler.java ? 96.45% ? ConfigMetadataClient.java ? 90.11% ? ConfigStorageClient.java ? 100.00% ? DefaultsXmlParser.java ? 0.00% ? FirebaseRemoteConfig.java ? 87.61% ? FirebaseRemoteConfigClientException.java ? 100.00% ? FirebaseRemoteConfigException.java ? 100.00% ? FirebaseRemoteConfigFetchThrottledException.java ? 100.00% ? FirebaseRemoteConfigInfo.java ? 0.00% ? FirebaseRemoteConfigInfoImpl.java ? 100.00% ? FirebaseRemoteConfigServerException.java ? 100.00% ? FirebaseRemoteConfigSettings.java ? 61.54% ? FirebaseRemoteConfigValue.java ? 0.00% ? FirebaseRemoteConfigValueImpl.java ? 84.62% ? Personalization.java ? 91.43% ? RemoteConfigComponent.java ? 96.61% ? RemoteConfigConstants.java ? 0.00% ? RemoteConfigRegistrar.java ? 100.00% ?
Test Logs
- Base (310ce36): https://android-ci.firebaseopensource.com/view/gcs/android-ci/logs/postsubmit-check-coverage/1549091805721530370
- Merge (8566718): https://android-ci.firebaseopensource.com/view/gcs/android-ci/pr-logs/pull/firebase_firebase-android-sdk/3806/check-coverage-changed/1549097594540527617
Notes
- Commit (8566718) is created by Prow via merging PR base commit (310ce36) and head commit (07dfb09).
- Run
gradle <product>:checkCoverageto produce HTML coverage reports locally. After gradle commands finished, report files can be found under<product-build-dir>/reports/jacoco/.
The public api surface has changed for the subproject firebase-config: error: Added method com.google.firebase.remoteconfig.FirebaseRemoteConfig.useEmulator(String,int) [AddedMethod]
Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.
Size Report 1
Affected Products
firebase-configType Base (310ce36) Merge (8566718) Diff aar 63.3 kB 63.8 kB +480 B (+0.8%) apk (release) 743 kB 743 kB +376 B (+0.1%)
Test Logs
- Base (310ce36): https://android-ci.firebaseopensource.com/view/gcs/android-ci/logs/postsubmit-binary-size/1549091805717336068
- Merge (8566718): https://android-ci.firebaseopensource.com/view/gcs/android-ci/pr-logs/pull/firebase_firebase-android-sdk/3806/binary-size/1549097594540527620
Notes
- Commit (8566718) is created by Prow via merging PR base commit (310ce36) and head commit (07dfb09).
The public api surface has changed for the subproject firebase-config: error: Added method com.google.firebase.remoteconfig.FirebaseRemoteConfig.useEmulator(String,int) [AddedMethod]
Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.
The public api surface has changed for the subproject firebase-config: error: Added method com.google.firebase.remoteconfig.FirebaseRemoteConfig.useEmulator(String,int) [AddedMethod]
Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.
The public api surface has changed for the subproject firebase-config: error: Added method com.google.firebase.remoteconfig.FirebaseRemoteConfig.useEmulator(String,int) [AddedMethod]
Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.
/test check-changed