Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 756 Bytes

AddOnRequestPermissionResult.md

File metadata and controls

32 lines (21 loc) · 756 Bytes

You need to add the following event to run the project without breaking.

Open Sketchware pro.

Go to developer console.

Click on Event manager.

Click on Activity events at the top.

Click on add icon.

Fill the all fields by copy paste as follow or filling in the fields as shown in the image.


event name - OnRequestPermissionResult

description - OnRequestPermissionResult

parameters - %d.requestCode %s.permissions %d.grantResults

spec - OnRequestPermussionResult %d.requestCode %s.permissions %d.grantResults

event code -

@Override
public void onRequestPermissionsResult(int _requestCode, String[] _permissions, int[] _grantResults) {
%1$s
}

onRequestPermissionsResult