为 ListEmpty 组件添加图标,改善无数据时的用户体验
更新 BottomNav 组件,当用户未认证时条件性导航到认证页面
在 Generate 和 Sync 组件中实现 useFocusEffect,将未认证用户重定向到认证页面
重构 Index 组件,使用 ListEmpty 显示无数据状态
改善 Sync 和 BleManager 组件中的错误处理和用户反馈
更新 Auth 组件中的认证流程,简化用户登录和注册过程
增强 BleClient 和 BleManager 中的蓝牙连接管理,确保正确的状态处理
调整 fetch logger,在 401 错误时将用户重定向到认证页面
重构 UserStore 使用 makeAutoObservable 以实现更好的状态管理users to the auth page.
- Refactored Index component to utilize ListEmpty for displaying no data state.
- Improved error handling and user feedback in Sync and BleManager components.
- Updated authentication flow in Auth component to streamline user sign-in and sign-up processes.
- Enhanced BLE connection management in BleClient and BleManager to ensure proper state handling.
- Adjusted fetch logger to redirect users to the auth page on 401 errors.
- Refactored UserStore to use makeAutoObservable for better state management.
- Reorganized imports for better readability
- Integrated Alipay payment method using AlipayController
- Enhanced user experience with dynamic recharge options
- Updated styling for header and buttons for consistency
- Added BannerSection component for background video display
- Removed deprecated ESLint configuration and improved TypeScript settings
- Updated protocol constants for BLE communication
- Enhanced subscription management interfaces and methods
- Cleaned up package.json and tsconfig.json for better project structure