Apparence-io / quick_settings

A Flutter plugin to manage a custom Tile in Quick Settings
https://pub.dev/packages/quick_settings
MIT License
17 stars 4 forks source link

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

Open majeed-abdul opened 3 weeks ago

majeed-abdul commented 3 weeks ago

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 commented 2 weeks ago

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