diff --git a/.gitignore b/.gitignore index c38fa4e..5217291 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea *.iml +*.aar diff --git a/README.md b/README.md index 9f1bc8c..ee8b63b 100644 --- a/README.md +++ b/README.md @@ -1 +1,9 @@ -Using Java camelcase packnameing because gomobile + Java have problems with '_'s and '-'s +# goRicochetMobile + +An experimental wrapper of go-ricochet, the ricochet protocol library, to be used in Java via gomobile + + +# Notes +## gomobile gotchas + +- Using Java camelcase packnameing because gomobile + Java have problems with '_'s and '-'s diff --git a/goRicochetMobile.go b/goRicochetMobile.go index c2cbd3e..8dc303e 100644 --- a/goRicochetMobile.go +++ b/goRicochetMobile.go @@ -24,7 +24,8 @@ func EchoBot(privateKeyData string) { echobot := new(application.RicochetApplication) - l, err := application.SetupOnion("127.0.0.1:9051", "", privateKey, 9878) + l, err := application.SetupOnion("127.0.0.1:9051", "tcp4","", privateKey, 9878) + //l, err := application.SetupOnion("/data/data/org.torproject.android/app_bin/control.txt", "unix","", privateKey, 9878) if err != nil { log.Fatalf("error setting up onion service: %v", err)