Repository navigation
SDK hardening: Jest tests + Android requestTrackingAuthorization semantics - #12
Open
ahsanalidotme wants to merge 1 commit into
Open
ahsanalidotme wants to merge 1 commit into
ahsanalidotme wants to merge 1 commit into
Conversation
…olve true Android has no App Tracking Transparency, so the platform never restricts tracking. Resolve true (matching Flutter) and document it. Adds tests for the JS/TS layer with a mocked native module and an npm test script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the React Native checklist for linktrail-backend#114.
Covered
__tests__/index.test.tsover the JS/TS layer with a mocked native module: API surface, argument passing, configure/deep-link forwarding (Linkinginitial + events,autoHandleLinks),onLink/onAttribution/onErroremitters, error propagation, platform behavior of the paste button.npm testscript added.requestTrackingAuthorizationnow resolvestrue(wasfalse), matching Flutter. Android has no ATT, so the platform never restricts tracking; app-level consent remainssetConsent/requireConsent. Documented in JSDoc, the codegen spec, README and CHANGELOG (Unreleased, flagged as a behavior change). iOS unchanged.Not covered
ci.ymlhas nonpm teststep. Workflow edits are intentionally not in this PR (pushes touching.github/workflowsare rejected); a one-step patch is provided separately.Closes linktrail-io/linktrail-backend#114
🤖 Generated with Claude Code