If you take photos of the solar eclipse with your smartphone, be sure to do these things:
Turn off flash and autofocus
Reduce exposure
Attach a filter (certified eclipse glasses can be used to cover the lens.)
WARNING: If you don't use a filter, you might damage you phone's camera.
My advise is to not take photos of the eclipse with your phone. There will be plenty of professional photos and videos available.