Skip to content

Commit

Permalink
Merge pull request #220 from embrace-io/update-compose-docs
Browse files Browse the repository at this point in the history
Add compose click event note
  • Loading branch information
fractalwrench authored Feb 25, 2025
2 parents dab6e25 + a82ea3a commit c410cdf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/android/features/jetpack-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ The Embrace SDK injects code into your APK using a process we call “swazzling
Requires Jetpack Compose dependency at build time and run time
:::

:::info
Instrumenting Jetpack Compose click events incurs a small performance penalty on a tap as it requires searching Compose's UI tree. On lower-end devices this may manifest as dropped frames.
:::

### Set Local config and swazzler block

To enable onClick instrumentation, You will need to modify your `embrace-config.json` [file](/android/features/configuration-file.md)
Expand Down

0 comments on commit c410cdf

Please sign in to comment.