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
-
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? |
Beta Was this translation helpful? Give feedback.
Answered by
hajimehoshi
Jun 12, 2024
Replies: 1 comment
-
You can expose Go APIs to the Android/iOS world, and vice versa. You can use the same way as EDIT: Reverse binding are not available. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zhanjunjie2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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/gobindEDIT: Reverse binding are not available.