Feedback
Bugsee implements built in single threaded messenger to allow your users to communicate with your support and developers.
Feedback controller
To start feedback controller from within your application
- Objective-C
- Swift
[Bugsee showFeedbackController];
Bugsee.showFeedbackController()
Notifications
To receive notifications about new messages arriving from the server, your delegate should implement BugseeDelegate protocol:
- Objective-C
- Swift
-(void)bugsee:(Bugsee *)bugsee didReceiveNewFeedback:(NSArray<NSString *> *)messages
{
///...
}
// ..somewhere within the class
[Bugsee sharedInstance].delegate = self;
func bugsee(_ bugsee: Bugsee, didReceiveNewFeedback messages: [String]) {
///...
}
// ..somewhere within the class
Bugsee.sharedInstance()?.delegate = self;
Default greeting
Default greeting can be set on the server in your application settings. However, for the cases when network is not available, you can set default greeting on the client as well:
- Objective-C
- Swift
[Bugsee setDefaultFeedbackGreeting:@"Hi! How can we help?"];
Bugsee.setDefaultFeedbackGreeting("Hi! How can we help?")