| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Allow the Android Gradle plugin to provide authoritative manifest metadata so SDK initialization can skip PackageManager and Bundle unparceling. Read the injected map directly to avoid conversion overhead. Refs JAVA-531 Co-Authored-By: Codex <noreply@openai.com>
Sorry, something went wrong.
📲 Install BuildsAndroid
|
Sorry, something went wrong.
Performance metrics 🚀
Baseline results on branch: mainStartup times
App size
Previous results on branch: perf/java-531-generated-manifest-metadataStartup times
App size
|
Sorry, something went wrong.
…ed-manifest-metadata # Conflicts: # CHANGELOG.md
Use ManifestMetadataReader directly as the Gradle plugin injection target and remove the dedicated holder class. Co-Authored-By: OpenAI Codex <noreply@openai.com>
There was a problem hiding this comment.
LGTM from the sentry-java side. i just had one thought but not sure how feasible it is.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM from the sentry-java side. i just had one thought but not sure how feasible it is.
Sorry, something went wrong.
Remove the device-specific benchmark percentage from the release note. Co-Authored-By: Codex <noreply@openai.com>
| Back | FazBrowse Home | New Git URL |
📜 Description
Use manifest metadata injected by the Sentry Android Gradle plugin when available. The existing PackageManager Bundle remains the fallback, and all existing runtime option precedence remains unchanged.
💡 Motivation and Context
Reading ApplicationInfo metadata and converting every manifest option during startup showed up prominently in customer traces. The paired plugin change in getsentry/sentry-android-gradle-plugin#1405 resolves typed metadata from the final merged manifest and avoids that runtime work, reducing median SDK initialization time by 6.5% in the all-options benchmark.
💚 How did you test it?
Ran the ManifestMetadataReader release unit tests, including typed generated values, absent keys, auto-init, PackageManager fallback, and no Context access on the generated path. Also ran spotlessApply and apiDump.
📝 Checklist
🔮 Next steps
Release with getsentry/sentry-android-gradle-plugin#1405 to enable the generated path.