Package Exports
- react-native-instabug-sdk
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-instabug-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-native-instabug-sdk
React Native wrapper for Instabug.
Setup
npm install --save react-native-instabug-sdkiOS
react-native link
react-native link react-native-instabug-sdkCocoapods
TODO(mark): When adding react-native-instabug-sdk to Cocoapods and referencing node_modules, the package can't find the header files for Instabug itself :( If anyone knows how to fix this, I would gladly accept your PR!
Add the following to your Podfile:
pod "Instabug"Manual
Inside your xcode project file, right click on your "Libraries" folder and select "Add files to MyApp". Navigate to node_modules/react-native-instabug-sdk/ios/RNInstabug.xcodeproj and add that to your project. Then select your app's project file on the sidebar, scroll down to "Linked Frameworks and Libraries" and add libRNInstabug.a to this list.
Android
TODO(mark): Add android support.
Usage
Require / import the module:
import Instabug from 'react-native-instabug-sdk';
More coming soon! PRs are very welcome!