CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Aug 2016 |
Maintained by Soroush Khanlou.
Backchannel is a quick, convenient way for your beta testers to report their feedback — right from within your app itself. With the tap of a button, they can report a bug, offer feedback on a new feature, or simply ask a question. Backchannel can also detect when users take screenshots of your app, and guide them to the correct feedback channel, with the screenshot already attached.
Backchannel is a great citizen in your app.
BAK, to prevent collisions.To integrate Backchannel into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'Backchannel'
Then, run pod install.
The simplest way to present Backchannel is to use Backchannel class. Wire up a button like so:
- (IBAction)buttonTapped:(id)sender {
[[Backchannel setAPIKey:@"your_api_key"] presentModallyOverViewController:self];
}
or its Swift equivalent:
@IBAction func buttonTapped(sender: UIButton) {
Backchannel.setAPIKey("your_api_key").presentModallyOverViewController(self);
}
Once the API key is set, you can use the +backchannel class method to access Backchannel. The Swift runtime removes this method, so you can access the Backchannel singleton by just initializing the Backchannel class with Backchannel().
To use Backchannel's screenshot detection features, Backchannel needs to know your app's rootViewController. To configure it, set up Backchannel with an API key and a root view controller during your app's initialization:
//...
[Backchannel setAPIKey:@"your_api_key" rootViewController:rootViewController];
//...
or, in Swift:
Backchannel.setAPIKey("your_api_key", rootViewController:rootViewController);
After this API key is set, you can use the +backchannel class method (sharedBackchannel() in Swift) to present Backchannel:
- (IBAction)buttonTapped:(id)sender {
[[Backchannel backchannel] presentModallyOverViewController:self];
}
or, in Swift:
@IBAction func buttonTapped(sender: UIButton) {
Backchannel.sharedBackchannel().presentModallyOverViewController(self);
}
Pull requests are always welcome!
Backchannel is available under the MIT license. See the LICENSE file for more info.