Skip to content

Conversation

@rathovarun1032
Copy link
Contributor

@rathovarun1032 rathovarun1032 commented Aug 28, 2025

Introduce Server-Side Remote Config SDK API

This change adds a new API to the Firebase Admin SDK for Java. The new API allows developers to fetch, cache, and evaluate Remote Config server templates, addressing the need for a performant, server-side solution for dynamic configuration. It includes new classes like ServerTemplate and ServerConfig, and a feature for Custom Targeting Signals to enable granular user segmentation.

RELEASE NOTES: Added support for configuring Remote Config server applications.

rathovarun1032 and others added 4 commits June 23, 2025 21:09
)009

* Implementation for Fetching and Caching Server Side Remote Config

* implementation of fetch , cache and load of template

---------

Co-authored-by: Varun Rathore <varunrathore@google.com>
Co-authored-by: Athira M <athiramanu@google.com>
* [feat] Implement percent evaluation for server side RC
* Handle empty context

* fix issue related to update time

* fix string equality

* fix textcase

* Fix lint errors

* Add unit tests

* fix for [438426692](getDouble() logs a malformed warning on type conversion failure)

Using getDouble on a string parameter value, returns the appropriate default static value but logs a warning which looks incorrect ("%s" in the warning message?).

* Update ServerTemplateResponse.java to fix b/438607881

In the server template builder flow using cached template, evaluation using custom signals is not working as intended.

* Update getServerRemoteConfig.json to fix b/438607881

* Update getServerTemplateData.json to fix b/438607881

* fix for bugs

* Resolve comment related to revert of ServerVersion Class

* remove serverVersion

* Resolve comments related to Evaluator

* fix indentation

* fix indentation

* fix indentations

* fix multi line indent

* fix multi line indents

* Update ConditionEvaluator.java

* Update ConditionEvaluator.java

---------

Co-authored-by: Athira M <athiramanu@google.com>
Co-authored-by: Varun Rathore <varunrathore@google.com>
Copy link

@nk-1983 nk-1983 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test comment

Copy link

@nk-1983 nk-1983 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have shared some minor comments.

@lahirumaramba lahirumaramba changed the title Server-Side Remote Config feat(rc): Server-Side Remote Config Sep 22, 2025
@lahirumaramba lahirumaramba changed the title feat(rc): Server-Side Remote Config feat(rc): Add support for Server-Side Remote Config Sep 22, 2025
@lahirumaramba lahirumaramba self-assigned this Sep 22, 2025
Copy link
Member

@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few comments. Thanks!

@lahirumaramba lahirumaramba added the release:stage Stage a release candidate label Sep 23, 2025
@rathovarun1032 rathovarun1032 merged commit 026db9f into master Sep 23, 2025
6 checks passed
@lahirumaramba lahirumaramba deleted the ssrc branch September 23, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:stage Stage a release candidate release-note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants