[OutSystems Now] Mac address

[OutSystems Now] Mac address

  
Forge Component
(33)
Published on 23 Aug by OutSystems
33 votes
Published on 23 Aug by OutSystems
Is it possible to get the WiFi mac address from the OutsystemsNow App?
Kolbrun Fanngeirsdottir wrote:
Is it possible to get the WiFi mac address from the OutsystemsNow App?
 I don't think it's allowed for apps to read this information from the device. What is the purpose of the information? Do you want to ID the device?
 
Thanks for the reply. The purpose is to locate where the user is in a building when he performs certain actions in the app. I can't use GPS because its a building with many floors. 
So you probably need his IPaddress instead of MAC address... Don't know if there is a function where you can find it...
MAC Address won't help you locate anyone - it's the ID of the device regardless of it's location.  You need IP address but in the situation you describe that will likely not be good enough, depending on whether the device is using cellular or wi-fi.  If cellular, no have no chance of getting anything better then what GPS gives you beause the cell location is a fairly broad area.  On wi-fi it will depend on the network topology within the building.  If the wi-fi has been set up as a separate router for each floor than you MIGHT be able to do what you want, otherwise no. I believe the ardoHTTP component can get you the IP address but given these issues is probably not worth it.

The bottom line is that if your application is dependent on the exact location, including the floor, it will never work reliably enough to be of value in my opinion.

Sorry for the bad news,
Curt
Maybe with some iBeacons ? :)