Hello,
Preamble: When trying to fetch values from remote config, from within Unity editor, I seem to get only default values.
Details:
Now the way I've setup remote config to serve my different env (dev, stage, prod) is to have an app for each env. So I have,
com.company.app.dev, com.company.stage etc. In remote config, I have created conditions so that I have a condition for dev, stage, prod that map to respective apps. Each env has its own json and plist file (since they are separate apps). When making builds to run on device, I have a pre-build phase that copies the appropriate json/plist files to the Assets/StreamingAsset folder and then I do a Firebase.Create with the relevant options from that file.
This seems to work fine on device, but when I try the same with the editor (I change the package name in the project settings to test on different env), the remote config always gives me default values and not the values for the relevant env.
Any ideas what could be going wrong on the editor? I read somewhere that Firebase doesn't support Unity editor fully, but I can't find any documentation which says remote config won't work in editor (at least not conclusively). Is that what's happening here?
Any suggestions as to next steps would be helpful!
Thanks!