Android Instant Apps documentation in the restricted functions section, which it cannot:
Run untrusted software, run arbitrary custom code, or load the code dynamically, except for the code provided by the Instant Apps runtime .
I do not fully understand the above statement, but it sounds to me as if it might not accept third-party software or any of its own libraries other than the libraries given in the SDK/NDK .
SDK/NDK
Can anyone help with the development?
This statement:
Prepare Your Application> Limited FeaturesRun untrusted software, run arbitrary custom code or boot code dynamically, except for the code provided by the Instant Apps runtime.
Prepare Your Application> Limited Features
Run untrusted software, run arbitrary custom code or boot code dynamically, except for the code provided by the Instant Apps runtime.
Refers to APKs, libraries, or code downloaded sideways, not packaged in the original apk.
unverified software
custom native code
dynamic boot code
You can use third-party libraries. For example, what you cannot do is download the binary from your server at runtime and run it.
An unofficial answer from a Google spokesperson was that with Instant Apps, unlike regular apps, there is no technical way to run downloaded code or dynamically load classes. For regular applications, the restriction is recorded in the Play Store Developer Policy and applies only to the Play Store through standard security monitoring procedures.