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

[Bugsee showFeedbackController];

!Swift

Bugsee.showFeedbackController()

Notifications

To receive notifications about new messages arriving from the server, your delegate should implement BugseeDelegate protocol:

!Objective-C

-(void)bugsee:(Bugsee *)bugsee didReceiveNewFeedback:(NSArray<NSString *> *)messages
{
    ///...
}

// ..somewhere within the class
[Bugsee sharedInstance].delegate = self;

!Swift

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:

[Bugsee setDefaultFeedbackGreeting:@"Hello world from local. This is greeting message."];

!Objective-C

[Bugsee setDefaultFeedbackGreeting:@"Hi! How can we help?"];

!Swift

Bugsee.setDefaultFeedbackGreeting("Hi! How can we help?")