I am creating a program that needs to download additional code and resources from external server. (Of course that code is safe).
Is it illegal on Google Play?

These additional assemblies will not be tested by Google. Could be my account or program banned? Will Google think, that I want to harm my users, or I am creating a virus?

This program is created in Xamarin (C#) and I uses System.Reflection to load assemblies from downloaded DLL files.
Thanks for help!

1 Answer 1


The law itself wouldn't specify what origin of code can be retrieved and then executed.

The terms of service of Google would be what would restrict you from doing this or not, including what consequences you would have if Google discovered this.

I can say that as a developer, I have created assemblies in C#, sent them to a server and my application downloaded them and executed them. In my case the assemblies were compiled from script code that the user created themselves and so they knew this was happening.

There is no law that dictates that a particular block of code must go through a vetting process by Google prior to running.

A quick check of Google's terms of service say that they do not allow this kind of updates. Here is a quote:

An app distributed via Google Play may not modify, replace, or update itself using any method other than Google Play’s update mechanism. Likewise, an app may not download executable code (e.g. dex, JAR, .so files) from a source other than Google Play. This restriction does not apply to code that runs in a virtual machine and has limited access to Android APIs (such as JavaScript in a webview or browser).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .