Chosen Solution
The last few weeks when using my iPhone and the angle of the phone movers slightly in my hand the screen goes black until the angle of the phone is moved again. Generally happens when the base of phone (where charging port and speakers are) are touching something and phone is tilted to the left or right slightly. The moment you tilt it back to the a specific spot/ angle the screen appears again as normal, still on snap app, site, video rtc
I had this on my old 6s, and a hard reset fixed it. Follow the guide below and hopefully it will help. Good luck! https://support.apple.com/en-us/HT201559
I am currently experiencing this issue on my iPhone X, however whenever i go to hard rest my iPhone X I encounter a boot loop