Skip to content

Migrating ACRA from annotations to pluginconfigurations #1095

Answered by F43nd1r
jsbriantes asked this question in Q&A
Discussion options

You must be logged in to vote

The documentation is finished. Nonetheless here is your configuration translated as an example.

        ACRA.init(this, new CoreConfigurationBuilder()
                .withBuildConfigClass(BuildConfig.class)
                .withPluginConfigurations(
                        new MailSenderConfigurationBuilder()
                                .withMailTo("myemail@mydomain.com")
                                .withSubject(getString(R.string.mailSubject))
                                .build(),
                        new DialogConfigurationBuilder()
                                .withTitle(getString(R.string.acratitle))
                                .withText(getString(R.string.acratext

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jsbriantes
Comment options

You must be logged in to vote
1 reply
@F43nd1r
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants