Skip to content

Spike in ANRs After Updating apiUrl in branch-config.json #483

@prashanthmncoindcx

Description

@prashanthmncoindcx

Describe the bug

After modifying and setting the apiUrl value in branch-config.json, we observed a noticeable spike in ANRs across the app. This issue started occurring immediately after the API URL implementation. Also share the issue in firebase console

Report from Play Console:

Problem - The main thread was busy doing a Binder call that was potentially slow
Recommendation - The latency of a Binder call is hard to predict. It can be affected not only by the complexity of the call itself, but also by intermittent factors such as system server lock contention. You should treat them as you would treat I/O calls, and avoid, if possible, making Binder calls in the main thread. If making a Binder call from the main thread is unavoidable, make sure to instrument and monitor such calls to detect slowness.

branch_anr.txt

branch_anr.txt

Steps to reproduce

  1. On app launch crash is happening. Logs and details are added in the description

A clear and concise description of what you expected to happen.

Gracefully handle so app crash won't happen

Plugin Version

8.9.0

Flutter Version

3.32.7

Android/iOS/Web

Android

Make and Model

xiaomi, vivo, OnePlus

Additional Information/Context

branch_anr.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageneeds-triage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions