Pass platform to the config method