Scope of Work Gesture & Performance Optimization Current issue: Minor latency caused by worklet → JS bridge transitions, grid cloning, and unnecessary re-renders. You will: Profile and eliminate unnecessary re-renders Reduce gesture-to-render pipeline to under 16ms Ensure true 1:1 finger tracking (no floaty, elastic, or spring behavior) Isolate timer state from grid rendering Validate React.memo boundaries Ensure consistent 60fps on mid-tier devices (iPhone 11 baseline) Remove console logs from production paths Goal: Player movement must feel instant, tactile, and fully responsive. Post-Completion Interaction Phase Polish After puzzle completion, a secondary interactive phase is unlocked that allows the user to interact with remaining visual elements on the board. Requirements: True 1:1 gesture tracking Visual changes must reflect actual underlying grid state (not cosmetic overlays) Accurate progress percentage based on real cleared elements Optimize element-clearing loop performance Confirm no memory leaks Smooth milestone haptic feedback Daily Puzzle Logic Validation + Archive Feature You will: Validate deterministic seeded daily puzzles Test day-boundary behavior (timezone handling) Implement a historical puzzle archive Regenerate past puzzles via seed formula Persist completion state locally Ensure archive loading does not block UI Apple In-App Purchase ($0.99 Non-Consumable) Replace simulated purchase logic with real Apple IAP. Requirements: Implement Apple StoreKit via Expo-compatible IAP library Non-consumable purchase type Restore Purchases support Sandbox/TestFlight validation Proper error handling Persist purchase state locally No subscriptions. No third-party billing. App Store Submission Readiness You will: Clean production build (no debug UI) Validate eas.json / app.json configuration Confirm icon + splash requirements Ensure IAP compliance (Guideline 3.1.1) Confirm no crashes Deliver working TestFlight build Not In Scope Backend CMS integration Authentication User dashboards Navigation structure Framework migration Rewriting architecture Work strictly within the existing Expo / React Native setup. Current Stack (Do Not Change) React Native 0.79.6 Expo SDK 53 Expo Router Reanimated 3 Gesture Handler 2 Zustand AsyncStorage NativeWind EAS Build Key Files index.tsx (main game screen) GameGrid.tsx InteractionOverlay.tsx toolshed.tsx inventory-store.ts app.json eas.json Acceptance Criteria Project is complete when: Drag feels instant and 1:1 No frame drops during continuous drag Post-completion interaction phase reflects real grid state Daily puzzle consistent across devices Archive feature implemented Apple IAP functional Restore purchases works TestFlight build runs without crashes Required Skills React Native (3+ years) Expo SDK & EAS Build experience React Native Reanimated 3 (worklets) React Native Gesture Handler Performance profiling & render optimization Zustand or equivalent state management Apple In-App Purchases (StoreKit) App Store submission process iOS performance debugging Experience optimizing animation-heavy UIs Bonus: Mobile puzzle game optimization Gesture-heavy interface experience App Store review troubleshooting