You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 31, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,16 +63,24 @@ Okay seems like you integrated the library in your project but **how do you use
63
63
})
64
64
.build();
65
65
```
66
-
This will create an object of the Runtime Permission class for you. To check if the app has a specific permission you can call `easyPermissions.hasPermission(String permission);` or if you want to check
67
-
whether the app has multiple permission you can call `runtimePermission.hasPermission(String[] permissions)`. To request a permission at run time all you need to do is call `easyPermissions.request(String permission)` or if you want to request multiple permissions at the same time you call `easyPermissions.request(String[] permissions)`. However you will need to override a method on your activity inorder to wait for a callback from the library. Just add this to you activity.
68
66
67
+
**Dont forget to override the onRequestPermissionsResult and pass teh result to the library like wise**
0 commit comments