Using the SDK

While you are reading this section, one thing is certain: you don't need to configure the firebase SDK anymore, because we have already configured it in the previous section. We simply need to add the dependency now.

In the project-level build.gradle, inside buildscripts | dependencies, add the following line:

classpath ''

Now, open the app-level build.gradle and insert the following line:

apply plugin: ''

After the plugin is configured, add the following line in the app-level build.gradle dependencies block:

implementation ''

Recompile your app. Automatic traces and HTTP/S network requests are now monitored.

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.