Comments (9)
Rationales before requests, I can do - there is no API to detect "never ask again", though.
https://developer.android.com/training/permissions/requesting#explain
from assent.
Have a look at this question:
https://stackoverflow.com/a/51514740/5994190
Perhaps this is a way to detect, whether a permission was permanently denied or not!
from assent.
Actually "Dexter" is providing such an information, so it should be possible to determine whether it is permanently denied or not.
from assent.
Dexter implements it like described in the stackoverflow post:
https://github.com/Karumi/Dexter/blob/master/dexter/src/main/java/com/karumi/dexter/DexterInstance.java (line 254).
from assent.
Any updates?
Plans to implement it?
Shall I try to implement it?
from assent.
It's already implemented and in the codebase. Just haven't finalized the API.
from assent.
The isPermanentlyDenied
feature, too?
from assent.
No, not yet.
from assent.
Hey @afollestad, Is detecting permantely denied permissions feature added?
from assent.
Related Issues (20)
- Activity instance will become null when switching between Activities HOT 2
- Crash when saving state with Jetpack Navigation components HOT 7
- [Question] Is it possible to use your library in a pure Java Android project? HOT 1
- Crash when requesting permissions in fragment onViewCreated HOT 4
- Support Android 10 permissions
- Crash when requesting permission and rotating device HOT 1
- Issue with runWithPermissions / permanently denied in 3.0 RC3 HOT 2
- Permission Enum doesn't contain all permissions. HOT 1
- Even though it's allowed for Android 7 it keeps asking repeatedly.
- Migration from JCenter HOT 1
- Upgrading this library broke the functionality: androidx.fragment:fragment-ktx:1.3.0
- Result callback not getting triggered HOT 1
- Can't seem to ask for user location permission HOT 1
- Error build Material Dialogs and Assent
- `askForPermissions` isn't triggering the `AssentResult` callback on Android 11? HOT 1
- Fatal Exception: java.lang.IllegalStateException FragmentManager is already executing transactions
- Rationale message HOT 1
- Support for AndroidX HOT 1
- Crash when running from child fragment HOT 13
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 assent.