.net – MAUI iOS app asks for NSLocalNetworkUsageDescription permission even though it is not declared anywhere


Recently we add IAP to our MAUI app. Everything seem to be fine except for iOS, when starting, a permission dialog like this shows up. After some searching, it’s NSLocalNetworkUsageDescription permission. However we do not have it anywhere in our files. I suspect it’s from a package we added recently but I do not recall MAUI iOS permission can be added with attributes like Android. These are the new packages:

  • Plugin.InAppBilling for IAP.
  • Xamarin.Build.Download: we have to add this due to this issue. Installing this package allows us to build the iOS app successfully even though the error message seems to be for Android.

I have used VS Code’s File content search and search for NSLocalNetworkUsageDescription in all files (including in the obj and bin folders) but I cannot find it anywhere.

What’s the problem here? How do I remove that permission?

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img