Text this: Analytical solutions for Maxwell-scalar system on radially symmetric spacetimes