firebase / firebase-android-sdk

Firebase Android SDK
https://firebase.google.com
Apache License 2.0
2.28k stars 578 forks source link

FirebaseRemoteConfig does not support multiple projects #282

Closed daniellemariani closed 5 years ago

daniellemariani commented 5 years ago

When supporting multiple projects (environments), FirebaseDatabase and FirebaseAuth provide a function getInstance(app) that allows to switch environment, but FirebaseRemoteConfig does not provide that function, it only provides a getInstance().

Version: 16.3.0

Is there a way to switch projects? Is it consider to support getInstance(app) in FirebaseRemoteConfig?

google-oss-bot commented 5 years ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

samtstern commented 5 years ago

Hmm interesting @daniellemariani . This sounds like an SDK issue I will move it over to there for more investigation.

google-oss-bot commented 5 years ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

kroikie commented 5 years ago

@daniellemariani thanks for the feedback on this. This is a know issue on the Remote Config team and they are working to address it and bring it in line with the other SDKs.

daniellemariani commented 5 years ago

Thanks for the heads up.

Do you know what version this feature will be added? @kroikie @samtstern

samtstern commented 5 years ago

@daniellemariani sorry we can't share specific timelines, but it will be included along with some other improvements in an upcoming version.

vkryachko commented 5 years ago

The recent releases of remote config support multiple apps via FirebaseRemoteConfig#getInstance(FirebaseApp)