Skip to content

Add a per-environment fraud key override to the example app - #804

Merged
Jordan-Nelson merged 5 commits into
masterfrom
jordan/fraud-key-override
Nov 18, 2026
Merged

Jordan-Nelson merged 5 commits into
masterfrom
jordan/fraud-key-override

Conversation

@Jordan-Nelson

@Jordan-Nelson Jordan-Nelson commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Adds optional per-environment fraud key overrides to the example app, so verified requests can be tested against staging or a local server without a new build.

Testing

  • make ci-build-example passes.

Manual Testing

Confirmed that prod still works with no override, staging and local work with appropriate override.

Screenshot iPhone 18 Pro 11-16-2026 at 11 29 42 AM

Jordan-Nelson and others added 4 commits November 16, 2026 11:14
Staging and local servers use their own fraud payload encryption keys,
so testing them meant editing the fraud SDK's key and rebuilding. Add
optional fraud public key and key version fields for Staging and Local
in Settings -> Environment. They are saved on the device per
environment. At launch, if the current environment has a saved key, the
app passes it to the fraud SDK's internal setKeyOverride API before
Radar.initialize; otherwise the API is not called. Production cannot be
overridden.

Bumps RadarSDKFraud to the branch that adds the internal API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jordan-Nelson Jordan-Nelson changed the title Example: optional per-environment fraud key override Add a per-environment fraud key override to the example app Nov 17, 2026
@Jordan-Nelson
Jordan-Nelson marked this pull request as ready for review November 17, 2026 22:26
@stevepopovich

stevepopovich commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

maybe link the other fraud PR?

@Jordan-Nelson
Jordan-Nelson added this pull request to the merge queue Nov 18, 2026
Merged via the queue into master with commit 00f53b6 Nov 18, 2026
5 checks passed
@Jordan-Nelson
Jordan-Nelson deleted the jordan/fraud-key-override branch November 18, 2026 18:04
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