protected by the First Amendment, so too do app stores have a right to distribute protected software. Of course, it would be up to Apple and Google to challenge a purported distribution ban on their app store.
Read full article on Electronic Frontier Foundation