a way to query the network information of your smartphone / tablet via Javascript to obtain the current IP of the wifi or hotspot? maybe even with third-party libraries?.... I would need to obtain the mask, i.e. the first 3 numbers to then be able to do an httprequest type polling through that hotspot or wifi, cycling between 1 and 255 to find a custom device that is connected and obtain some test information if it is feasible... I ask because if I have to make an app for iOS, in that case I would have to make a request to the Store and since this request for information to your custom device is private, it must therefore not go through for the Store and for this reason I was thinking of a sort of webapp... Thanks in advance to all! 😊😊😊
In general? I do not think this is possible with a webapp Under specific circumstances? Maybe. If there is a service on the network in question which responds with the data. The service must be CORS enabled. It must also be HTTPS, meaning the network must have a DNS server, and your application must know the hostname of the service.
Обсуждают сегодня