Skip to content

ACRA 5.9.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@F43nd1r F43nd1r released this 11 Dec 00:13
· 550 commits to master since this release
545e368
  • Update dependencies
  • Improve logs of suppressed collector exceptions (#947)
  • Keep collector priorities in parallel run (#942)
  • Deprecate DEVICE_ID (#890)
  • Remove annotation configuration. This changed a few details about configuration in code as well, see examples below.

Configuration examples:

kotlin

        initAcra {
            attachmentUris = listOf("somefile")
            httpSender {
                uri = "http://example.com/report"
                basicAuthLogin = "login"
                basicAuthPassword = "password"
                httpMethod = HttpSender.Method.POST
                compress = true
            }
            dialog {
                text = getString(R.string.acra_dialog_text)
            }
        }

java

        ACRA.init(this, new CoreConfigurationBuilder()
                .withAttachmentUris("somefile")
                .withPluginConfigurations(
                        new HttpSenderConfigurationBuilder()
                                .withUri("http://example.com/report")
                                .withBasicAuthLogin("login")
                                .withBasicAuthPassword("password")
                                .withHttpMethod(HttpSender.Method.POST)
                                .withCompress(true)
                                .withEnabled(true)
                                .build(),
                        new DialogConfigurationBuilder()
                                .withText(getString(R.string.acra_dialog_text))
                                .build()
                )
        );