It's open source... We don't need legislation; you are free to do whatever you want, and open source provides those freedoms. You just want it to be the way you want it instead of it being the way that benefits the most people.
This "fight" will always be lost, because the other side is 99% of the population and they want to stop scammers more than they want to enable you to publish software to a personal tracking device anonymously...
99% of the population doesn't fall for scam apps outside the Play Store. They don't want to stop app scammers, because they don't have any issue with them. It's only a small minority which does, and which is supposed to justify the new restrictions in Android.