After my second child was born I did not have any time for developing any software. There were still some sponsors, but most of them canceled their sponsorships pretty quick (which was totally OK).
So I would say it depends on your projects, your luck and your consolistency how much you can earn, but i'm pretty sure your earnings will be nowhere near what you could earn by having a job or being a freelancer.
So if money is your primary motivation, I would pick freelancing/working for a company...