See the subsections below for details about the different installation methods.
pod 'Recommend'
cd {PATH_TO_PROJECT}
pod install
File
→ Add Packages...
https://github.com/recommend-pro/recommend-ios-sdk
Dependency Rule
to Up to Next Major Version
or Exact Version
Add Package
Important: Account Id must not be empty.
Shared instance can be configured from plist or directly with parameters.
import Recommend
...
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
Recommend.configure()
return true
}
import Recommend
...
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
Recommend.configure(accoundId: "0e1x2a3m4p5l")
return true
}
let recommend = Recommend(accoundId: "0e1x2a3m4p5l")
Unless plist is not auto-generation, it can be created manually following instructions. All information is in access on control.recommend.pro
Example file provided in repo -> Recommend-Info.plist
Field | Type | Required | Description |
---|---|---|---|
ACCOUNT_ID |
String | + | Account id |
PUSH_APPLICATION_NAME_PROD |
String | - | Apple-iOS-Prod Push integration Application Name. Uses for release builds, usually from Xcode. |
PUSH_APPLICATION_NAME_DEV |
String | - | Apple-iOS-Dev Push integration Application Name. Uses for debug builds, usually from App Store Connect / TestFlight. |
API_HOST |
String | - | API host (domain). Can be empty. By default: api.recommend.pro . |
The contents of this repository are licensed under the MIT License.
link |
Stars: 6 |
Last commit: 18 weeks ago |
Updated type of PanelRequestFilter.value with Codable RECRecommendationPanelRequestFilterValue type
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics