grpc-java/examples/android/strictmode
ZHANG Dapeng 0d6546719a
all: bump protobuf to 3.12.0
Version 3.12.0 is needed for the feature of support for proto3 field presence #7051
2020-05-20 16:30:59 -07:00
..
app all: bump protobuf to 3.12.0 2020-05-20 16:30:59 -07:00
README.md examples/android: add example for grpc running under StrictMode (#5527) 2019-04-04 15:35:45 -07:00
build.gradle examples/android: add example for grpc running under StrictMode (#5527) 2019-04-04 15:35:45 -07:00
demo.png examples/android: add example for grpc running under StrictMode (#5527) 2019-04-04 15:35:45 -07:00
settings.gradle examples/android: add example for grpc running under StrictMode (#5527) 2019-04-04 15:35:45 -07:00

README.md

gRPC Android StrictMode Example

  • This example intends to show the compatibility of gRPC with Android StrictMode.
  • Android SDK version 28 is required for StrictMode.VmPolicy.Builder.penaltyListener used in the example.
  • This example does the same thing as HelloWorld example except popping up a dialog for detected StrictMode policy violation (shown below).

demo img