I understand that your iPhone 8 camera flash isn't working in cold weather, and I'm happy to provide some help.
I recommend reviewing the information provided for this in the following article:
Keeping iPhone, iPad, and iPod touch within acceptable operating temperatures - Apple Support
Thanks for using the Apple Support Communities. Cheers!