GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - daimo-eth/native-demo

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
assets
assets
 
 
components
components
 
 
constants
constants
 
 
hooks
hooks
 
 
ios
ios
 
 
lib
lib
 
 
scripts
scripts
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
app.json
app.json
 
 
eas.json
eas.json
 
 
metro.config.js
metro.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Daimo React Native SDK Demo

Showcase app for @daimo/sdk/native — the first React Native deposit UI from Daimo.

What it demos

  • DaimoFrameRN — drop-in hosted deposit flow over react-native-webview
  • paymentMethods auto — localized picker via { mode: "auto" }
  • Fixed rails — { mode: "fixed", type: "ApplePay" | … }
  • Layouts — modal (bottom sheet) and embed (inline, host chrome)
  • Callbacks — onOpen, onClose, onPaymentStarted, onPaymentCompleted
  • External handoff — Apple Pay / wallet / fiat URLs via onOpenExternalUrl

Setup

npm install --legacy-peer-deps

Create a .env with your Daimo API key:

EXPO_PUBLIC_DAIMO_API_KEY=daimo_...

Start the app:

npx expo run:ios

Usage

  1. Pick Modal or Embed
  2. Choose how external URLs open (system browser vs in-app Safari)
  3. Tap Auto (recommended) or a fixed rail — creates a session to Base USDC and mounts DaimoFrameRN
  4. Watch SDK events in the log
import { DaimoFrameRN } from '@daimo/sdk/native';

// Session created with:
// display.paymentMethods = { mode: "auto" }

<DaimoFrameRN
  layout="modal"
  sessionId={sessionId}
  clientSecret={clientSecret}
  onClose={() => setOpen(false)}
  onPaymentCompleted={() => console.log('done')}
/>

See Payment Methods and React Native.

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.