I'm fine with banning all apps from countries that require their app-makers to share data with the government. If that requires an international treaty to codify when a company must share data (e.g. only with a criminal warrant), then great, let's do that.
China would refuse to sign that treaty? Even better.