Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue-271/SDK jar not compatible with old Android Runtimes #295

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

richdrich
Copy link

The Android 4.x runtime loads an ancient org.apache.commons.codec jar which is incompatible and shadowed org.apache.commons.codec.binary.Base64.decode without implementing the decode method.

This backports the Base64.java and BaseNCodec.java into the utils package and references this from Encoder so we get a working Base64 decode on Android 4.

I have pulled the entire files in so they can be easily comapred with the originals - alternatively, we could trim them down but this would impact that traceability - happy either way.

Thanks to https://github.com/timmolter

egieseke and others added 4 commits December 7, 2021 16:43
The Android 4.x runtime loads an ancient org.apache.commons.codec jar which is incompatible and shadowed org.apache.commons.codec.binary.Base64.decode without the decode method.
This backports the Base64.java and BaseNCodec.java into the `utils` package and references this from `Encoder` so we get a working Base64 decode on Android 4.
Thanks to https://github.com/timmolter
# Conflicts:
#	src/main/java/com/algorand/algosdk/util/Encoder.java
@CLAassistant
Copy link

CLAassistant commented Feb 12, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants