grpc-java/examples/android/strictmode
Terry Wilson b5b7cacba9
Upgrade Android Gradle plugin to 7.4.0 (#9933)
This is the latest version of the plugin supported by the Gradle version
in use at the moment (7.6).

Note that this also upgrades the R8 optimizer to a version (4.0.48) that
now uses "full mode" optimization by default.

This also splits off Android projects to run under Java 11 (Gradle
plugin requirement) while the other projects continue to run under Java
8.
2023-03-08 11:18:27 -08:00
..
app Upgrade Android Gradle plugin to 7.4.0 (#9933) 2023-03-08 11:18:27 -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 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