thaliproject / Tor_Onion_Proxy_Library

Provides a JAR and an AAR for embedding the Tor Onion Proxy into a Java or Android Program
Apache License 2.0
179 stars 98 forks source link

Change tor.so to libtor.so in TorConfig and AndroidTorConfig #152

Closed hsjoberg closed 4 years ago

hsjoberg commented 4 years ago

When working with newer versions of tor-android (i.e org.torproject:tor-android-binary:0.4.2.7a), the so-file is named libtor.so.
This is because in Android SDK 29, the file won't be copied to the nativeLibraryDir unless it's prefixed with lib.

This is commit changes AndroidTorConfig and TorConfig to use libtor.so instead, to be able to work with newer versions of tor-android.


This change is Reviewable

ghost commented 4 years ago

CLA assistant check
All CLA requirements met.