Fix for iPhone 8 front microphone
Turn off Noise cancellation
1. Open the Settings on your iPhone
2. Tap General -> Accessibility
3. Swipe down to the Hearing section to find the Phone Noise Cancellation toggle
4. Tap on the switch to the right to set it Off.
5. Restart your iPhone