Bug reporting is an important aspect of software testing. An effective bug report communicates well with the development team and avoids confusion or miscommunication. Buglife is nice bug reporting SDK for iOS Apps. The features of Buglife is awesome:
- Users can take a screenshot or stops screen recording
- Users can annotate their screenshot & writes feedback
- Bug reports are pushed to your team’s email/Jira/Slack/Asana/wherever you track bugs.
Steps to install Buglife in Swift Project:
- Install Buglife using CocoaPod:
1 pod 'Buglife'
- import Buglife in AppDelegate Class and Add BuglifeDelegate in AppDelegate Class
1 import Buglife
- Add Below Lines in didFinishLaunchingWithOptions
1234 Buglife.shared().start(withEmail: "<#Developer's Email ID#>")Buglife.shared().invocationOptions = [.shake, .screenshot, .floatingButton]Buglife.shared().delegate = selfBuglife.shared().inputFields = LIFETextInputField.bugDetailInputFields()
- Replace Developer’s Email ID in place “<#Developer’s Email ID#>” in the first line in above code
- There will be three Bug reporting invocation options will be activated inside the app
- .shake (Shake the device)
- .screenshot (take screenshot in app)
- .floatingButton (there will be a floating button)
For more details and to know, how to report bug see this video.
Article References: