Skip to content

Cleanup QuickPost shortcut permissions and delete shortcuts from db when a blog is deleted #16855

@ashiagr

Description

@ashiagr

Goal of this task is to clean up shortcut permissions + test shortcut deletion logic when a blog is deleted.

As part of this PR, shortcuts were deleted from DB and uninstalled when a blog was deleted. 

Even though your app cannot remove pinned shortcuts, it can still disable them.

We should

  • Cleanup INSTALL_SHORTCUT, UNINSTALL_SHORTCUT permission from AndroidManifest.
  • Delete shortcut for a blog from DB when a blog is deleted from DB on logout.
  • (Optional) Disable shortcuts on logout preferably with a custom message about why they're disabled. This is optional as the shortcut will still remain pinned on the home screen and the user will have to explicitly delete them. However, with the disabled pinned shortcut, we can provide a message why they are unavailable now.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions