netceteragroup / react-native-twitterkit

A React Native wrapper around Fabric's TwitterKit.
MIT License
22 stars 10 forks source link

Fixed a crash when the view is removed while the tweet is being loaded #19

Closed ZdravkoN closed 6 years ago

ZdravkoN commented 6 years ago

Fixed a crash that happens when the view is removed from hierarchy before the tweet is loaded. When the tweet is loaded and the view needs to be resized, there is an assertion that fails because the shadow view is no longer in the hierarchy. In this case React Native's UI manager throws an error and the app crashes.