Declare dependencies

  • The Driver SDK requires specific dependencies to communicate with Fleet Engine, including adding libraries and updating ProGuard configuration.

  • If using ProGuard for optimization, add specific lines to your configuration file to avoid warnings related to the required libraries.

  • ProGuard supports a minimum Android API level of 23 for Driver SDK integration.

  • For subsequent steps, proceed to creating authentication tokens for securing communication.

To ensure smooth communication between the Driver SDK and Fleet Engine, you need to declare the necessary dependencies. This involves adding specific libraries to your project and, if using ProGuard, updating your configuration file.

Update ProGuard configuration

If you use ProGuard to optimize your builds, you may need to add the following lines to your ProGuard configuration file:

-dontwarn com.google.**
-dontwarn io.grpc.**
-dontwarn okio.**

ProGuard supports the minimum Android API level 23.

What's next

Create authentication tokens