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
Toast.makeText(this, "OnShowRationale for camera", Toast.LENGTH_SHORT).show();
56
+
request.proceed();
57
+
}
58
+
59
+
@OnNeverAskAgain(Manifest.permission.CAMERA)
60
+
protectedvoidshowNeverAskForCamera() {
61
+
Toast.makeText(this, "OnNeverAskAgain for camera", Toast.LENGTH_SHORT).show();
62
+
}
63
+
64
+
}
65
+
```
66
+
67
+
# Migrating to 2.0.0
68
+
69
+
Finally, you should not call the PermissionsDispatcher delegate class static methods anymore, this
37
70
plugin will generate those calls for you. Just call the method which was annotated with `@NeedsPermission`. Overriding `onRequestPermissionsResult` should also be removed completely.
38
71
See the example project for code.
39
72
73
+
## Thanks
74
+
75
+
***WonderCsabo** for integrating plugin completely with PermissionsDispatcher
0 commit comments