iOS
| info |
Note Native SDK Version: The current |
| warning |
Warning The below steps are only required for |
CocoaPods Integration [Required for version < 6.0.0]:
- CocoaPods Integration is supported from
react-native-moengageversion 4.0.0
Run pod install to add our react native plugin and MoEngage-iOS-SDK pods to the iOS project. Post that add "${PODS_ROOT}/../<YourProjectName>" to the Header Search Path of ReactNativeMoEngage target in Pods project as shown below:
Libraries Integration [Required for version < 6.0.0]:
In case if you are using the Libraries Integration, you will have to explicitly update pod file to install our native MoEngage iOS SDK. Add MoEngage-iOS-SDK to your pod file:
pod 'MoEngage-iOS-SDK'
After installing the Pods, select the MoEReactBridge target in MoEReactBridge.xcodeproj and go to Header Search Paths section in Build Settings as shown below. Here update the search path $(SRCROOT)/../../../ios to include your Project's main directory which contains the AppDelegate file as shown below.
| warning |
Warning
|
SDK is successfully installed in the project, and ready to use.