Skip to content

v0.3.1

Compare
Choose a tag to compare
@Burzo Burzo released this 29 Nov 13:01
· 9 commits to main since this release
0ae8a73

What's Changed

  • Added OAuth authentication flow for iOS by @Burzo in #59
  • Added RTK query and all backend types and API calls by @Burzo in #62

Features

  • Implemented comprehensive RTK Query setup for API communication
  • Added type-safe API endpoints for all major resources:
    • Users
    • Devices
    • Media
    • Observations
    • Projects
    • Sensor Records
    • Deployments
  • Integrated environment configuration support using react-native-config

Technical Changes

  • Created centralized API infrastructure under src/redux/api/
  • Added TypeScript interfaces for all API entities
  • Implemented authentication-aware base query configuration
  • Set up API URL management system
  • Integrated RTK Query middleware with Redux store

Dependencies

  • Added react-native-config: ^1.5.3

Other Improvements

  • Removed debug console.logs
  • Cleaned up authentication slice code
  • Updated Android build configuration for environment variables

Migration Notes

  • Environment variables now need to be configured in .env file
  • API base URL should be specified in environment configuration

Full Changelog: v0.3.0...v0.3.1