Error on linking in React Native

Getting Error: Cannot read property ‘match’ of undefined while running react-native link react-native-sentry.
React Native: 0.55.4
Sentry: 0.39.1

Hey,

Maybe this helps, seems to be a issue with the link command.
https://github.com/getsentry/react-native-sentry/issues/421

It doesn’t work. Still getting the error.