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

[Bug]: In production, sometimes I have a ANR in: Braze.getInstance(context).deviceId #46

Open
joyner-perez opened this issue Oct 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@joyner-perez
Copy link

Braze Android SDK Version

33.0.0

Steps To Reproduce

Braze.getInstance(context).deviceId

Expected Behavior

No ANR

Actual Incorrect Behavior

ANR triggered by main thread waiting for too long

Verbose Logs

No response

Additional Information

No response

@joyner-perez joyner-perez added the bug Something isn't working label Oct 28, 2024
@joyner-perez joyner-perez changed the title [Bug]: In production, I have a ANR in: Braze.getInstance(context).deviceId [Bug]: In production, sometimes I have a ANR in: Braze.getInstance(context).deviceId Oct 28, 2024
@bryanlogan
Copy link
Contributor

Use Braze.getDeviceIdAsync(callback)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants