grpc-java/examples/android/strictmode
Eric Anderson 80c3be0f80
Bump protobuf to 3.19.2
2022-01-06 09:08:50 -08:00
..
app Bump protobuf to 3.19.2 2022-01-06 09:08:50 -08:00
README.md examples/android: add example for grpc running under StrictMode (#5527) 2019-04-04 15:35:45 -07:00
build.gradle Bump Protobuf Gradle Plugin to 0.8.17 (#8336) 2021-07-21 19:30:38 -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