capacitor-community / http

Community plugin for native HTTP
MIT License
208 stars 135 forks source link

Ask for permission to communicate over local network? #243

Open neonish opened 2 years ago

neonish commented 2 years ago

Is there any way to use this plugin to specifically ask for device permission to communicate over the local network?

My capacitor based iOS App shows the NSLocalNetworkUsageDescription dialog the first time a user tries to make a request, but i'd rather show the dialog before sending that actual request. The url which the request is sent to is only known at runtime, as it is user editable.