C-bindings for the Go Cwtch Library https://cwtch.im
This repository has been archived on 2023-06-16. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Dan Ballard f2067348ec
continuous-integration/drone/pr Build is passing Details
NewPeer enrichment of conversations: group use groupServer state
2022-01-07 11:32:46 -05:00
constants minor support to manage profile servers 2021-12-07 18:13:56 -08:00
features don't fetch metrics for non running servers 2021-12-20 18:12:34 -05:00
utils NewPeer enrichment of conversations: group use groupServer state 2022-01-07 11:32:46 -05:00
.drone.yml pin drone container version to deal with docker hub instability 2021-12-20 18:22:44 -05:00
.gitignore macos uses .dylib 2021-08-28 18:25:50 -04:00
BUILDING_DEBUG.md Fresh Repository Commit - Cwtch Beta 2021-06-24 15:30:46 -07:00
LICENSE mit license 2021-06-25 15:13:06 -07:00
MEMORY.md Clarify Memory Ownership Model of libCwtch and Callers 2021-08-24 22:04:38 -07:00
Makefile make clean libCwtch.dylib 2021-09-30 10:49:57 -07:00
README.md cwtch upgrade dropping unused events; android build notes 2021-12-17 15:38:26 -05:00
clangwrap.sh Build ios 2021-08-05 22:49:17 -07:00
go.mod add caching and filtering of contact state change events; change logic from contact auth to approved/blocked 2022-01-06 17:09:49 -05:00
go.sum add caching and filtering of contact state change events; change logic from contact auth to approved/blocked 2022-01-06 17:09:49 -05:00
lib.go add caching and filtering of contact state change events; change logic from contact auth to approved/blocked 2022-01-06 17:09:49 -05:00
quality.sh Updated Cwtch Refactor 2021-11-17 12:33:51 -08:00
switch-ffi.sh switch swtich-*.sh back to sed now with -i.bak and rm lib.go.bak for compatibility with macos 2021-08-09 19:46:37 -04:00
switch-gomobile.sh switch swtich-*.sh back to sed now with -i.bak and rm lib.go.bak for compatibility with macos 2021-08-09 19:46:37 -04:00

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