setPlatform support