customerio / customerio-reactnative

MIT License
23 stars 11 forks source link

Android is getting crashed accroding to Play store vitals #196

Closed beqramo closed 11 months ago

beqramo commented 11 months ago

SDK version: 3.1.8

Environment: Production

Are logs available? No

Describe the bug

Android Vitals are indicating that there is a crash connected to customer io:

image image

And another one:

image image

To Reproduce

I can't show any steps to reproduce Expected behavior

shouldn't crash Screenshots

Additional context

Shahroz16 commented 11 months ago

Hey @beqramo thank you for reaching out, apologies for the inconvenience. We have rolled out for the second crash and can be found in the latest release (3.1.10).

We couldn't replicate the first one but we are going to dig deeper into this.

osamahafez commented 11 months ago

@Shahroz16 I still get crashes in development environment on version 3.1.10, It happens when I call my backend server via axios.

The error is "[Error: Network Error]"

the error disappear if I clear data and cache of the app but happens again if I navigate through the app. and it's random crashes at random api call.

Shahroz16 commented 11 months ago

@osamahafez Thank you for writing in but I am not sure I follow, what does

when I call my backend server via axios.

has to do with Customer IO SDK? can you please explain more and maybe share logs?

Shahroz16 commented 11 months ago

A new release has been rolled out which caters to these edge cases even better. Closing this issue, feel free to reopen incase you encounter this again.