-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
feat(mobile): android widgets #19310
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
Conversation
4dde2c8
to
3debd60
Compare
768bbee
to
9d19c5e
Compare
mobile/android/app/src/main/kotlin/app/alextran/immich/widget/RandomReceiver.kt
Outdated
Show resolved
Hide resolved
b475a34
to
2ba18d4
Compare
First round of testing, running in release mode, I couldn't get the widget to load. The widget keep spinning at "Loading widget" screen |
b2779bf
to
9a9f5ac
Compare
Okay, finally it works in production mode. I observed a few things
|
Let's have a save button and then a "are you sure you don't want to save" dialog if you hit the close button. We can talk to @shenlong-tanwen to see if there is a possibility to have the timeline scroll to a position for the deep link |
Take a look at the |
@bwees Do you want to add the confirm button to the widget setting page and get this PR merged? |
Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
1534fab
to
137af08
Compare
* wip * wip widgets * more wip changes * latest changes * working random widget * cleanup * add configurable widget * add memory widget and cleanup of codebase * album name handling * add deeplinks * finish minor refactoring and add some polish :) * fix single shot type on random widget Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com> * switch to ExposedDropdownMenuBox for random configure activity * handle empty album and no connection edge cases * android project cleanup * fix proguard and gson issues * fix deletion handling * fix proguard stripping for widget model classes/enums * change random configuration activity close to a checkmark on right side --------- Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
Description
This adds widgets to Android, similar to those in #19148.
How Has This Been Tested?
Pixel 9 Pro Simulator
Checklist:
src/services/
uses repositories implementations for database calls, filesystem operations, etc.src/repositories/
is pretty basic/simple and does not have any immich specific logic (that belongs insrc/services/
)