braze-inc / braze-android-sdk

https://www.braze.com
Other
24 stars 9 forks source link

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

Open joyner-perez opened 2 days ago

joyner-perez commented 2 days ago

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

bryanlogan commented 2 days ago

Use Braze.getDeviceIdAsync(callback)