tinycreative / react-native-intercom

React Native wrapper for Intercom.io
MIT License
406 stars 280 forks source link

[iOS] NSRangeException - cellForItemAtIndexPath #408

Closed cjpete closed 2 years ago

cjpete commented 3 years ago

Crash picked up via Sentry, so unclear on the exact means to replicate, but posting incase anyone else has seen the same issue.

*** -[__NSArrayM objectAtIndexedSubscript:]: index 7 beyond bounds [0 .. 6]

image

Using react-native-intercom@18.0.0 and Intercom pod @ 8.0.0

cjpete commented 3 years ago

I can confirm this has also been seen on versions prior to 18.0.0.

Br1an-Boyle commented 3 years ago

Please update to the latest version that uses v9.0.0 of the Intercom SDK https://github.com/intercom/intercom-ios/releases/tag/9.0.0. This issue was fixed in 8.1.1 but I recommend updating to 9.0.0. This will fix the problem