flutter_core_platform_override
Override the platform of a running Flutter app (Android, iOS, Fuchsia, etc.) or reset it via RPC to facilitate debugging and testing across different environments.
Instructions
RPC: Override the platform for the Flutter app
Input Schema
Name | Required | Description | Default |
---|---|---|---|
platform | Yes | Platform to override to (android, ios, fuchsia, linux, macOS, windows, or null to reset) | |
port | No | Port number where the Flutter app is running (defaults to 8181) |
Input Schema (JSON Schema)
{
"properties": {
"platform": {
"description": "Platform to override to (android, ios, fuchsia, linux, macOS, windows, or null to reset)",
"enum": [
"android",
"ios",
"fuchsia",
"linux",
"macOS",
"windows",
null
],
"type": "string"
},
"port": {
"description": "Port number where the Flutter app is running (defaults to 8181)",
"type": "number"
}
},
"required": [
"platform"
],
"type": "object"
}