Config File at Apps


I was wondering is there any config file with the NextCloud app, that I contains data, that I can change in future without the need to change the data within the code and version number then re-upload the app to the nextcloud/extra-apps/ ?

for example a certain address I can specify it in this config file, and read from it in the app code, if I want to change that address I just open the config file and change it, without the changing the code itself

its more like the App.config at C#

You should write such configurations into the database. You can use \OC::$server->setAppValue() and \OC::$server->getAppValue() for that.

another approach is to use config.php, and get the data from it, refer to this topic