feat: instantiate channel and return to go
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user