| 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>
…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>
Remove the device-specific benchmark percentage from the release note. Co-Authored-By: Codex <noreply@openai.com>
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.
Point the performance entry at the replacement pull request. Co-Authored-By: Codex <noreply@openai.com>
📲 Install BuildsAndroid
|
Sorry, something went wrong.
* perf(android): Use build-time manifest metadata 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> * changelog * ref(android): Store metadata in manifest reader Use ManifestMetadataReader directly as the Gradle plugin injection target and remove the dedicated holder class. Co-Authored-By: OpenAI Codex <noreply@openai.com> * docs: Generalize performance changelog entry Remove the device-specific benchmark percentage from the release note. Co-Authored-By: Codex <noreply@openai.com> * docs: Update replacement PR changelog link Point the performance entry at the replacement pull request. Co-Authored-By: Codex <noreply@openai.com> --------- 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.
This replaces #5969, which was closed because GitHub retained a stale hidden conversation requirement.
💡 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.