frostney/react-native-ibeacon

Error handling for invalid uuid

frostney opened this issue · 1 comments

If an uuid is given to the region that is not a valid a uuid, the error message Invalid parameter not satisfying: region != nil appears. If possible, it should read something along the lines of The UUID you provided is not valid.

I'm not strong on the iOS side but... is it possible to make errors like this catchable? (on Android it can be done easily by returning a promise)