I'm developing an app and the main use-case is based on the activation/deactivation of its quick settings tile (the swipe down menu buttons).
I don't know how to force the inclusion of the app's tile into the quick settings menu.
The app uses flutter, but some android-specific functionality uses Kotlin for its native features.
If it's not possible to force install the tile, then I need to include a shortcut or link to it, to make it straightforward (just like some apps redirect you/show a prompt to change the app's file permissions, instead of relying on the user changing them manually).
I can't seem to find the way to do this. (Is it possible to create a custom quick settings tile in Flutter?)
As stated here you can call requestAddTileService() https://developer.android.com/develop/ui/views/quicksettings-tiles#prompt-user