Home | History | Annotate | only in /external/grpc-grpc/src/csharp/experimental
Up to higher level directory
NameDateSize
build_native_ext_for_android.sh22-Oct-20201.7K
build_native_ext_for_ios.sh22-Oct-20201.9K
build_unitypackage.sh22-Oct-20201,021
README.md22-Oct-20201.5K

README.md

      1 This directory contains useful resources for getting gRPC C# to work on
      2 platforms that are not yet fully supported.
      3 
      4 # Xamarin
      5 
      6 gRPC C# now has experimental support for Xamarin.
      7 See [HelloworldXamarin](/examples/csharp/HelloworldXamarin) for an example how to use it.
      8 
      9 What's currently supported:
     10 
     11 Xamarin.Android
     12 - supported API level: Kitkat 4.4+ (= API level 19)
     13 - supported ABIs: `armeabi-v7a` (vast majority of Android devices out there), 
     14   `arm64-v8a` (some newer Android devices), `x86` (for emulator)
     15 
     16 Xamarin.iOS
     17 - supported architectures: arm64 (iPhone 6+) and x86_64 (iPhone simulator)
     18 
     19 # Unity
     20 
     21 gRPC C# now has experimental support for Unity. Please try using gRPC with
     22 Unity and provide feedback!
     23 
     24 How to test gRPC in a Unity project
     25 1. Create a Unity project that targets .NET 4.x (Edit -> Project Settings -> Editor -> Scripting Runtime Version). gRPC uses APIs that are only available in .NET4.5+ so this is a requirement.
     26 2. Download the latest development build of `grpc_unity_package.VERSION.zip` from
     27    [daily builds](https://packages.grpc.io/)
     28 3. Extract the `.zip` file in the `Assets` directory in your Unity project
     29 4. Unity IDE will pick up all the bundled files and add them to project automatically.
     30    You should be able to use gRPC and Protobuf in your scripts from now on.
     31 
     32 What's currently bundled in the `grpc_unity_package`
     33 -  Grpc.Core and its dependencies
     34 -  Google.Protobuf
     35 -  Precompiled native libraries for Linux, MacOS, Windows, Android and iOS.
     36