smooth-app
smooth-app copied to clipboard
Add shortcuts for Hunger Games, Product to Be Completed list
Problem
- As a power contributor, I want to play Hunger Games in the transportation, or go to the Product to Be Completed list, and help categorize new products
- it currently takes me 3 taps (for Hunger Games) or 4 taps (for Product to Be Completed list)
Proposed solution
- [ ] Add Android app shortcuts for "Hunger Games"
- [ ] Add Android app shortcuts for "Product to Be Completed" list
Part of
- #2479
@teolemon There are three tabs in bottom nav bar ,Only possible screen I can think of is Profile screen ,So where exactly are intending to put these shortcut ,One thing I can think of is, We can put floating action buttons on right bottom corner on profile screen itself.
This is not a shortcut within the app, this would be a shortcut from your android home screen
Understood
I have found couple of plugins which could get this done for us, There are two plugins which could exactly helps us for this enhancements
- https://pub.dev/packages/app_shortcuts
- https://pub.dev/packages/flutter_app_shortcut
There is also one another thing that I found, Quick actions which is somewhat different, In this user have to long press on app icon to get required shortcuts, This can be implemented using following plugin itself :
- https://pub.dev/packages/quick_actions
Although, I would like to know your views on whether we can use these plugins or we should go with the Method Channels implementation from scratch.
Here goes the same thing as with similar issues, we likely need Navigator V2 for this
#921 #920
Although, I would like to know your views on whether we can use these plugins or we should go with the Method Channels implementation from scratch.
@g123k is likely the one to have a preferece here
@M123-dev @g123k I have good news about Navigator V2.
Around #3018, part of the solution is not to wait for an answer when you open a new page.
Typically, we used to say "open that page and get the product as a result" (and that was not compliant with deep-linking).
When #3018 is completed, we'll never expect a page to return anything. If the page "succeeds", it will mean that it has
- put locally temporary product changes
- sent the same changes to the server
- refreshed the providers (and therefore all product related pages/widgets) (including the calling page)
Also @omkarChend1kar this is not shortcuts on the main icon. As the screenshot shows, this is the ability to add additional icons to some parts of the app (or even specific lists). I believe it's an Android only feature, called pinned shortcuts. https://developer.android.com/develop/ui/views/launch/shortcuts/creating-shortcuts#pinned
Also @omkarChend1kar this is not shortcuts on the main icon. As the screenshot shows, this is the ability to add additional icons to some parts of the app (or even specific lists). I believe it's an Android only feature, called pinned shortcuts. https://developer.android.com/develop/ui/views/launch/shortcuts/creating-shortcuts#pinned
Yeah, I am aware about that ,I thought mentioning it might be useful for this kind of usecase.
Here goes the same thing as with similar issues, we likely need Navigator V2 for this
#921 #920
Although, I would like to know your views on whether we can use these plugins or we should go with the Method Channels implementation from scratch.
@g123k is likely the one to have a preferece here
Okay
@teolemon Pinned shortcuts are the equivalent of iOS force touch feature. The only question is here: do you want dynamic items (eg: a direction to a custom list) or some hard coded lists.
Depending on that, the implementation may differ.