dgkanatsios / AzureServicesForUnity

Accessing Azure services (App Service, Table Storage, CosmosDB with Table API, Event Hubs) from a Unity game
https://dgkanatsios.com/2016/04/14/use-azure-services-from-unity/
MIT License
55 stars 17 forks source link

OData not working on iOS #1

Closed dgkanatsios closed 8 years ago

dgkanatsios commented 8 years ago

iOS uses AOT, so it cannot generate dynamic code. Thus, the partial evaluator does not work because it internally uses Reflection.Emit(). Researching on ways to make the below lines work

Delegate compiled = Expression.Lambda(expr).Compile();
object value = compiled.DynamicInvoke();
return Expression.Constant(value, expr.Type);
dgkanatsios commented 8 years ago

Fixed on version 0.0.4