Skip to content

How can Android and iOS dynamically and in real time pass parameters to a game? Also, how can the game call methods from Android or iOS? #3018

Closed Answered by hajimehoshi
zhanjunjie2019 asked this question in Q&A
Discussion options

You must be logged in to vote

You can expose Go APIs to the Android/iOS world, and vice versa. You can use the same way as gobind. See https://pkg.go.dev/golang.org/x/mobile/cmd/gobind

EDIT: Reverse binding are not available.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zhanjunjie2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants