Skip to content

docs(android): declare applicationId before manifestPlaceholders in setup snippets#79

Merged
dianaKhortiuk-frontegg merged 1 commit into
masterfrom
docs/android-applicationid-before-manifestplaceholders
Jun 29, 2026
Merged

docs(android): declare applicationId before manifestPlaceholders in setup snippets#79
dianaKhortiuk-frontegg merged 1 commit into
masterfrom
docs/android-applicationid-before-manifestplaceholders

Conversation

@dianaKhortiuk-frontegg

Copy link
Copy Markdown
Collaborator

Problem

docs/setup.md and docs/usage.md show a manifestPlaceholders block to paste into defaultConfig:

manifestPlaceholders = [
    "package_name": applicationId,
    ...
]

but neither shows applicationId declared above it. Groovy evaluates defaultConfig { } top-to-bottom, so when a customer pastes the block at the top of defaultConfig (before their applicationId line), applicationId resolves to null, the package_name placeholder is empty, and the AAR manifest merge fails — a common source of integration friction.

Fix

Match the SDK's working example apps (frontegg-android-kotlin app / embedded / applicationId / multi-region build.gradle), which all declare applicationId first and then reference it in manifestPlaceholders:

  • setup.md — show applicationId above manifestPlaceholders, with a comment explaining the ordering requirement.
  • usage.md — instruct readers to add the block below their existing applicationId line, with an inline note on the package_name line.

Docs only — no behavioral change.

🤖 Generated with Claude Code

…etup snippets

The Android setup snippets in docs/setup.md and docs/usage.md drop
`manifestPlaceholders = ["package_name": applicationId, ...]` into defaultConfig
without showing applicationId above it. Customers paste the block at the top of
defaultConfig, before their applicationId line; Groovy evaluates defaultConfig
top-to-bottom, so applicationId resolves to null, the package_name placeholder is
empty, and the AAR manifest merge fails.

Match the SDK's working example apps (frontegg-android-kotlin app/embedded/
applicationId/multi-region build.gradle), which declare applicationId first and
then reference it: show applicationId above the placeholders in setup.md, and tell
readers in usage.md to add the block below their existing applicationId line, with
an inline note on the package_name line.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dianaKhortiuk-frontegg
dianaKhortiuk-frontegg merged commit 73f96b5 into master Jun 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants