C-bindings for the Go Cwtch Library https://cwtch.im
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Sarah Jamie Lewis db8e43cb05 fixup filekey.complete checks to check the actual value instead of just existence 10 months ago
constants Add DefaultPicture parameter to Contact and Profiles 10 months ago
features Allow Caching of Tor Data Directories 11 months ago
utils fixup filekey.complete checks to check the actual value instead of just existence 10 months ago
.drone.yml pin drone container version to deal with docker hub instability 12 months ago
.gitignore macos uses .dylib 1 year ago
BUILDING_DEBUG.md Fresh Repository Commit - Cwtch Beta 1 year ago
LICENSE mit license 1 year ago
MEMORY.md Clarify Memory Ownership Model of libCwtch and Callers 1 year ago
Makefile make clean libCwtch.dylib 1 year ago
README.md cwtch upgrade dropping unused events; android build notes 12 months ago
clangwrap.sh Build ios 1 year ago
go.mod Remove mobile from godep 10 months ago
go.sum Remove mobile from godep 10 months ago
lib.go fixup filekey.complete checks to check the actual value instead of just existence 10 months ago
quality.sh Fix logging of ACN 11 months ago
switch-ffi.sh switch swtich-*.sh back to sed now with -i.bak and rm lib.go.bak for compatibility with macos 1 year ago
switch-gomobile.sh switch swtich-*.sh back to sed now with -i.bak and rm lib.go.bak for compatibility with macos 1 year ago

README.md

libcwtch-go

C-bindings for the Go Cwtch Library.

Build Instructions

make linux
make android
make windows

Android Build Notes

Our build infrastructure is using Go 1.15.10, NDK 21.0.6113669, and gomobile commit bdb1ca9a1e083af5929a8214e8a056d638ebbf2d (2021 07 16)

Go 1.17.4, NDK 22.1.7171670, and gomobile 4e6c2922fdeed32d3596616518aaee7b0d79ce55 (2021 12 07) appear to compile as well.

Other version combinations untested and some definitely do not work.

Experimental iOS support

make ios

Using

Linux Desktop:

  • LD_LIBRARY_PATH set to point to libCwtch.so
  • or drop a symlink into /usr/lib

Android

  • copy cwtch.aar into flutter_app/android/cwtch

Windows

  • copy libCwtch.dll into the directory of the .exe using it