Dexter icon indicating copy to clipboard operation
Dexter copied to clipboard

Dexter activity slows app

Open flaquir4 opened this issue 8 years ago • 2 comments

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

flaquir4 avatar Sep 20 '17 09:09 flaquir4

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?

Serchinastico avatar Sep 20 '17 10:09 Serchinastico

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

flaquir4 avatar Sep 21 '17 10:09 flaquir4