This is a repo for updating firebase remote config. This code created according to Firebase Docs and spesifically edited to manage localization data.
you need to follow these steps to start:
- install Node.js (https://nodejs.org/en/)
- Download Firebase Admin Key adn copy under "/credentials" folder
- Manage language support (key of "supportedLanguages") on "cache.json"
- (Only Once, MAC) run "setup.command" file
- (Only Once, Windows) run "setup.bat" file
run `node index.js fetch` to fetch latest version of remote config. This operation updates "tables/Localizable.xlsm" file. All non-published changes will be discarted after running this script.
run `node index.js fetch` to publish new changes to remote config. All saved changes in "tables/Localizable.xlsm" will be merged with latest remote config data and will be published to Remote Config after running this script.