Comments (1)
You don't need to use onRequestPermissionsResult
to get the result. You can simply pass the context using the method getContext()
of Fragment
and get the callback directly in the parameter of type PermissionHandler
in the check
method.
from android-permissions.
Related Issues (20)
- min SDK 16 problem HOT 1
- Crash on Android 9.0 when using this library outside of an Activity HOT 5
- App Crashes on Android 6.0 Only (android.util.AndroidRuntimeException:) HOT 2
- Any way to center the text of the dialog? HOT 1
- Runtime Exception HOT 2
- PermissionHandler callbacks are never called for separate process
- Crash on Android Q HOT 1
- One time i check "Set Not to ask again", it always show setting dialog HOT 1
- Change color HOT 1
- Options when checking for single permission HOT 1
- Not showing rational message HOT 1
- targetSdkVersion HOT 1
- Migrate from JCenter HOT 18
- Not working for android 13 HOT 1
- issue with android 13 HOT 1
- Multiple permissions not working HOT 3
- Where are the new versions published? HOT 1
- I never see the permission request. HOT 1
- Unable to see the custom rationale dialog on app start or at least it's random HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-permissions.