maoni icon indicating copy to clipboard operation
maoni copied to clipboard

Docs say that maoni-email should be included but it's not

Open Ninjaman494 opened this issue 3 years ago • 1 comments

I was updating to 9.1.0 with the following dependencies in my build.gradle:

implementation 'org.rm3l:maoni:9.1.0@aar'
api 'org.rm3l:maoni-common:9.1.0@aar'

However, when I tried using Maoni builder to create a MaoniActivity I got a runtime error because MaoniEmailListener couldn't be found. I was able to fix it by adding org.rm3l:maoni-email:9.1.0 as a dependency, but in the README it says this should already be included?

Ninjaman494 avatar Jul 12 '21 23:07 Ninjaman494

Hi @Ninjaman494 !

Thanks for reporting this issue. I was able to reproduce the issue and will look into it when I get a chance. Thanks for the suggested workaround. I will update the README accordingly, until this issue is fixed.

maoni-email is correctly listed as a dependency of maoni, as we can see in its POM on Maven Central. So I think another possible workaround is to import maoni transitively with:

implementation('org.rm3l:maoni:9.1.0@aar') {
        transitive = true
        // Needed because of https://github.com/rm3l/maoni/issues/294
        exclude module: 'unspecified'
}

I just tested this successfully, but then came across this other weird issue (#294), hence the exclusion hacky rule.

rm3l avatar Apr 22 '22 23:04 rm3l

A friendly reminder that this issue had no activity for at least 90 days. Stale issues will be closed after an additional 30 days of inactivity.

github-actions[bot] avatar Jul 03 '23 21:07 github-actions[bot]

A friendly reminder that this issue had no activity for at least 90 days. Stale issues will be closed after an additional 30 days of inactivity.

github-actions[bot] avatar Oct 07 '23 23:10 github-actions[bot]

This issue was closed because it has been inactive for 90 days since being marked as stale.

github-actions[bot] avatar Nov 06 '23 23:11 github-actions[bot]