I can’t sell medical marihuana in most states of the US – and I don’t go and try, and then complain about getting arrested.
Instead, if I wanted to start a business doing that, I’d check out where it would be legal, and in which ways, and sell my product in those markets.
Why do you assume you can sell your product in markets without having checked the legality, and then complain when they ban your product because it violates the local law?
Hmmmm your example isn't exactly valid. If I was selling something on ebay out of EU, and you ordered something from me to US, I would almost definitely not get in trouble for sending it to you, unless it was an item which has export restrictions from my country. Or to go back to my example of Saudi Arabia - if someone from Saudi Arabia bought something from me I would definitely absolutely not bother to check if what I'm sending is legal in there. If it isn't, then customs will confiscate it and the person buying it will be in trouble, most likely.
My point was - is there any reason why I, as a developer, should not check "all countries" when publishing an app? If Saudi Arabia wants to ban my app later - let them, I literally don't care.
If you sell in another country you are subject to their laws, an obvious example is consumer protection laws. This is a fact. Whether or not you are going to follow any rulings made against you is another matter, in that case all the country can do is try to block you in whichever way they can (like Brazil just did) and possibly prosecute you in absentia.
But...I'm not selling anything in another country. I'm advertising online and someone who bought the item asked me to ship it to Saudi Arabia - sure, whatever. I don't have an office there or a business presence. How would they prosecute me? What for? Their citizen bought something from me and then had it delivered to their home in Saudi Arabia - if he's breaking the law, then it's on him. Now cut out the post from this equation - imagine he came over here, bought the item from me and brought it back with him - how would I be held responsible for what he is doing with the item and where he is taking it?
And yes, consumer protection laws absolutely still apply. The laws of my country - if my country says that I have to give him 2 years warranty - of course he gets 2 years warranty. If his country says a seller can be subject to 100 lashes for selling prohibited materials - they can go and try executing this, I wish them all best luck.
I can’t sell medical marihuana in most states of the US – and I don’t go and try, and then complain about getting arrested.
Instead, if I wanted to start a business doing that, I’d check out where it would be legal, and in which ways, and sell my product in those markets.
Why do you assume you can sell your product in markets without having checked the legality, and then complain when they ban your product because it violates the local law?