Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Dexter activity slows app #185

Open
flaquir4 opened this issue Sep 20, 2017 · 2 comments
Open

Dexter activity slows app #185

flaquir4 opened this issue Sep 20, 2017 · 2 comments

Comments

@flaquir4
Copy link

Expected behaviour

Launch new Activity and a dialog shows requesting permissions, without any frame dropped.

Actual behaviour

Launch new activity and Choreographer says that the applications is doing to much work and skypes 340 frames.

Also the Android profiler shows that DexterActivity stays on during 5 seconds

image

Steps to reproduce

I don't know, it happens with nexus 6p and pixel c but not with emulator or galaxy s8+

Version of the library

4.1.1

@Serchinastico
Copy link
Contributor

Hi @flaquir4

The Android activity might live longer than that depending on a lot of things, the skipped frames shouldn't happen though, do you know if it happens in the Dexter sample project as well?

@flaquir4
Copy link
Author

I don't know why but the problems appear when I have a progressbar in the activity which request the permission.

It seems a bit strange but I upload the example modified in order to show the problem.

Dexter.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants