In Maui (Android 34) Widget hosting / configuring does not work in a launcher app owned by me
khatauli
61
Reputation points
I am migrating my Launcher app to Maui (From Xamarin Android).
Things seem to work seemlessly except that Widget hosting seems to be broken.
Debugging revealed that following call does not launche the configuration screen for widget unlike previous versions of Android (33 or lower). Did something change in Android 34 to cause the following call to not work. (I have not changed anything else in the code, so it is a mystery why it does not work as expected)
this.StartAppWidgetConfigureActivityForResult(this.MainActivity, widgetId, ActivityFlags., ActivityRequestCodes.CONFIGURE_APPWIDGET, null);
Sign in to answer