iOS - using server presents as WEB on simulator #6394
Replies: 1 comment 2 replies
-
Are you setting |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is anybody notice that when we're using
server.url
incapacitor.config.ts
and run the app using:window.Capacitor
shows that we're currently using theweb
platform instead ofios
?Here is some example:
the
SERVER_PORT
andresolveUserHost()
resolves thewebpack-dev-server
host which is responsible for managing HMR.Then when I run the simulator and check devtools:

Is it correct? I think this is some kind of bug. IMO this should be presented as
ios
platform instead ofweb
. But let me know if we're doing something wrong.The interesting thing is that Android emulator with same configuration presents as

android
.Beta Was this translation helpful? Give feedback.
All reactions