switchEnv method
Implementation
Future<bool> switchEnv(FirebaseEnvConfig config) async {
logger.info('Updating iOS environment to: ${config.name}');
try {
await _updatePlist(config);
await _updateBundleId(config);
await _updateAppName(config);
logger.success('iOS switch successful.');
return true;
} catch (e) {
throw PlatformHandlerException('iOS switch failed: $e');
}
}