react-native-ibeacon icon indicating copy to clipboard operation
react-native-ibeacon copied to clipboard

Check parameter types before calling native methods

Open frostney opened this issue 9 years ago • 0 comments

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.

frostney avatar Apr 30 '15 13:04 frostney