Android

There are several ways to setup Network Mocking for Android devices.

Simplest option. Add a dependency.

Add the following dependency to your project:

debugImplementation("dev.mobile:maestro-network-proxy-android-unsafe:+")

This will automatically set a networkSecurityConfig in your AndroidManifest that will trust Maestro's certificate.

This option should work for API version 24 and higher.

Advanced. Trust the Maestro certificate.

If you are already using your own networkSecurityConfig or have other special needs, you can instead use Maestro's certificate directly that can be obtained here.

Last updated

Was this helpful?