You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm i https://github.com/Sifir-io/react-native-tor.git#feat/hs
vim android/app/build.gradle :
a. add implementation files("../../node_modules/react-native-tor/android/libs/sifir_android.aar") under dependencies around line 213
vim android/build.gradle :
a. change minSdkVersion to 26
npm run android
App should build and install !
System info:
At the time of writing this android/build.gradle had the following:
i wonder why it started working with minSdk 26. we could to make it work. we are even preparing a separate build for older devices with stripped tor functionality
Steps to initialize and install React Native Tor
npx react-native init tortest2 --template react-native-template-typescript
cat package.json | jq -r '.dependencies["react-native"]
shows 0.64.1npm i https://github.com/Sifir-io/react-native-tor.git#feat/hs
vim android/app/build.gradle
:a. add
implementation files("../../node_modules/react-native-tor/android/libs/sifir_android.aar")
under dependencies around line 213vim android/build.gradle
:a. change
minSdkVersion
to26
npm run android
App should build and install !
System info:
android/build.gradle
had the following:Operating System: Manjaro Linux
Kernel: Linux 5.10.49-1-MANJARO
Architecture: x86-64
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
The text was updated successfully, but these errors were encountered: