Skip to content

[APAM-653] Bind analytics framework info for React Native#32

Merged
weiping-awx merged 2 commits into
mainfrom
chore/APAM-653-framework
May 12, 2026
Merged

[APAM-653] Bind analytics framework info for React Native#32
weiping-awx merged 2 commits into
mainfrom
chore/APAM-653-framework

Conversation

@weiping-awx
Copy link
Copy Markdown
Contributor

@weiping-awx weiping-awx commented Apr 10, 2026

image

Summary

  • Adds framework: "rn" to analytics common data on both iOS and Android so analytics events are tagged with the correct integration framework
  • iOS: Calls AWXAnalyticsLogger.shared.bindExtraCommonData in initialize
  • Android: Calls AnalyticsLogger.initialize + updateExtraCommonData in initialize, after AirwallexStarter.initialize, to ensure the tracker exists before any payment flow

Test plan

  • Run iOS example app, trigger a payment flow, verify analytics events contain framework: "rn"
  • Run Android example app, trigger a payment flow, verify analytics events contain framework: "rn"
  • Verify all payment flow paths (entire, card, Apple Pay/Google Pay, card details, consent) include the framework tag

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@weiping-awx weiping-awx merged commit 96cc73d into main May 12, 2026
5 checks passed
@weiping-awx weiping-awx deleted the chore/APAM-653-framework branch May 12, 2026 09:07
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