Steps to reproduce -
1. Create a new app.
2. Run it on iOS 14 device (not simulator) with live view enabled (appc run -p iOS -T device --liveview)
3. It will show a prompt to ask user's permission and fail (screenshot attached).
What to fix -
1. Make change to show more contextual message instead of default generic message in prompt.
2. While waiting for user's permission, request get immediately failed. Make changes so that request can wait until user's permission is available.
In iOS 14, Apple has made changes to access local network. It shows a prompt to ask user's permission. More detail can be found in WWDC video https://developer.apple.com/videos/play/wwdc2020/10110/.