From ce6ba4a754fc3afbb5671dccaeca2c300b0c2370 Mon Sep 17 00:00:00 2001 From: Dylan McIntyre Date: Sun, 22 Jan 2017 20:23:52 -0500 Subject: [PATCH] Add automatic permissions explanation --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a6cf0c27..b2402c3c 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,11 @@ camera.postDelayed(new Runnable() { ## Automatic Permissions Behavior -Automatic permissions behavior +You can handle permissions yourself in whatever way you want, but if you make a call to `CameraView.start()` without the `android.permission.CAMERA` permission, an exception would normally be thrown and your app would crash. + +With CameraKit, we will automatically prompt for the `android.permission.CAMERA` permission if it's not available. If you want to handle it yourself, just make sure you dont call `CameraView.start()` until you acquire the permissions. + +[Insert GIF] ## Dynamic Sizing Behavior