Skip to content

[Bug]: addToHomeScreen method is not showing a popup. #776

@azizChebbi

Description

@azizChebbi

Telegram Application

Telegram for Android

Describe the Bug

when using the addToHomeScreen method, I'm supposed to get a popup asking me to add the app as shortcut.
and if the 'Home Screen shortcuts' isn't enabled, the addToHomeScreen doesn't ask/notify me to enable that permession.

To Reproduce

if(addToHomeScreen?.isAvailable()) {
addToHomeScreen()
}

Expected Behavior

the method should ask for permession first if it's not enabled

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions