grpc-java/examples/android/strictmode
Eric Anderson 1551cc7403 Upgrade Protobuf Java to 3.22.3 (aka 22.3)
The version used by protoc-gen-grpc-java will be upgraded separately,
because of large C++ build changes necessary. But that won't impact
users at all. We are upgrading to protoc 22.3; only the grpc plugin is
not upgraded.

Bazel is upgraded for both Java and C++.
2023-04-17 13:16:20 -07:00
..
app Upgrade Protobuf Java to 3.22.3 (aka 22.3) 2023-04-17 13:16:20 -07:00
README.md examples/android: add example for grpc running under StrictMode (#5527) 2019-04-04 15:35:45 -07:00
build.gradle Bump to Gradle 7.6 and update plugins 2023-01-11 08:17:17 -08: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