ssbc / chloride

MIT License
90 stars 17 forks source link

cannot support platform=android and arch=arm64 #28

Open quwenzhe opened 2 years ago

quwenzhe commented 2 years ago

when run on platform=android and arch=arm64, occur following error, cloud support android platform?

< error loading sodium bindings: No native build was found for platform=android arch=arm64 runtime=node abi=83 uv=1 armv=8 libc=glibc node=14.15.0 webpack=true

staltz commented 2 years ago

chloride uses sodium-chloride, but on Android you should use sodium-chloride-native-nodejs-mobile, like this: https://github.com/staltz/manyverse/blob/d0e4de067c4720a10302d13f110cbaebc82da9f5/tools/backend/noderify-mobile.sh#L40