google / physical-web

The Physical Web: walk up and use anything
http://physical-web.org
Apache License 2.0
6k stars 665 forks source link

mDNS on iPhone #822

Closed louwng closed 7 years ago

louwng commented 8 years ago

If I send a dns-sd -R .......... Command from terminal on my mac, i dont see the PW url in my PW app on my iphone is it supported in the current version of the PW app?

louwng commented 8 years ago

I do pick it up on the mDNS utility on my iphone so i know the mac is transmitting it

hayesjordan commented 8 years ago

Unfortunately mDNS is only supported in the latest version of the Android PW app.

louwng commented 8 years ago

@hayesjordan thanks for the confirmation, i have an old 7 inch Galaxy Tab 4 with Android 4.4.2 installed.

I have installed the latest version of the PW app for android on it but it still doesn't pick up the PW url being broadcasted via mDNS fron my Mac.

Maybe i doing it wrong, what i would like to do is to use wifi instead of bluetooth to broadcast the PW url to potential customers , is mDNS the best option or should i rather use wifi direct?

Please advise

Regards Nico

hayesjordan commented 7 years ago

I think mDNS doesn't work very well on older versions of Android, so it could be that your device won't work for mDNS. I believe it works best on Android N.

Wi-Fi direct is also going to be unreliable on older versions of Android. While developing the Wi-Fi direct feature in the app, we really only had success while using 2 Android N devices.

Is there a specific reason why you want to use Wi-Fi instead of ble?