-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Widget does not get created in work profile. #121
Comments
Looks like "Work profile" is present in Android for a long time (I see https://support.google.com/work/android/answer/6191949 ), but nobody mentioned this for years. @Artem-B Putting this error message aside, can you simply create a widget (from proper "home screen" maybe...)? Just like you added (did you?) any other widgets in the work profile. |
There's no "work" home screen. The screen is common for all profiles. The way it seems to work for other apps is that when that app is installed in the work profile, it appears as a separate app in the app drawer (same icon, but with an added badge). Each app instance provides its own set of widgets, so, let's say, for a calendar widget, there's a normal widget, and there's the same widget with the "work" badge. In case of todoagenda, the instance in the work profile for some reason does not provide that widget, so there's nothing I can add to the home screen. todoagenda seems to be somewhat unusual compared to other widget-providing apps. There's no widget after the app is installed and it needs an extra step to create it and it's the step that appears to fail. AFAICT all other apps somehow provide their widgets by default right after they have been installed and that may be one way for the widget to appear in the work profile. I have no clue how Android implements it, so I'm just guessing based on observed behavior. |
@Artem-B Thank you for observations. Do you know any Open Source widget that works in the "Work profile"? |
Currently I have only two apps in the work profile that sort of have source code available. |
I don't know if it's possible, but it'd be really nice if one widget could show items from both profiles. |
It should be possible. I suspect that once agenda widget can be created in the work profile, it should be able to have access to private and work calendars, too. |
@Artem-B I guess this would work for most. For me, I wouldn't want my work profile to have access to my personal calendar, so maybe I'll be stuck with two widgets. I wish work-profiles had the option to go the other way with calendar access. |
When I click on "Go To Home Screen" button on the "please add a widget" page for todo agenda running in the work profile, it brings me to the home page, but instead of showing the widget selection, I get an error popup saying "You're using this app outside of the work profile" and the widget does not get created. I can only see the widget for the default profile.
This happens on Android 13, running on Samsung Galaxy S23.
The text was updated successfully, but these errors were encountered: