RedditPP Mascot

RedditPP

r/dotnetMAUI • … • u/Visible_Huckleberry8

HttpClient on Android Release

Maybe this has been asked before yet I can't find an answer.

While testing my app on the emulator on Debug it works fine, but when I do a Release all the APIs won't work. I have tried the following:

\- network\_security\_config.xml with my endpoint subdomain (<domain includeSubdomains="true">https://something.websites.net</domain> and <domain includeSubdomains="true">something.websites.net</domain>)

\- AndroidManifest (<uses-permission android:name="android.permission.INTERNET" /> android:usesCleartextTraffic="true" )

\- Uninstalling the app and rebuilding

\- Delete bin/obj and rebuilding

&#x200B;

Have any of you figured out a way for it to work? Will continue to search but I thought it should have happened to any of you before.

— 0