react-native-camera for iOS doesn't work with latest react-native v0.49

i'm trying to build my project on XCode with IPhone 6 IOS v11.0 in react native latest version v0.49 after installing react-native-camera and it failed. I get the error

Redefinition of 'RCTMethodInfo'

  typedef struct RCTMethodInfo {
  const char *const jsName;
  const char *const objcName;
  const BOOL isSync;
} RCTMethodInfo;

screenshot camera