Open nickplucker opened 8 months ago
Same issue we have started facing with our LOB android app that is using intune sdk version 10.0.0, earlier we had raised the security exception with in our company to disable the app protection policies for our android users until we sort out this crash issue, disabling the app protection MAM policies had fixed the issue as well, now after two months our exception is about to expire and we enabled the app protection policies again, and then all of a sudden there is a surge in incidents regarding app crash. We are asking the users to uninstall and then reinstall/update the Android System WebView to fix their crash but it's a temporary workaround until there is another Android OS or WebView update. So the scenario is: Users are able to login for the first time and get the policies and use the app without issues, until they kill the app and tries to reopen it again, then it is not opening at all and we are seeing the similar crash log in logcat as pasted by OP. We are using Capacitor with react. I think the issue lies when the intune sdk takes the policies after login, enrolment and tries to write the policies around the app, where it fails to write the policies due to the memory permission i guess. Are you planning to target any fix for this?
@mcsimons can you comment, given your having context on https://github.com/msintuneappsdk/ms-intune-app-sdk-android/issues/192?
A number of folks on the google issue have commented that they are using the intune sdk. We also are, and have not seen this problem in the non-intune variants of the app, only on the intune variant.
@zeeshanjamal Seeing the exact same issue in our LOB app. Out of curiosity, did you happen to narrow down a specific MAM policy that triggers this, or did you just blanket disable all of them? Thanks!
Hi, we are aware of this issue and following up with Google on this however please note we don't have much influence on their investigation/release of fix. If you look at the top couple of reviews for WebView on Google Play, you may see the issue is not limited to Intune.
@zeeshanjamal Seeing the exact same issue in our LOB app. Out of curiosity, did you happen to narrow down a specific MAM policy that triggers this, or did you just blanket disable all of them? Thanks!
We just removed the users from the MAM app protection group, so it disable all the policies, haven't drilled down to one policy yet
Intune Android App SDK crash
Questions to Ask Before Submission
Summary
We have been getting constant crash reports of a version of our React Native app built with the Intune SDK since October. I have another variant that doesn't use the Intune SDK and users have had no issues.
It's reproducible by installing specific versions of Android System WebView (for example, v119.0.6045.193 causes the crash). Clearing cache and updating/disabling WebView works for a while, but then a new Android update is rolled out with a broken version of WebView again.
192 is very similar, however we don't use
ProviderInstaller.installIfNeeded()
directly in our code.Additionally, I am aware of this: https://issuetracker.google.com/issues/316396709
Although it's a Google issue, I'm more curious why it's happening with apps that use the Intune SDK and if there's a workaround.
Details
Logs