How to change config by the function config.set() rather than IonicModule.forRoot

Due to check platform informations, I cannot set configuration values in IonicModule.forRoot. But the configuration value doesn’t work if it is set by the function config.set in the handler of platform ready event.