Giang Phạm
New member
How do I request multiple permissions on Android?
Answer
In case one or more permissions are not granted, ActivityCompat. requestPermissions() will request permissions and the control goes to onRequestPermissionsResult() callback method. You should check the value of
shouldShowRequestPermissionRationale() flag in onRequestPermissionsResult() callback method.
Answer
In case one or more permissions are not granted, ActivityCompat. requestPermissions() will request permissions and the control goes to onRequestPermissionsResult() callback method. You should check the value of
shouldShowRequestPermissionRationale() flag in onRequestPermissionsResult() callback method.