feat: instantiate channel and return to go

This commit is contained in:
2020-06-19 18:28:01 -04:00
parent e9b23d155d
commit 52786735c7
3 changed files with 43 additions and 11 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func main() {
}
}()
go func() {
channel, err := android.NewChannel(app.JavaVM(), "hello", "description")
channel, err := android.NewChannel("hello", "description")
if err != nil {
log.Printf("channel creation failed: %v", err)
}