Skip to content

Latest commit

 

History

History
90 lines (70 loc) · 2.06 KB

File metadata and controls

90 lines (70 loc) · 2.06 KB

Pre-Release Testing Checklist

Essential Tests (Required for 95%+ confidence)

1. Integration Testing

# Create a fresh React Native project
npx react-native init TestGNSS --version 0.72.0
cd TestGNSS

# Install your updated library
npm install ../path/to/your/gnss-library

# Test basic import
# Add to App.js:
import { GnssStatusChecker } from 'react-native-gnss-status-checker';

2. Build Testing

# Clean build
cd android && ./gradlew clean && cd ..

# Debug build
npx react-native run-android

# Release build  
cd android && ./gradlew assembleRelease

3. Device Testing

  • Test on Android device with GPS
  • Verify permissions work
  • Test getGNSSStatus() method
  • Test startListening() and stopListening()
  • Verify satellite data reception

4. Edge Case Testing

  • Test on Android API 24 (minimum)
  • Test on Android API 34 (target)
  • Test with location services disabled
  • Test without GPS hardware (emulator)

Current Confidence Factors

✅ Verified (High confidence)

  • TypeScript compilation
  • Library build process
  • Gradle configuration syntax
  • React Native module structure
  • No deprecated method usage

⚠️ Unverified (Risk areas)

  • Actual device integration
  • Consumer app build process
  • Runtime GNSS functionality
  • Cross-device compatibility

Quick Validation Commands

# 1. Build library
yarn prepack

# 2. Create test project
npx react-native init GNSSTest
cd GNSSTest
npm install file:../path/to/gnss-library

# 3. Test build
npx react-native run-android

# 4. Runtime test
# Add this to App.js and run:
import { GnssStatusChecker } from 'react-native-gnss-status-checker';

useEffect(() => {
  GnssStatusChecker.getGNSSStatus()
    .then(console.log)
    .catch(console.error);
}, []);

Risk Mitigation

If issues arise:

  1. Gradle conflicts: Use the workaround in UPGRADE_GUIDE.md
  2. JVM issues: Verify consumer app uses JDK 17
  3. Build failures: Clean project and retry
  4. Runtime errors: Check Android permissions and device capabilities