Not working Android

Cant fetch value on android device is this because Android now requires https and Remote Config is using http ?

Thats prob not it I switched to Remote Settings and same result I get value in editor, but not on Android devices, my other project that uses Remote Settings works fine ??

@dayjur is the build you made a development build? If it’s not marked as a development build in the build settings window, the game will pull down configs from the Release environment, while in the editor or development builds pull down the configs from the development environment.

You nailed it rambod I simply overlooked putting the key pairs in release lol programmers block or something tx !

1 Like

@dayjur glad that fixed it, happens to all of us :stuck_out_tongue: feel free to let me know if you think there’s a way that we could make that easier to remember!

@rambod Just a thought: perhaps add a dropdown in the editor preferences for Remote Settings.


| Editor environment: âś“development |

release

To go over the top; add a checkbox option

On entering Play mode log environment

I know in a big productions that have staged rollouts etc this options seems non-sensical (even crazy).
But for indies like me (I have only 1 environment - production), the editor always using the development env is not a good thing. I know somewhere someone will cringe reading this - but that’s whats up.

Or - none of this would be needed if maybe there was a way to propagate configs online (via dashboard, from dev->release).
I don’t wish to use my time copying keys manually from dev to release. Plus I can make a mistake that won’t be apparent until too late.

1 Like

@kreso the first bit is an interesting idea. Have you gotten a chance to play around with v1.1.0-preview and onwards? we released the ability for you to create custom environments, so now you no longer get two environments by default. Would love to see if that solves the pain point you’re outlining.

As for propagating configs, that’s something that’s on our near term roadmap, I’ll be sure to update you as I have more info.

@kreso one thing that occurred to us is that on the dashboard, there’s the ability to export a config as a csv, and also import a config from csv. One option before we add full propagation would be to use that functionality. Let me know what you think

Thank you for your response @rambod .
I haven’t worked with 1.1.0 yet.
I’ll let you know any feedback after I do.
Thanks agian!

2 Likes