The include for RCTVersion.h isn't using the module form as in earlier versions of React Native (~0.53) this header was not in the React/ scope. For users supplying their own Podfile, this means they'd need to add a separate directory to make this include work when built using Cocoapods.
Changeset
Changed
BugsnagReactNative.m - added conditional include of either <React/RCTVersion.h> or "RCTVersion.h" which should work on all setups.
Goal
The include for
RCTVersion.h
isn't using the module form as in earlier versions of React Native (~0.53) this header was not in theReact/
scope. For users supplying their own Podfile, this means they'd need to add a separate directory to make this include work when built using Cocoapods.Changeset
Changed
BugsnagReactNative.m
- added conditional include of either<React/RCTVersion.h>
or"RCTVersion.h"
which should work on all setups.Tests
Linked issues
Fixes #442