I was just looking into this and notified the upstream package:
That react-native-image-size package unfortunately doesn't even build (Java code is invalid), I think the owner messed up a merge and didn't check if it was still working:
https://github.com/eXist-FraGGer/react-native-image-size/commit/6927595b701f169067e6aa2aa7ec74c0aac7bf4a#r128304078