Closed PramodKumarHK89 closed 1 year ago
Hi @PramodKumarHK89, are you using Fast Deploy
to build your app?
Yes. I was using the fast deployment option. I flipped the switch NOT to use fast deployment, but the result is same.
Did you also set [Application(Debuggable = false)]
in your MainApplication file?
By switching off the fast deployment and adding _[Application(Debuggable = false)]_seem to resolve the issue. Thanks
Great, closing this issue as resolved.
Intune Android App SDK for .NET MAUI Issue
Summary
The app crashes with the below error if company portal is installed on the device.
JNI DETECTED ERROR IN APPLICATION: JNI ERROR (app bug): jobject is an invalid JNI transition frame reference: 0x79c073f9ee50 (use of invalid jobject)
App doesn't crash if I uninstall the company portal app. But of course, MAM doesn't apply.
Details
Microsoft.Intune.Maui.Essentials.android
Version: : I'm using the latest prerelease but, version doesn't seem to affect the behaviour as I tried with 2 versions below as well.Logs
Company Portal Logs
PowerLift ID: S4UQ9Y6G
NuGet Dependencies
If your app includes third-party NuGet libraries, please list them here: Latest MSAL.NET reference
Questions to Ask Before Submission
Microsoft.Intune.Maui.Essentials.android
package? Yesbin
andobj
output folders?N/AMicrosoft.Intune.Maui.Essentials.android
NuGet package version? Yes.