digia-technology-private-limited/digia_webengage_ios
DigiaEngageWebEngage is an iOS CEP plugin that integrates the WebEngage SDK with the DigiaEngage platform. It exposes the `DigiaEngageWebEngage` library which bridges Digia's CEP plugin APIs to WebEngage for event routing and in-app personalization.
Requirements
- iOS: 17.0+
- Swift tools: 6.0
Installation
Swift Package Manager
Add this package to your Package.swift or add it in Xcode via File → Add Packages...:
dependencies: [
.package(
url: "https://github.com/Digia-Technology-Private-Limited/digia_webengage_iOS.git",
from: "1.0.0"
),
]Then add the library to your app target:
.target(
name: "YourAppTarget",
dependencies: [
.product(name: "DigiaEngageWebEngage", package: "digia_webengage_iOS"),
]
)This package depends on the core Digia Engage SDK (DigiaEngage) which is declared as an SPM dependency in the package; you do not need to add the core SDK separately when using this package.
Important: This repository bundles the WebEngage.xcframework locally so SPM can resolve the WebEngage imports. Do not add another copy of WebEngage to your host app (via CocoaPods or another SPM package) as that will cause duplicate-symbol linker errors.
If your project uses CocoaPods for other dependencies and you prefer to integrate WebEngage via CocoaPods instead of using the bundled xcframework, make sure only one integration method is present in your final app binary.
Usage
Register the plugin with DigiaEngage (example):
import DigiaEngage
import DigiaEngageWebEngage
// Register plugin during SDK initialization or app startup
Digia.register(WebEngagePlugin())Refer to the source in Sources/ for available APIs and integration details.
Bundled frameworks
Frameworks/WebEngage.xcframework— local binary target for the WebEngage SDK (CFBundleShortVersionString: 6.20.1).
License
This project is distributed under the terms in LICENSE.
Built with ❤️ by Digia
Package Metadata
Repository: digia-technology-private-limited/digia_webengage_ios
Default branch: main
README: README.md