Skip to content

feat(example): rebuild demo app to match native iOS/Android features#164

Merged
brax10ward merged 1 commit into
masterfrom
braxton/sdk-678-update-react-native-demo-app-to-match-androidios-features
Jul 15, 2026
Merged

feat(example): rebuild demo app to match native iOS/Android features#164
brax10ward merged 1 commit into
masterfrom
braxton/sdk-678-update-react-native-demo-app-to-match-androidios-features

Conversation

@brax10ward

@brax10ward brax10ward commented Jul 15, 2026

Copy link
Copy Markdown
Contributor
CleanShot 2026-07-15 at 10 55 30 CleanShot 2026-07-15 at 10 55 17

Linear Link

SDK-678 — Update react-native demo app to match android/ios features

Summary

Rebuilds the example/ demo app so it mirrors the native iOS and Android demo apps, making it easy to test the full action flow

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactor (non-breaking change which cleans up code)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • This change impacts security

Checklist:

  • New and existing tests pass locally with my changes
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have tested on a physical iOS device and Android device
  • I have added tests that prove my fix is effective or that my feature works
  • I have followed the Code Review and Code Review Security guidelines
  • I have checked my code against flaws from the OWASP Top 10

Replace the 3-screen example (Home/Transact/Action) with a bottom-tab demo
mirroring the native demo apps:

- Tabs: Pay Link, User Link, Actions, Events, Settings
- Sub-screens: Company Login, Change Actions JSON editor, Data Response
- Actions screen cloned from the iOS SDK demo (PayLinkActions): collapsible
  account/bill groups, per-action launch, headless toggle, pay-link/accounts
  fetch, JSON editor (3 shapes), staleness warning
- On-screen Events log (filter/sort/clear, raw JSON detail) fed by all callbacks
- Settings: paste public token, environment, theme, language, debug, iOS
  presentation style
- Single-select task pickers (Pay Link / User Link) with starting-screen + company
- Data Response provider (identity + card) returned via onDataRequest for the
  SDK payment response; round-trip is iOS-only in the RN bridge
- Shared React Context + AsyncStorage persistence, reusable components
- Company suggestions ported from the Android demo
- Add @react-navigation/bottom-tabs, @expo/vector-icons, expo-clipboard,
  expo-font; remove unused @react-native-picker/picker
- Rewrite example README
Comment thread example/state/usePersistedState.ts
Comment thread example/state/usePersistedState.ts
@brax10ward
brax10ward marked this pull request as ready for review July 15, 2026 17:10
@brax10ward
brax10ward requested a review from a team as a code owner July 15, 2026 17:10
@brax10ward
brax10ward merged commit 0459cfa into master Jul 15, 2026
5 checks passed
@brax10ward
brax10ward deleted the braxton/sdk-678-update-react-native-demo-app-to-match-androidios-features branch July 15, 2026 19:47
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