This directory contains example apps demonstrating @lugg/maps.
example/
├── bare/ # Bare React Native (react-native-community/cli)
├── expo/ # Expo managed workflow
└── shared/ # Shared components used by both examples
Copy the example env file and add your Google Maps API key:
cp bare/.env.example bare/.env
cp expo/.env.example expo/.envEdit both .env files with your API key:
GOOGLE_MAPS_API_KEY=your_api_key_here
From the repo root:
# Install dependencies
yarn
# Run bare example
yarn bare ios
yarn bare android
# Run expo example
yarn expo ios
yarn expo androidThe shared/ directory contains reusable components and utilities used by both example apps. This ensures consistent behavior across different React Native environments.