Development guidelines for Honeycomb's OpenTelemetry React Native SDK with build, test, and deployment workflows
Development guidelines and workflows for working with Honeycomb's OpenTelemetry distribution for React Native applications.
```
ios/ # iOS Native Modules
android/ # Android Native Modules
example/ # Example application for testing
ios/ # iOS app source
android/ # Android app source
src/ # TypeScript source
e2e/ # Detox test files
src/plugin/ # Expo UUID plugin
smoke-tests/ # Smoke test suite
smoke-e2e.bats # Main smoke test file
test_helpers/ # Test utilities
utilities.bash
```
```bash
yarn test
make smoke-ios # iOS smoke tests
make smoke-android # Android smoke tests
make lint
make format
```
```bash
yarn example ios # Run iOS
yarn example android # Run Android
xed example/ios
yarn bob build --target codegen
```
1. **Manual Testing**
- Launch example app and ask human to verify functionality
- Use example app for exploratory testing of new features
2. **Smoke Testing**
- Time-consuming but comprehensive
- Launches Example App and runs Detox tests
- Most updates only require modifying `smoke-tests/smoke-e2e.bats`
- Detox tests located at `example/e2e/starter.test.ts`
**ANDROID_HOME**
**JAVA_HOME**
Set environment variable: `export ANDROID_HOME=$HOME/Library/Android/sdk`
Also verify `JAVA_HOME` is configured
Set environment variable: `export JAVA_HOME=/Applications/Android\ Studio.app/Contents/jbr/Contents/Home`
Also verify `ANDROID_HOME` is configured
1. Read existing code to understand patterns
2. Ask about business logic if unclear
3. Make targeted changes to specific files
4. Update `CHANGELOG.md`
5. Stage only modified files: `git add path/to/file.ts`
6. Run relevant tests
7. Create PR using template (remove non-applicable sections)
1. Understand requirements and ask clarifying questions
2. Modify TypeScript source in `src/` or native modules in `ios/`/`android/`
3. Update example app in `example/src/` if needed to demonstrate feature
4. Regenerate native modules if JavaScript interfaces changed
5. Update `CHANGELOG.md` with feature description
6. Request manual testing from human
7. Update smoke tests in `smoke-tests/smoke-e2e.bats` if appropriate
1. Reproduce issue in example app if possible
2. Identify root cause in library code
3. Fix in appropriate layer (TypeScript, iOS native, or Android native)
4. Update `CHANGELOG.md` with fix description
5. Add test coverage if gap identified (with permission)
6. Run smoke tests if time permits
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/honeycomb-react-native-development/raw