Tags

This section covers how to categorize the reports on the dashboard and filter them you can add some relevant tags to the reports.

You can add custom tags to the reports sent by the SDK. Those tags can later be used to filter reports or set custom rules on the Instabug dashboard.

Tags - Dashboard

Tags - Dashboard

The example below demonstrates how to add tags to a report.

//iOS
string[] tags = { "tag1", "tag2" };
NSArray nsArray = NSArray.FromObjects(tags);		
Instabug.AppendTags(nsArray);

//Android
Instabug.AddTags("Tag1","Tag2","Tag3");

You can also get all the currently set tags as follows.

//iOS
NSArray tags = Instabug.GetTags();

//Android
IList<string> tags = Instabug.Tags;

Last, you can reset all the tags.

//iOS
Instabug.ResetTags();

//Android
Instabug.ResetTags();