@cyberdyne I had the same idea two days ago and did some research on it. I also asked /r/smartmirrors for some advice on it and got pretty good tips. The bottom line is, if you want to have a solid, non hacky solution supporting both iOS/android go the other way round with the use of beacons.
Thread is here