x/mobile: cannot use (*proxymobile_AuthStateHandler)(_param_stateHandler_ref) (value of type *proxymobile_AuthStateHandler) as type mobile.AuthStateHandler in assignment #56682
Labels
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
I am trying to use go to make a client library that should be able to used by all the things (mobiles, wasm ...)
Each thing handles state different. So I am trying to inject "state handlers" into the application.
I tried with a client version - and it works fine. But when I try with gomobile I get some errors that I don't understand.
I have got similar errors before when injection interfaces in gomobile applications - and I managed to resolve it by moving the interface definition into the same package as where it was called from. That didn't work with the new interfaces.
The text was updated successfully, but these errors were encountered: