DylanVann / react-native-fast-image

🚩 FastImage, performant React Native image component.
MIT License
8.17k stars 1.5k forks source link

added null check in registry to fix the crash #891

Closed yaduc closed 2 years ago

yaduc commented 2 years ago

In nexus 5x(6.0.1) device, the app crashes. Added a null check to avoid the crash from happening

DylanVann commented 2 years ago

If this code isn't run progress reporting won't work. LibraryGlideModule says registry is @NonNull so this shouldn't be needed. You could try reporting the issue to Glide. If you find more information feel free to open a new PR/issue, thank you!