Android app Shortcuts : How to Debug the flow of Android app shortcut in Android Studio?

337 Views Asked by At

Currently I am working with Android app shortcuts, my shortcut initially making some service request from the presenter of the launching activity. This service request is happening before the UI comes in to screen.

Now the issue is how I will debug the initial flow of the Android app shortcut. Can anyone help me with this

Thanks in Advance !!!

1

There are 1 best solutions below

0
Akshay On

Sounds like you are using static app shortcuts. Since it requires to fetch some information before creating shortcuts you might want to use Dynamic shortcut.

Refer : https://developer.android.com/guide/topics/ui/shortcuts.html

Another option can be disabling the static shortcuts by default, and then enable them once you have necessary information.

Good luck!