I want to consume rest api service for android but I am unable to add networksecurity_config. My androidmanifest.xml looks like following photo but according to documentation I have seen is it should have code .

laeba amber 20 Reputation points
2023-07-25T06:22:37.01+00:00

User's image

Header 1 Header 2
Cell 1 Cell 2
Cell 3 Cell 4
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,791 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,087 questions
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
254 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 28,846 Reputation points Microsoft Vendor
    2023-07-25T11:39:51.4366667+00:00

    Hello @laeba amber ,

    Welcome to Microsoft Q&A forum.

    Did you mean xml code?

    If so, please right-click the AndroidManifest.xml file => select Open With… => choose XML (Text) Editor => click OK

    User's image

    If you don’t mean xml code, could you share us the corresponding documentation or screenshots to check and confirm?

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful