firebase-android-sdk icon indicating copy to clipboard operation
firebase-android-sdk copied to clipboard

[Remote Config] add useEmulator to Remote Config SDK

Open kroikie opened this issue 2 years ago • 7 comments

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.

kroikie avatar Jun 13 '22 13:06 kroikie

Coverage Report 1

Affected Products

  • firebase-config

    Overall coverage changed from ? (310ce36) to 88.65% (8566718) by ?.

    23 individual files with coverage change

    FilenameBase (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

Notes

  • Commit (8566718) is created by Prow via merging PR base commit (310ce36) and head commit (07dfb09).
  • Run gradle <product>:checkCoverage to produce HTML coverage reports locally. After gradle commands finished, report files can be found under <product-build-dir>/reports/jacoco/.

google-oss-bot avatar Jun 13 '22 13:06 google-oss-bot

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.

google-oss-bot avatar Jun 13 '22 13:06 google-oss-bot

Size Report 1

Affected Products

  • firebase-config

    TypeBase (310ce36)Merge (8566718)Diff
    aar63.3 kB63.8 kB+480 B (+0.8%)
    apk (release)743 kB743 kB+376 B (+0.1%)

Test Logs

Notes

  • Commit (8566718) is created by Prow via merging PR base commit (310ce36) and head commit (07dfb09).

google-oss-bot avatar Jun 13 '22 13:06 google-oss-bot

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.

google-oss-bot avatar Jul 18 '22 15:07 google-oss-bot

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.

google-oss-bot avatar Jul 18 '22 15:07 google-oss-bot

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.

google-oss-bot avatar Jul 18 '22 16:07 google-oss-bot

/test check-changed

jeremyjiang-dev avatar Jul 18 '22 20:07 jeremyjiang-dev