CustomerGlu SDK provides you lots of in-built stuff and make your integration faster with CustomerGlu Our SDK provides you In-built functions you just need to use them.
iOS - Requires IOS 11.0 or above.
Xcode - Version 13.0 or above
- Open Xcode.
- Click on Your app Name Open General.
- Click on + Button under Framework,Library and Embedded Content.
- Click on Add Other.
- Select Add Package dependency.
- Paste the repo url here - https://github.com/customerglu/CG-iOS-SDK
- Click on Add packages.
Mandatory step and need to put CustomerGlu WRITE_KEY in Info.plist
<key>CUSTOMERGLU_WRITE_KEY</key>
<string>YOUR_WRITE_KEY</string>
Define the global instance of CustomerGlu SDK - CustomerGlu SDK follows singleton pattern so you need to initialise it once
let customerglu = CustomerGlu.getInstance