Commit graph

21 commits

Author SHA1 Message Date
1d2c702085 fix: pin Expo SDK 54 with React Native 0.75 for build compatibility 2026-03-28 08:49:01 +00:00
073dedc25b fix: pin Gradle to 8.10 for Kotlin compatibility 2026-03-28 08:45:18 +00:00
ba6aeb6c7c feat: add configurable backend URL with UI prompt
- App now prompts for backend URL on first launch
- Stores in SecureStore for persistence
- Default: http://localhost:3001
- Can be changed in app settings
- Backend setup screen at /app/(auth)/backend-setup.tsx
2026-03-28 08:39:00 +00:00
bebfb94e0e fix: use recent Expo 55, regenerate android for EAS build 2026-03-28 08:36:55 +00:00
a861923a72 fix: remove local Java path that breaks EAS cloud builds 2026-03-28 08:32:32 +00:00
c086dcb416 feat: restore original app code with all features
Original app features restored from first commit:
- Auth screens (sign-in, sign-up, passkey, household)
- Main app screens (lists, stores, aisles)
- API client and websocket hooks
- Zustand state management
- Full UI components

Current blocker: Java/Gradle version compatibility when building locally

The app is properly configured - needs EAS cloud build or fixed local JDK
2026-03-28 08:26:54 +00:00
bafadc7c58 fix: complete minimal working app with proper dependencies
- Simplified App.tsx with working UI showing demo lists
- Fixed package.json with correct Expo SDK 54 versions
- Fixed app.json config (removed invalid field)
- Fixed metro.config.js to extend expo/metro-config
- App ready for build test
2026-03-28 08:15:24 +00:00
c4bb03ac76 feat: add GitHub Actions ad-hoc iOS build workflow
- Creates workflow for building without Apple Developer Program
- Uses Apple-Actions for certificate import
- Outputs .app file as artifact for sideloading

See ADHOC_BUILD_GUIDE.md for setup instructions
2026-03-28 08:01:08 +00:00
8fc637841f upgrade: switch to Expo SDK 54 for Expo Go compatibility
- Downgraded Expo from 55 to 54.0.0 (Expo Go supported version)
- Using React Native 0.75.0
- Using expo-router 3.4.0
- Dev server ready for testing on physical devices via Expo Go
2026-03-28 07:49:11 +00:00
85f25f952c upgrade: use stable Expo 55.0.0 and React Native 0.76.0
- Downgraded from Expo 55 canary to 55.0.0 stable (Expo Go compatible)
- Upgraded React Native to 0.76.0
- Upgraded expo-router to 55.0.0 stable
- Should now work with current Expo Go app
2026-03-28 07:47:54 +00:00
86a68ad54d upgrade: bump Expo to 55, React Native to 0.84.1
- Upgraded from Expo 54 to Expo 55.0.10-canary
- Upgraded React Native from 0.75 to 0.84.1
- Upgraded expo-router to 55.0.9-canary
- Better stability for Expo Go dev server testing
2026-03-28 07:43:45 +00:00
f69fb1e5cf fix: configure metro and App entry for Expo Go dev server
- Updated App.tsx to use proper Stack navigation
- Created ESM-compatible metro.config.js
- Fixed module resolution for monorepo structure
- Dev server now starts successfully

Ready to test on physical devices via Expo Go app
2026-03-28 07:40:29 +00:00
d6e9cde6db feat: create App.tsx entry point for Expo Router
- Added App.tsx with ExpoRoot for file-based routing
- Enables dev server to start without compilation errors
- Ready for Expo Go testing on physical device

To use:
1. Install Expo Go app on iPhone (free)
2. Run: cd apps/mobile && bun run dev
3. Scan QR code with Expo Go
4. App runs on device instantly
2026-03-28 07:36:05 +00:00
a3d0231068 feat: enable new architecture, fix ReactAppDependencyProvider, restore RNScreens
- Switched to new architecture mode (RCT_NEW_ARCH_ENABLED=1)
- Created ReactAppDependencyProvider podspec stub
- Added local podspec reference in Podfile
- Reverted RNScreens exclusions (needed for new arch)
- Pod install now completes with 83 deps

BLOCKER: Third-party library codegen not generating required headers
Affected: react-native-safe-area-context, react-native-screens, etc.

These packages require proper Fabric component generation which isn't
happening automatically. This is a known issue with new architecture
setup in monorepos.

RECOMMENDATION: Use EAS cloud build instead - it handles all new
architecture complexity automatically. Requires Apple Developer Program
enrollment (~$99/year) but eliminates these configuration headaches.
2026-03-27 20:19:36 +00:00
2f9e113374 fix: add COCOAPODS env vars and attempt CDN workarounds
- Added COCOAPODS_TRUNK_REPO_UPDATE_DISABLED to Podfile
- Attempted git-based specs repo (too slow on hotspot)
- Attempted HTTP fallback (not supported)
- Attempted CocoaPods monkey-patching

BLOCKER: CocoaPods CDN SSL handshake consistently fails with 'Connection reset'
This is a network-level issue, not fixable in code.

Next steps:
1. Try different network (corporate VPN, different ISP)
2. Ask CocoaPods team if CDN has SSL cert issues
3. Use EAS cloud build (requires Apple Developer Program signup)
4. Manually extract and link frameworks from a working build
2026-03-27 19:02:25 +00:00
d618eb8aea fix: restore Podfile.lock and apply RNScreens codegen workaround
- Restored working Podfile.lock from previous commit
- Updated Podfile to disable RNScreens codegen in old arch mode
- Issue: CocoaPods CDN SSL connection unstable
- Solution: Use Ruby 4.0.2 from Homebrew (not system Ruby 2.6)

User needs to reload shell to apply PATH:
  export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
Then retry: cd apps/mobile/ios && pod install
2026-03-27 18:42:12 +00:00
be21f70610 build: fix podfile properties and restore ios directory
- Restored ios/ directory after accidental deletion
- Reinstalled all CocoaPods (82 deps)
- Ready for Xcode GUI build

Note: Command-line xcodebuild has slow I/O (disk-bound)
Recommend building directly from Xcode GUI instead
2026-03-27 17:52:40 +00:00
728d6714c7 docs: add iOS build instructions for Xcode
- Clear step-by-step guide for building in Xcode GUI
- Command-line alternative provided
- Troubleshooting tips for common issues
- Architecture overview included
2026-03-27 17:44:37 +00:00
215a70b377 feat: downgrade to Expo 54 + React Native 0.75 for stability
- Downgraded from Expo 55 + RN 0.76 to Expo 54 + RN 0.75 (better compatibility)
- Eliminated JSI string conversion API mismatch errors
- Fixed postinstall patch script path resolution
- All 82 CocoaPods dependencies now resolve correctly
- Podfile.lock generated successfully
- Ready for local iOS builds on Xcode

Next: Open Bagsy.xcworkspace in Xcode and build for iPhone 16
2026-03-27 17:44:18 +00:00
66f538049b fix: resolve React Native 0.76 + Expo 55 compatibility for old architecture
- Patch Expo.podspec to conditionally call get_folly_config() only in new arch
- Conditionally require ReactAppDependencyProvider (new arch only)
- Downgrade React Native 0.76.0 (instead of 0.73 which had get_folly_config errors)
- Successfully completed pod install, generated Podfile.lock
- Add postinstall script to apply patches automatically on bun install
- iOS build artifacts ready in Bagsy.xcworkspace
2026-03-27 17:24:57 +00:00
5f1ca81e8f i call bagsy on the initial commit 2026-03-27 17:05:28 +00:00