microsoftconnect / intune-app-wrapping-tool-android

Use the Intune App Wrapping Tool for Android to enable Android apps to be managed by Microsoft Intune
29 stars 11 forks source link

MAUI app after wrapping on android platform #101

Closed ShaikhAtikAhmed closed 2 weeks ago

ShaikhAtikAhmed commented 1 month ago

Questions to Ask Before Submission

  1. Does you app launch successfully without wrapping? Yes
  2. Have you reviewed the prerequisites for App Wrapping? Yes
  3. Does your issue have a solution in the Troubleshooting Guide? No
  4. Have you checked the Microsoft Intune App SDK for Android repository for similar issues?No
  5. Are you using the latest version of the App Wrapper?Yes

Describe the bug: Hi Team, we have developed a MAUI android which is working fine on devices.

As per our business need we are wrapping the application with Intune Wrapping app, Wrapping of the app is getting sucess.

Post wrapping the app it is getting crashed on launch.

when we have gone through the debug report it status it is giving " ANDROID.RUNTIME.JAVAPROXYTHROWABLE: [SYSTEM.NULLREFERENCEEXCEPTION]: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT."

OS: Windows 11 Visual Studio 2022 : 17.9.6 Android version 14

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior: A clear and concise description of what you expected to happen.

Screenshots and logs:

Smartphone (please complete the following information):

Intune app wrapping tool (please complete the following information):

Additional context: Add any other context about the problem here.

kanishkaBagga commented 1 month ago

@ShaikhAtikAhmed - The App Wrapping Tool does not support MAUI apps. You should leverage the MAUI SDK directly instead. https://www.nuget.org/packages/Microsoft.Intune.Maui.Essentials.android

ShaikhAtikAhmed commented 1 month ago

Hi @kanishkaBagga , can you help me out with code sample to integrate the same.

kanishkaBagga commented 4 weeks ago

@ShaikhAtikAhmed , Sample app: https://github.com/microsoftconnect/ms-intune-app-sdk-android-samples

kanishkaBagga commented 3 weeks ago

@ShaikhAtikAhmed , please let us know if this resolves your concern, and we can close the issue

kanishkaBagga commented 2 weeks ago

Closing this issue since no further questions