Comments (3)
Hey @IsslamEl could you please create a repository reproducing this error? I tried to do it by myself, but I can't reproduce the error and I guess I'm missing any detail. You can fork Dexter example if you want 😃 Thank you in advance!
from dexter.
Hi @pedrovgs
I have created this repo with the described issue above. More details in the README file. Hope it helps
from dexter.
Hi @IsslamEl I'm afraid there is no thing we can do to help you with this issue. I do not understand why, but whenever you remove some permissions already granted, the main activity is recreated. You can check how this is not related to Dexter if you modify your code to use the following onCreate
implementation:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Log.d(TAG, "onCreate");
//checkPermissions();
openSettings();
}
If you do this, you'll see how after starting the app and denying the already granted permissions (you don't need Dexter to do this) the MainActivity is recreated. I'm so sorry, but I'm closing the issue now that we know there is nothing we can do to fix it in the library repository.
Thank you so much for creating the sample project.
from dexter.
Related Issues (20)
- onPermissionDenied is called even when the permission was already granted HOT 2
- MultiPermissionsListener not called when reguest permissions from onPermissionGranted HOT 4
- Check if a permission CHANGED in MultiplePermissionsReport? HOT 1
- Haven't supported Manifest.permission.MANAGE_EXTERNAL_STORAGE yet (Android 11) HOT 3
- Listener not working properly on Configuration Change HOT 8
- Desugring error HOT 4
- I am having trouble with implementing Dexter to get location using google map. Please help me.
- Duplicate Permission in report HOT 5
- Dexter doesn't notify when the app goes in background with permission dialog open and when returning doing tap in the app icon, the permission dialog is close. HOT 1
- OnPermissionDenied called even when permissions are granted on Android 10
- java.lang.IllegalArgumentException ERROR IN device API 23 HOT 1
- ------
- Screen rotation while showing Rationale dialog invalidates PermissionListener HOT 13
- .
- (1). cannot resolve withContext method. (2). cannot resolve permission Symbol HOT 1
- Proguard rules are affecting the whole project HOT 1
- ACTIVITY_RECOGNITION Permission HOT 1
- API 30 Android 11: Requesting background location permission
- Android 11 dismissible permission dialogs 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 dexter.