WLED-Native-iOS
WLED-Native-iOS copied to clipboard
User agent for embedded browser...
The HTTP requests from wled-native during the discovery and for updating the device list have a user agent (wled-native/1) which is great as that can be used by the device to optimize the display. However, once you click on the device, the user agent is lost and back to the default Safari stuff. It would be great if the user agent could remain. It would be even better if cookies from the first connection could also be retained and passed into the embedded browser.
Adding: self.webView.customUserAgent = "wled-native/1" to WebView's init method seems to work.