Skip to content

Commit

Permalink
Fix issue with running on simulators
Browse files Browse the repository at this point in the history
  • Loading branch information
vbuberen committed Dec 10, 2024
1 parent e29eca7 commit b9f1586
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ - (void)handleMethodCall:(FlutterMethodCall *)call
deviceName = [DeviceIdentifiers userKnownDeviceModel:@(un.machine)];
} else {
machine = [info environment][@"SIMULATOR_MODEL_IDENTIFIER"];
deviceName = [DeviceIdentifiers userKnownDeviceModel:machine];
}
result(@{
@"name" : [device name],
Expand Down

0 comments on commit b9f1586

Please sign in to comment.