KEMBAR78
[templates] add Android INTERNET permission by jonathanpeppers · Pull Request #6673 · dotnet/maui · GitHub
Skip to content

Conversation

@jonathanpeppers
Copy link
Member

@jonathanpeppers jonathanpeppers commented Apr 29, 2022

Fixes #6576

Debug builds on Android automatically add the INTERNET permission,
because otherwise debugging wouldn't work! This definitely adds some
confusion if you switch to a Release build and start getting
exceptions in your HttpClient calls.

We should just add the INTERNET premission to the Android templates,
as nearly every modern app will use the internet. Customers can simply
remove the permission if they don't want it.

Fixes: dotnet#6576

Debug builds on Android automatically add the `INTERNET` permission,
because otherwise debugging wouldn't work! This definitely adds some
confusion if you switch to a `Release` build and start getting
exceptions in your `HttpClient` calls.

We should just add the `INTERNET` premission to the Android templates,
as nearly every modern app will use the internet. Customers can simply
remove the permission if they don't want it.
@jonathanpeppers jonathanpeppers requested a review from a team as a code owner April 29, 2022 14:54
jonathanpeppers added a commit to jonathanpeppers/xamarin-android that referenced this pull request Apr 29, 2022
Context: dotnet/maui#6576
Context: dotnet/maui#6673

Debug builds on Android automatically add the `INTERNET` permission,
because otherwise debugging wouldn't work! This definitely adds some
confusion if you switch to a `Release` build and start getting
exceptions in your `HttpClient` calls.

We should just add the `INTERNET` premission to the Android templates,
as nearly every modern app will use the internet. Customers can simply
remove the permission if they don't want it.
@jonathanpeppers jonathanpeppers added this to the 6.0.300-rc.3 milestone Apr 29, 2022
@jonathanpeppers jonathanpeppers added area-templates Project templates, Item Templates for Blazor and MAUI platform/android labels Apr 29, 2022
@mattleibow mattleibow merged commit 11e5e4d into dotnet:main Apr 29, 2022
@jonathanpeppers jonathanpeppers deleted the AndroidTemplatesInternet branch April 29, 2022 16:14
jonathanpeppers added a commit to dotnet/android that referenced this pull request Apr 29, 2022
Context: dotnet/maui#6576
Context: dotnet/maui#6673

Debug builds on Android automatically add the `INTERNET` permission,
because otherwise debugging wouldn't work! This definitely adds some
confusion if you switch to a `Release` build and start getting
exceptions in your `HttpClient` calls.

We should just add the `INTERNET` premission to the Android templates,
as nearly every modern app will use the internet. Customers can simply
remove the permission if they don't want it.
jonathanpeppers added a commit to dotnet/android that referenced this pull request Apr 29, 2022
Context: dotnet/maui#6576
Context: dotnet/maui#6673

Debug builds on Android automatically add the `INTERNET` permission,
because otherwise debugging wouldn't work! This definitely adds some
confusion if you switch to a `Release` build and start getting
exceptions in your `HttpClient` calls.

We should just add the `INTERNET` premission to the Android templates,
as nearly every modern app will use the internet. Customers can simply
remove the permission if they don't want it.
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@samhouts samhouts added the fixed-in-6.0.300-rc.3 Look for this fix in 6.0.300-rc.3! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-templates Project templates, Item Templates for Blazor and MAUI fixed-in-6.0.300-rc.3 Look for this fix in 6.0.300-rc.3! platform/android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android application in Release requires permission whereas Debug does not

4 participants