Are there any methods to send bundle/extras (like what we do with intents) during a request for granting dangerous permissions of android?
In normal process for granting dangerous permissions for android, we should call ActivityCompat.requestPermissions(...) which is defined as below according to documentation:
void requestPermissions (Activity activity, String[] permissions,int requestCode)
As it can be seen there is no options for sending any extra information in permission request. Currently I use static parameters inside my activity to restore them after my permission will be granted.
I want to know are there any options for this?