react-native-image-capinsets
react-native-image-capinsets copied to clipboard
Added a null check to setCapInsets, updated build.gradle file
- Added a null check to the setCapInsets method. Usually it's never called before the uri is set, but in one case it happened in reserve and failed with an error. I don't see a reason to not have the check.
- Updated build.gradle file to support external project variables. Updated gradle wrapper version for 0.59 RN support.
Why not update the reload method to early return? Btw for me this happens since 0.60
Can this be merged?
Please merge this, without this fix I was unable to use the library. With this fix, it just works :) Thanks!