Filed on behalf of Amr Elsayed.
Problem
AI makes incorrect assumptions about API availability, suggesting non-existent functions and deprecated methods without verification.
From Amr
"The suggested code which is related to checking and acquiring microphone permissions uses a hook usePermissions which doesn't exist in expo-audio... The actual function is called requestRecordingPermissionsAsync"
Proposed Solution
- Mandate API verification before use
- Implement actual code inspection vs documentation
- Add Context7 or similar verification tools