react-native-ibeacon
react-native-ibeacon copied to clipboard
Check parameter types before calling native methods
The JavaScript code currently exports the native module directly. It would make sense to check the parameter types using invariant
while wrapping the methods to avoid edge cases and cryptic error messages.