droidcon NYC '19: (Android) Transformers - Bytecode in Disguise

droidcon NYC 2019 | (Android) Transformers - Bytecode in Disguise | Doug Stevenson
Course info
Level
Advanced
Updated
Sep 20, 2019
Duration
37m
Table of contents
(Android) Transformers - Bytecode in Disguise
Description
Course info
Level
Advanced
Updated
Sep 20, 2019
Duration
37m
Description

If you’ve used Firebase Performance Monitoring, you know that it automatically discovers and reports performance metrics for all the HTTP transactions in your app. But, have you ever wondered how it does that? Android doesn’t provide any APIs to listen in on an arbitrary connection (that would be a security problem), and Firebase supports URLConnection, Apache, and OKHTTP APIs. The secret here is bytecode manipulation at build time using the Transform API provided by the Android build tools. Join this session with Doug Stevenson to find out how the Firebase Performance Monitoring Gradle plugin intercepts and measures HTTP transactions at runtime with some assistance from bytecode manipulation at build time.

About the author
About the author

Droidcon New York is where the industry's leading Android experts converge to support the Android platform and create a strong network for developers and companies.

More from the author
droidcon NYC '19: Invading the Home Screen
Intermediate
33m
Sep 20, 2019
More courses by droidcon NYC