Silent Invocation

In case you want to use your own UI for presenting a bug report form or you want to automatically send a bug report at a particular point in time without interrupting the user's flow, you can do so using the following APIs.

1
2
3
4
5
6
7
AppeliumFeedback.invokeSilently(title: "Silent bug report") { (success, error) in
    if success {
        print("Great!")
    } else {
        print("Failed: \(error!)")
    }
}

Reporting a bug like this will not cause any UI to be presented by Appelium.

Tip

If you wish to completely disable the automatic shake gesture which triggers bug reporting, you can do so by passing an empty array of invocationEvents in the Appelium initializer:

AppeliumFeedback.start(apiKey: <#app token#>, invocationEvents: [])