OYIon / LiveXAML

Xamarin Forms live UI update in an emulator
35 stars 2 forks source link

Unable to connect in physical iOS device #53

Open bytebuilder26 opened 6 years ago

bytebuilder26 commented 6 years ago

Hi, I'm unable to run livexaml in a physical iphone.

My linker is disabled: image

LiveXaml server is running: image

And my firewall has a rule that allows connections ports 53031/53032. image image

But still, LiveXaml doesn't connect or pushes changes to my phone. Here's the XL debug info: image

Any ideas what may be going on?

bytebuilder26 commented 6 years ago

Update, I reviewed the rules in firewall and now the iphone is working fine, but my android phone is not. any ideas? thanks!!

ionoy commented 6 years ago

Hello @bytebuilder26,

If your iOS device can connect to the server, then Android should too. Are you sure it's connected to the same network and doesn't have any networking restrictions?

Mihhail

bytebuilder26 commented 6 years ago

Hi Mihhail, Yes, the phone is connected to the same network. As far as network restrictions I don't think so, I am able to connect to a webservice in my local server as well as an azure service. Is there anything specific that I need to look for? thanks,

ionoy commented 6 years ago

Not sure. Do you have the same errors in the Output window?

bytebuilder26 commented 6 years ago

image

This is the one for android

ionoy commented 6 years ago

And 192.168.1.3 is the correct address of your host PC?

bytebuilder26 commented 6 years ago

yes

ionoy commented 6 years ago

Hm. I'm not sure what might be the problem. There seems to be a network issue between your app on android and host PC. LiveXAML uses TcpClient to connect from app to the server that runs as a separate process named LiveXAML.Server. So it's pretty straightforward as far as the networking goes.