Unity3dSampleTemplate icon indicating copy to clipboard operation
Unity3dSampleTemplate copied to clipboard

Android support?

Open KCongUP opened this issue 3 years ago • 3 comments

Does this project and libraries supported on Android? I can build my project no problem and installed built file on my device, but when trying to send RPC request it return an exception. exception:Error occurred when trying to send rpc requests(s): eth_call

KCongUP avatar Nov 02 '21 11:11 KCongUP

Yes it does

juanfranblanco avatar Nov 02 '21 14:11 juanfranblanco

Thank you for reply, Update on the issue: i have found out the problem was the Configuration - Scripting backend. If i use Mono and build, the function can run on device no problem. But if i switch to IL2CPP, it will thrown out the exception above. Is there any way i can use these libraries with IL2CPP?

KCongUP avatar Nov 02 '21 17:11 KCongUP

@KCongUP yes everything has been built to support AOT. Now the example includes all the libraries, so there will be some you won't need (reactive libraries, etc). If you use the subset of 351 you will be fine. And add as you need. https://github.com/Nethereum/Nethereum/releases/tag/4.1.0

juanfranblanco avatar Nov 03 '21 14:11 juanfranblanco