Open daniel-m-dd opened 1 year ago
@daniel-m-dd Thank you for reporting this issue. We are looking into reproducing this internally. In the meantime, can you reproduce the scenario and share the Incident ID from the Company Portal logs?
MAM Note: Tracking internally with #17015578
@meghandaly Here is the incident id: DYYQPBG3. Thanks!
@daniel-m-dd are you still having this issue? Do you mind sharing any custom theme settings for your app, or a minimal sample application that reproduces the issue?
When attempting to reproduce this issue with SearchView
in androidx.appcompat:appcompat:1.6.1
, I could not use SearchView
without switching the app's theme to Theme.AppCompat
(or a descendant). Did you make a similar change in your app? If you are able to successfully use SearchView
, it is surprising that the MAM SDK's keyboard install dialog would throw an error because it "requires your app theme to be Theme.AppCompat (or a descendant)."
@codylund Yes, I am still having the issue.
Our app is using the Theme.MaterialComponents.DayNight.NoActionBar
but overriding the attribute Widget.AppCompat.SearchView.ActionBar
. However not overriding searchViewStyle
does not fix it either and seem unrelated...
Side note 1: we are using androidx.appcompat:appcompat:1.5.1
but upgrading to 1.6.1
had no impact.
Side note 2: we also ruled out this issue
Hello I am encountering this crash when integrating and testing the MS intune SDK. Thanks!
Describe the bug:
App with the Intune SDK included is crashing when trying to show the Intune keyboard dialog.
I did check that my app is correctly using a Theme.AppCompat (more precisely we are using MaterialTheme) and could also a dialog when calling/building the dialog manually. Besides I do get other dialogs working correctly. Example: when restricting the allowed browser to Edge; the dialog asking to download Edge is correctly shown.
My guess is the Intune wrapper is somewhere using the application context instead of the activity context when building the dialog.
To Reproduce Steps to reproduce the behavior:
androidx.appcompat.widget.SearchView
viewExpected behavior: Should not crash and show the appropriate ms intune helper dialog
Screenshots and logs:
Stacktrace:
Smartphone (please complete the following information):
Intune App SDK for Android (please complete the following information):
Additional context: Add any other context about the problem here.