Greetings The question arose: in the client android I did not want to flash the server ip, I heard for a long time that google analytics has the ability to store certain settings in xml in the developer console, which can be accessed by the application, but I don’t remember exactly and can’t find it. What can you advise?
- And why you do not want to flash it in the code? Can it change, or is someone ready to hack your application, change the server address and upload your version? - Regent
- Rather, the first reason is that the address of the server may change or you will have to change hosting for other reasons. In addition, there are settings and in addition to the address, which change is not worth re-release of the new version of the application, I would like to have more flexibility. - Fotomizer
- You can load the rest of the settings from your own server. The problem is only in the possible change of the server address. Then either rely on the capabilities of Google (I can’t say anything about this), or download the server address from another server. This option is more suitable for load distribution between servers, but still if there is a more reliable server (on which, however, all server functionality is not deployed), then you can get an address from it. But then you have to sew in the code address add. server, but other options I do not know. Is that the user himself will enter the address in the settings - Regent
- Or something I do not understand, or why not just buy a domain? - andreymal
|
1 answer
You've probably heard about Firebase Remote Config
- Thank! This is what I was looking for. - Fotomizer
|