StringCare / AndroidLibrary

Android library to reveal or obfuscate strings and assets at runtime
Apache License 2.0
244 stars 44 forks source link

JCenter Deprecation #82

Closed MarkRS-UK closed 3 years ago

MarkRS-UK commented 3 years ago

With the imminent closure of jcenter as a repo, isn't it a problem that this (excellent library :-) ) still uses it?

Android Studio (& therefore presumably Intellij IDEA) now recommend removing jcenter... compilations using this library fail when that happens

efraespada commented 3 years ago

I guess I'll upload the library and plugin to another repository. Any suggestions?

MarkRS-UK commented 3 years ago

It's not something I know much about, only from the build files for my Android app :) Maven seems to be the place,,, does that even make sense as a sentence?

MarkRS-UK commented 3 years ago

So I notice your Flutter plugin is recommending forking the repo and using that. Is that to sidestep the jCenter closedown? Would that be the best strategy here too?

efraespada commented 3 years ago

@MarkRS-UK

The flutter plugin works over an explicit C++ file that can (should) be customized. That's why I recommend making a "private" fork before using it.

The original native implementation in Android works over .so compiled files.

I plan to move this library and its plugin to a new repository in the next few days. ;)

If you need a quick solution, you can download both .aar files (library and plugin) and use them locally.

efraespada commented 3 years ago

Migrating to Maven Central started, tickets open:

https://issues.sonatype.org/browse/OSSRH-70375

https://issues.sonatype.org/browse/OSSRH-70376

efraespada commented 3 years ago

I've published a new version with a new implementation. The documentation is up to date.

https://github.com/StringCare/AndroidLibrary/wiki/Implementation

Also, the KotlinSample project is updated.

Thanks for your patient @MarkRS-UK 😄