Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webengage/ios-sdk-example
A native iOS app showcasing integration of WebEngage SDK
https://github.com/webengage/ios-sdk-example
app demo framework ios sdk swift webengage
Last synced: 2 days ago
JSON representation
A native iOS app showcasing integration of WebEngage SDK
- Host: GitHub
- URL: https://github.com/webengage/ios-sdk-example
- Owner: WebEngage
- License: mit
- Created: 2019-04-22T10:26:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-06T04:57:13.000Z (about 2 years ago)
- Last Synced: 2024-03-15T18:09:10.356Z (8 months ago)
- Topics: app, demo, framework, ios, sdk, swift, webengage
- Language: Swift
- Homepage:
- Size: 12.9 MB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [WebEngage iOS SDK](https://webengage.com/) #
[![Version](https://img.shields.io/cocoapods/v/WebEngage.svg?style=flat)](https://cocoapods.org/pods/WebEngage)
[![License](https://img.shields.io/cocoapods/l/WebEngage.svg?style=flat)](https://cocoapods.org/pods/WebEngage)
[![Platform](https://img.shields.io/cocoapods/p/WebEngage.svg)](https://cocoapods.org/pods/WebEngage)
[![LastUpdated](https://img.shields.io/github/last-commit/WebEngage/iOS-SDK.svg)](https://cocoapods.org/pods/WebEngage)Detailed Setup Guide available [here](https://docs.webengage.com/docs/ios-getting-started).
#### Minimum SDK Requirements ####
WebEngage SDK is supported for `iOS 10` and above. The following frameworks should be linked as part of the Xcode project (Direct Integration).
1. CoreLocation.framework
2. SystemConfiguration.framework
3. AdSupport.framework
4. -lsqlite3
#### There are 2 ways of integrating WebEngage to your existing/new Xcode Project.
#### 1. CocoaPods Integration (Recommended)
1. Add the following to your Podfile
# For Xcode 11 and above:
target 'WebEngageExample' do
pod 'WebEngage'
end# For Xcode 10:
target 'WebEngageExample' do
pod 'WebEngage/Xcode10'
end2. Install WebEngage SDK by running `pod install`
Check out Swift Bridging Header details [here](https://docs.webengage.com/docs/ios-getting-started#section-4-support-for-swift).
Learn about Podfile Specifications [here](https://guides.cocoapods.org/using/the-podfile.html).
#### 2. Direct Integration (Manual) ####
1. Download the SDK file [here](https://s3-us-west-2.amazonaws.com/webengage-sdk/ios/latest/WebEngageFramework.zip). Extract the downloaded zip file. In the extracted zip there would be two directories - xc10 and xc11. If you are using Xcode 10 use the `Webengage.framework` within the `xc10` directory. For Xcode 11 and above use the one in `xc11`. Save the appropriate `Webengage.framework` it in a location on your computer.
2. Select the name of the project in the project navigator. The project editor appears in the editor area of the Xcode workspace window.
3. Click on the `General` Tab at the top of project editor.
4. In the section `Embedded Libraries` click on `+` button. It will open up the file chooser for your project. Open WebEngage.framework and select `Copy if needed` option. This will copy the framework to your project directory.
5. Below Embedded Libraries, there is `Linked Frameworks and Libraries` click the `+` button and add the following frameworks:
```
SystemConfiguration.framework
CoreLocation.framework
AdSupport.framework
```
6. Go to 'Build Settings' tab on the top of the project editor. Search for `Other Linker Flags` option.
Add `-lsqlite3` under it.At this point, WebEngage SDK integration is complete and your project should build successfully.
Check out more details [here](https://docs.webengage.com/docs/ios-getting-started).