Skip to content

Add Firebase Analytics session ID binding#118

Merged
AdamEssenmacher merged 2 commits into
mainfrom
codex/missing-binding-analytics-sessionid
Apr 10, 2026
Merged

Add Firebase Analytics session ID binding#118
AdamEssenmacher merged 2 commits into
mainfrom
codex/missing-binding-analytics-sessionid

Conversation

@AdamEssenmacher

Copy link
Copy Markdown
Owner

Summary

  • Add the missing Firebase Analytics binding for +sessionIDWithCompletion: from FIRAnalytics.h.
  • Add a targeted local E2E case, analytics-sessionidwithcompletion, that calls the new managed API and verifies the call reaches native without binding-layer exceptions.
  • Allow targeted E2E cases for packages already referenced by the base app to omit extra package references while still requiring the binding package in the local feed.

Validation

  • dotnet pack source/Firebase/Analytics/Analytics.csproj --configuration Release --output output
  • zsh -n tools/e2e/run-firebase-foundation.sh
  • python3 -m json.tool tests/E2E/Firebase.Foundation/runtime-drift-cases.json >/dev/null
  • tools/e2e/run-firebase-foundation.sh --package-dir output --configuration Debug --runtime-drift-case analytics-sessionidwithcompletion

The targeted E2E case passed. The native callback returned NSError: Analytics uninitialized, which is acceptable here because the binding crossed into Firebase correctly without ObjCRuntime.ObjCException, selector failure, or marshaling failure.

@AdamEssenmacher

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@AdamEssenmacher AdamEssenmacher merged commit 967dcc7 into main Apr 10, 2026
1 check passed
@AdamEssenmacher AdamEssenmacher deleted the codex/missing-binding-analytics-sessionid branch April 10, 2026 23:00
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.

1 participant