Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add features to get firebase server env remote config #915

Open
HyeZedd opened this issue Jul 29, 2024 · 4 comments
Open

Add features to get firebase server env remote config #915

HyeZedd opened this issue Jul 29, 2024 · 4 comments
Assignees

Comments

@HyeZedd
Copy link

HyeZedd commented Jul 29, 2024

Describe the feature you would like to see

Currently on firebase remote config have 2 env option which is client & server. Currently cant get remote config from client env only.

@jeromegamez
Copy link
Member

Could you please provide more details? What is a 2 env option? What is meant by client/server?

The best would be a link to the official documentation or relevant code in one of the official SDKs (This is something that the notes when creating a feature request asked already).

@HyeZedd
Copy link
Author

HyeZedd commented Jul 30, 2024

image

as stated in the image above.. firebase have 2 remote config option.. client or server.. right now only can get from the client.. it there any way to get from server.

this are documentation that might help https://firebase.google.com/docs/remote-config/server

@jeromegamez
Copy link
Member

I looked into this a little bit and found that the server template version is a different data structure compared to the client template version, so there's a little more work to do than just copying the get() method to a getServerTemplate().

Also, this addition would require a change to the RemoteConfig interface, so it's possible that I have to hold back on this until the next major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants