Skip to content

fix: react native + starter wallet improvements

Viet Tan Tran requested to merge github/fork/gatteo/chore/polish-docs into main

Created by: gatteo

Summary

  • Fix incorrect scripts, environment variables, and broken links in React Native documentation
  • Update code examples to use current @tetherto/wdk-react-native-provider API
  • Improve developer experience with clearer quick start instructions

Changes

react-native-starter.md

  • Remove non-existing gen:bundle script from Quick Start
  • Fix env variable name: EXPO_PUBLIC_WDK_INDEXER_URL → EXPO_PUBLIC_WDK_INDEXER_BASE_URL
  • Add Tron environment variables
  • Update Available Scripts table (remove gen:bundle, add typecheck)
  • Update Project Structure to match actual repository
  • Update Technology Stack versions to match package.json
  • Add prerequisites hint with link to quickstart
  • Combine clone/install into single copyable command
  • Add npx expo prebuild step for first-time setup

react-native-quickstart.md

  • Remove Solana from supported blockchains list
  • Fix env variable name and add Tron variables
  • Fix broken link to chain configuration guide
  • Fix broken link missing .md extension
  • Remove reference to undefined handleImportWallet function

ui-kits/react-native-ui-kit/

  • Add content to empty README.md
  • Update integration example to use useWallet hook from @tetherto/wdk-react-native-provider instead of outdated direct WDK API

Merge request reports