在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:apptentive/apptentive-kit-ios开源软件地址:https://github.com/apptentive/apptentive-kit-ios开源编程语言:Swift 98.9%开源软件介绍:ApptentiveKitApptentiveKit lets you integrate your iPhone and iPad apps with Apptentive's customer communications platform. Use Apptentive features to improve your app's App Store ratings, collect and respond to customer feedback, show surveys at specific points within your app, and more. Adding the ApptentiveKit DependencyWe recommend using Swift Package Manager to include ApptentiveKit in your project. In Xcode, choose File > Add Packages… and add the URL for this repository. Using ApptentiveKit in Your AppTo use Apptentive features in your Swift files, you will have to import the ApptentiveKit module: import ApptentiveKit Early in your app's lifecycle, call the Apptentive.shared.register(with: .init(key: "<#Your Apptentive App Key#>", signature: "<#Your Apptentive App Signature#>")) At various points in your app, use the @IBAction func completePurchase(sender: UIButton) {
// ...
Apptentive.shared.engage("purchase_complete", from: self) // where `self` is a UIViewController instance.
} If you plan to use Message Center, you should have a button in your app where your customers can open Message Center: @IBAction func openMessageCenter(sender: UIButton) {
// ...
Apptentive.shared.presentMessageCenter(from: self) // where `self` is a UIViewController instance.
} Further ReadingPlease visit our Customer Learning Center for more extensive integration and migration guides, as well as guides for product owners and developers for other platforms. ContributingOur client code is completely open source, and we welcome contributions to the Apptentive SDK! If you have an improvement or bug fix, please first read our contribution agreement. Reporting IssuesIf you experience an issue with the Apptentive SDK, please open a GitHub issue. If the request is urgent, please contact mailto:[email protected]. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论