⚡ gRPC Inspector
Flocon allows you to inspect gRPC calls and Protocol Buffers messages in real time, supporting Android applications built with grpc-java / grpc-android.
Prerequisites
gRPC Version
Ensure your grpc-android / grpc-java version is at least 1.70.0.
The gRPC calls are reported to the network plugin: add flocon-network-core and install it
(the bad network simulation also applies to gRPC calls):
Choosing the Right Artifact
Android projects frequently use either standard Protobuf (protobuf-java / protobuf-kotlin) or the lightweight mobile variant (protobuf-javalite / protobuf-kotlin-lite). Flocon provides dedicated artifacts for each to ensure clean JSON serialization:
Release builds
The gRPC interceptors are Android only. The -no-op artifacts expose the same API
(FloconGrpcInterceptor, FloconGrpcFormatter) and forward every call untouched, so the same
code compiles in debug and release.
Interceptor Configuration
Attach FloconGrpcInterceptor to your ManagedChannelBuilder
(io.github.openflocon.flocon.grpc.lite.FloconGrpcInterceptor for the lite artifact):