Post

Replies

Boosts

Views

Activity

Reply to Enable local network access during iOS UI test in iOS14
I've also encountered this issue, here are my findings: When firing a local network request from the application: Permission prompt is displayed; After allowing local network access, requests pass successfully; Works on simulator; Works on real device; When firing a local network request from a Unit Test target: Permission prompt is displayed; After allowing local network access, requests pass successfully; Works on simulator; Works on real device; When firing a local network request from a UI Test target: Permission prompt is not displayed; Even after allowing local network access (manually from Settings), requests fail; Works on simulator; Fails on real device;
Apr ’21