$ npm install react-native-react-native-marketingcloudsdk-ios-permissions --save
$ react-native link react-native-react-native-marketingcloudsdk-ios-permissions
- In XCode, in the project navigator, right click
Libraries
➜Add Files to [your project's name]
- Go to
node_modules
➜react-native-react-native-marketingcloudsdk-ios-permissions
and addRNReactNativeMarketingcloudsdkIosPermissions.xcodeproj
- In XCode, in the project navigator, select your project. Add
libRNReactNativeMarketingcloudsdkIosPermissions.a
to your project'sBuild Phases
➜Link Binary With Libraries
- Run your project (
Cmd+R
)<
import RNReactNativeMarketingcloudsdkIosPermissions from 'react-native-react-native-marketingcloudsdk-ios-permissions';
// TODO: What to do with the module?
RNReactNativeMarketingcloudsdkIosPermissions;