{"id":31817737,"url":"https://github.com/crossmint/crossmint-expo-demo","last_synced_at":"2025-10-11T10:23:47.412Z","repository":{"id":285300363,"uuid":"955689303","full_name":"Crossmint/crossmint-expo-demo","owner":"Crossmint","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-08T00:44:33.000Z","size":2194,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-08T01:29:22.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crossmint-expo-demo-web.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Crossmint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-27T03:18:57.000Z","updated_at":"2025-04-08T00:44:36.000Z","dependencies_parsed_at":"2025-03-30T23:29:58.392Z","dependency_job_id":null,"html_url":"https://github.com/Crossmint/crossmint-expo-demo","commit_stats":null,"previous_names":["crossmint/crossmint-expo-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Crossmint/crossmint-expo-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossmint%2Fcrossmint-expo-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossmint%2Fcrossmint-expo-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossmint%2Fcrossmint-expo-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossmint%2Fcrossmint-expo-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Crossmint","download_url":"https://codeload.github.com/Crossmint/crossmint-expo-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossmint%2Fcrossmint-expo-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006851,"owners_count":26084204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-11T10:23:30.342Z","updated_at":"2025-10-11T10:23:47.406Z","avatar_url":"https://github.com/Crossmint.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crossmint Expo Demo\n\nA comprehensive demonstration of integrating Crossmint's Payments and Wallets SDK with React Native + Expo using WebView and DOM Components.\n\n## Overview\n\nThis monorepo showcases two different approaches to integrating Crossmint's SDK in a React Native environment:\n\n1. **WebView Integration**: Traditional approach using WebView to embed Crossmint's web components\n2. **DOM Components Integration**: Experimental approach using Expo's DOM Components for native-like performance\n\n## Project Structure\n\n```\ncrossmint-expo-demo/\n├── apps/\n│   ├── mobile/     # Expo React Native app\n│   └── web/        # Web app to be embedded\n```\n\n## Features\n\n- **Mobile App (Expo)**\n  - Embedded Crossmint Checkout integration\n  - Wallet management\n  - Two integration approaches:\n    - WebView-based integration\n    - DOM Components-based integration (experimental)\n\n- **Web App**\n  - Standalone web implementation\n  - Can be embedded in the mobile app\n  - Demonstrates Crossmint SDK's web capabilities\n\n## Getting Started\n\n1. Install dependencies:\n\n   ```bash\n   pnpm install\n   ```\n\n2. Add environment variables to `.env` in the mobile app:\n\n   ```bash\n   # payments\n   EXPO_PUBLIC_CLIENT_COLLECTION_API_KEY=\"PAYMENT_CLIENT_API_KEY\"\n   EXPO_PUBLIC_COLLECTION_ID=\"COLLECTION_ID\"\n\n   # wallets\n   EXPO_PUBLIC_CLIENT_WALLET_API_KEY=\"WALLET_CLIENT_API_KEY\"\n   ```\n\n3. Run the mobile app:\n\n   ```bash\n   cd apps/mobile\n   pnpm mobile:ios\n   ```\n\n4. Run the web app:\n\n   ```bash\n   cd apps/web\n   pnpm web:dev\n   ```\n\n## Integration Approaches\n\n### 1. WebView Integration\nThe traditional approach using WebView to embed Crossmint's web components. This provides a reliable way to integrate the SDK but may have performance overhead.\n\n### 2. DOM Components Integration (Experimental)\nUsing Expo's [DOM Components](https://docs.expo.dev/guides/dom-components/), this approach offers:\n- Better performance through native-like rendering\n- Direct access to native features\n- Seamless integration with React Native components\n- Reduced WebView overhead\n\n## Technical Notes\n\n- The mobile app demonstrates both integration approaches\n- The web app serves as a reference implementation\n- DOM Components integration is experimental and may have limitations\n- Apple Pay integration requires additional setup\n\n## Development\n\nThis is a monorepo using pnpm workspaces. Key commands:\n\n```bash\n# Install all dependencies\npnpm install\n\n# Run mobile app\npnpm mobile:ios\n\n# Run web app\npnpm web:dev\n```\n\n## Disclaimer\n\nThe DOM Components integration is experimental and should be used for reference only. For production applications, we recommend using the WebView integration approach until DOM Components support is more mature.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossmint%2Fcrossmint-expo-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrossmint%2Fcrossmint-expo-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossmint%2Fcrossmint-expo-demo/lists"}