Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresco.initialize caused Application Not Responding #2771

Open
RitaBags opened this issue May 8, 2024 · 1 comment
Open

Fresco.initialize caused Application Not Responding #2771

RitaBags opened this issue May 8, 2024 · 1 comment

Comments

@RitaBags
Copy link

RitaBags commented May 8, 2024

Description

While executing a code on below line it is producing ANR. ANR's are reported on Crashlytics
We are facing ANR while initializing the liabrary as

fun init() {
        Fresco.initialize(application, imagePipelineConfig)
    }

Below is the ANR report from Crashlytics:
at java.util.concurrent.CancellationException.(CancellationException.java:61)
at com.facebook.imagepipeline.core.ImagePipeline.(ImagePipeline.java)
at com.facebook.imagepipeline.core.ImagePipelineFactory.createImagePipeline(ImagePipelineFactory.java:309)
at com.facebook.imagepipeline.core.ImagePipelineFactory.getImagePipeline(ImagePipelineFactory.java:303)
at com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilderSupplier.(PipelineDraweeControllerBuilderSupplier.java:55)
at com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilderSupplier.(PipelineDraweeControllerBuilderSupplier.java:45)
at com.facebook.drawee.backends.pipeline.PipelineDraweeControllerBuilderSupplier.(PipelineDraweeControllerBuilderSupplier.java:38)
at com.facebook.drawee.backends.pipeline.Fresco.initializeDrawee(Fresco.java:121)
at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:110)
at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:54)
at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:46)
at com.myapp.framework.fresco.FrescoManager.init(FrescoManager.java:13)
at com.myapp.FrescoInitializer.create(FrescoInitializer.kt:17)
at com.myapp.FrescoInitializer.create(FrescoInitializer.kt:10)
at androidx.startup.AppInitializer.doInitialize(AppInitializer.java:180)

Reproduction

It is an online ANR, I can't reproduce it on my phone, however it happens for multiple users.

Solution

N/A

Additional Information

  • Fresco version: 2.5.0
  • Platform version: Android version 11, 12, 13 Devices: HMD Global, Motorola, Google Cros, Oneplus, Samsung and other
@RitaBags
Copy link
Author

RitaBags commented May 15, 2024

Any update on it? or do I need to assign it to any specific person in order get the update ? cc : @
@steelrooter

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

No branches or pull requests

1 participant