Is turning on iphone LED for a long time bad for the device?

I live in a place far from town and its really dark around my house so I use my iphone LED flashlight using the app to walk my dog during the night time but when I retuen from the walk in about 20, 30min, the phone is always very hot. Will I ruin my phone if I use it like this often?

It's bad for any device. Leaving it on runs out the battery and usually the data runs slower. I have this problem when using my phone, too. It's better for the device if you turn it off for an hour or two during the night or leave it off when you go to sleep.It'll use less battery and lessen the chance of it heating up while you are using it. Also, it might be that you have had the app on for too long.sometimes mine does that when I use it for too long.

No it shouldn't ruin it phones sometimes last forever and some don't it just depends on the phone itself