Skip to content
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

Unable to use startActivityAndCollapse finction from quick setting tile onClick. #8

Open
majeed-abdul opened this issue Aug 23, 2024 · 1 comment

Comments

@majeed-abdul
Copy link

Actually I done the above task by using this:

@pragma("vm:entry-point")
Tile onTileClicked(Tile tile) {
AppLauncher.openApp(androidApplicationId: 'com.example.app');
}

Clicking on Tile launches mentioned app but it doesn't pops quickSettings panel.

how can I perform this task?

@majeed-abdul
Copy link
Author

majeed-abdul commented Aug 25, 2024

Actually I need "startActivityAndCollapse" but your package uses only "startActivity" function.
so we all are limited to one function.

@majeed-abdul majeed-abdul changed the title How can I launch app from quick setting tile. Unable to use startActivityAndCollapse finction from quick setting tile onClick. Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant