Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(device): isVirtual is false on M1 simulators #726

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

jcesarmobile
Copy link
Member

@jcesarmobile jcesarmobile commented Dec 6, 2021

isVirtual is false on simulators run on M1 macs because it's none of those architectures, use targetEnvironment(simulator) instead

closes #720

@jcesarmobile jcesarmobile changed the title fix(device): improve iOS isVirtual code check fix(device): isVirtual is false on M1 simulators Dec 6, 2021
@jcesarmobile jcesarmobile merged commit 5377586 into main Dec 6, 2021
@jcesarmobile jcesarmobile deleted the device-simulator-fix branch December 6, 2021 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

device.getInfo().isVirtual not true in iOS Simulator
2 participants