iOS/Android FPEnvironment fix