BlockchainCommons / BlockchainCommons/bc-libs-java

[SSKR] Not needed Android resources included

Aberta
#6 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Java
Estrelas
4
Forks
4
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Reporting this issue for **SSKR** lib but I believe this could be happening to the rest of the ecosystem.

There are certain Android resources in the android folder from **SSKR** lib that get included in the aar generated library and so included in the project that is using the file. These resources (mipmap, values, colors...) are not needed and they add some extra space to the APK. Launcher icon is overriding the one in the app using the library (if using the same name).

Also the manifest is specifying the `allowBackup=true`, which forces apps using the library to add a replace clause in the manifest.

I'm preparing a PR to fix this. I won't include the rest of the libs as it will require testing, and we don't have in place any project using the rest of the libs just yet.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece na pasta android da biblioteca SSKR e inspecione como os recursos e o manifest dela são empacotados no AAR gerado. Verifique se os recursos mipmap, values e color desnecessários não chegam mais aos aplicativos consumidores, se os ícones do launcher não são sobrescritos e se allowBackup não força uma cláusula de substituição do manifest.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
android, java
Domínio
mobile
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.