microsoftconnect / ms-intune-app-sdk-android

Intune App SDK for Android enables data protection features and mobile app management via Microsoft Intune
41 stars 17 forks source link

[.NET MAUI] crash observed in android 13 devices while launching Installed activity #214

Open ravish2038 opened 4 months ago

ravish2038 commented 4 months ago

Intune Android App SDK for .NET MAUI Issue

Summary

crash observed in android 13 devices while launching Installed application's activity , might be New restriction from Android to call explicit Activity

Details

Logs

02-07 16:58:38.120 10303 7721 7721 E AndroidRuntime: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.boxer.email/com.boxer.unified.compose.ComposeActivityExternal}; have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared ? 02-07 16:58:38.120 10303 7721 7721 E AndroidRuntime: at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2171) 02-07 16:58:38.120 10303 7721 7721 E AndroidRuntime: at android.app.Instrumentation.execStartActivity(Instrumentation.java:1805) 02-07 16:58:38.120 10303 7721 7721 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:5596) 02-07 16:58:38.120 10303 7721 7721 E AndroidRuntime: at com.microsoft.intune.mam.client.app.MAMActivity.startActivityForResultReal(Unknown Source:1)

Archit-Pikle commented 3 months ago

Hi @ravish2038 , we need more information to investigate this bug. Can you please fill this template out -

Summary

Please briefly describe the issue you are experiencing.

Details

Logs

For build issues, please include:

For runtime issues, please include:

MSBuild Logs

Please attach the binary log (.binlog) from your build.

For guidance, see Obtain build logs with MSBuild, specifically how to Save a binary log.

Company Portal Logs

PowerLift ID:

For guidance, see Report a problem in Company Portal or Intune app for Android

NuGet Dependencies

If your app includes third-party NuGet libraries, please list them here:

Questions to Ask Before Submission

  1. Does the app build and launch without including the Microsoft.Intune.Maui.Essentials.android package?
  2. Does the issue reproduce if you rebuild after deleting the bin and obj output folders?
  3. Have you checked the .NET MAUI repository for similar issues? If so, please follow the guidance there or add that information to this issue.
  4. Are you using the latest Microsoft.Intune.Maui.Essentials.android NuGet package version?