4 ms·
iOS apps are sandboxed away from reading the wifi mac since iOS7, by the way.
by 0x0 12y ago
iOS apps are sandboxed away from reading the wifi mac since iOS7, by the way.
- Someone1234 12y agoI wasn't aware of that. Unfortunately Android apps have no such restriction [0] and don't require any special permissions [0]. That iOS 7 change is likely along the same vein as Apple's addition of MAC randomisation: trying to disrupt such tracking. I'd wish Google to follow suit, but let's be frank: Tracking people is Google's bread and butter. They're more likely to sell MAC addresses to advertisers than they are to randomise or otherwise restrict access to them. [0] https://stackoverflow.com/questions/6064510/how-to-get-ip-address-of-the-device/13007325#13007325 https://stackoverflow.com/questions/6064510/how-to-get-ip-ad...
- scintill76 12y agoIt does appear to require permissions, as documented in that answer. Apparently it only needs INTERNET[0], which could qualify as "don't require any special permissions" as you say. INTERNET is disappointingly broad. [0] https://stackoverflow.com/questions/16127263/networkinterface-getnetworkinterfaces-throws-exception-with-null-message-strin https://stackoverflow.com/questions/16127263/networkinterfac...