MappIntelligence Tracking Library
The MappIntelligence SDK allows you to track user activities, screen flow and media usage for an App. All data is send to the MappIntelligence tracking system for further analysis.
Requirements
Plattform | Version |
---|---|
iOS |
10.0+ |
tvOs |
11.0+ |
watchOs |
4.0+ |
Installation
CocoaPods (Podfile):
pod 'MappIntelligence'
Carthage (Cartfile):
github "mapp-digital/MappIntelligence-iOS-v5"
Swift Package Manager(Swift Package Manager):
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. It is in early development, but Alamofire does support its use on supported platforms.
Once you have your Swift package set up, adding MappIntelligence as a dependency is as easy as adding it to the dependencies value of your Package.swift.
dependencies: [ .package(url: "https://github.com/mapp-digital/MappIntelligence-iOS-v5.git", .upToNextMajor(from: "5.0.4.5")) ]
OCLint
We use Oclint from OCLint.
Details about the specific settings for this project can be found in the .oclint.yml
file.
Travis CI
We use Travis CI to check the code for inconsistencies and running the linter & tests.
Details about the specific settings for this project can be found in the .travis.yml
file.
Migrating from Webtrekk SDK V4
The Mapp Intelligence SDK v5 offers the possibility to migrate from Mapp Intelligence v4 without losing user data, meaning you will not lose historic data when updating to the new version. The option is disabled by default and needs to be manually enabled in the global configuration. Please use the function below to update from version 4 to version 5 without data loss:
MappIntelligence.shared()?.shouldMigrate = true
SSL
As of iOS 9 Apple is more strictly enforcing the usage of SSL for network connections. MappIntelligence highly recommends and offers the usage of a valid serverUrl with SSL support. In case there is a need to circumvent this. The App will need an exception entry within the Info.plist
. Apple's regulations about this are well documented within the iOS Developer Library
Example App with functionality
For an example app of the functionality in this SDK see: https://github.com/mapp-digital/MappIntelligence-iOS-v5/tree/master/MappIntelligenceDemoApp
License
See the LICENSE file for license rights and limitations (MIT).