mParticle-MoEngage 1.0.0

mParticle-MoEngage 1.0.0

Maintained by MoEngage Inc.



 
Depends on:
mParticle-Apple-SDK~> 8.27.1
MoEngage-iOS-SDK< 9.22.0, >= 9.21.0
 

MoEngage Kit Integration

Logo

This repository contains the MoEngage integration for the mParticle Apple SDK.

Adding the integration

  1. Add the kit dependency to your app's Podfile, or SPM:

    pod 'mParticle-MoEngage', '~> 1.0.0'

    CocoaPods

    OR

    Open your project and navigate to the project's settings. Select the tab named Swift Packages and click on the add button (+) at the bottom left. then, enter the URL of MoEngage Kit GitHub repository - https://github.com/moengage/mparticle-apple-integration-moengage and click Next.

    Swift Package Manager

  2. Disable MoEngageSDK method swizzling by setting MoEngageAppDelegateProxyEnabled as false/NO in app's Info.plist.

  3. Configure MoEngage SDK

    let sdkConfig = MoEngageSDKConfig(appId: "YOUR APP ID", dataCenter: YOUR_DATA_CENTER)
    MoEngageConfigurator.configureInstance(sdkConfig: sdkConfig)
  4. Follow the mParticle iOS SDK quick-start, then rebuild and launch your app, and verify that you see "Included kits: { MoEngageSDK }" in your Xcode console

    (This requires your mParticle log level to be at least Debug)

  5. Reference mParticle's integration docs below to enable the integration.

Documentation

MoEngage integration

License

License