Android Instant Apps - Can not “Run unverified software, run arbitrary native code”. Only Instant Apps runtime

后端 未结 3 1385
野趣味
野趣味 2021-01-18 04:51

Android Instant Apps documentation states in the restricted features section that it can not:

Run unverified software, run ar

3条回答
  •  深忆病人
    2021-01-18 05:20

    This statement:

    Prepare your app > Restricted features

    Run unverified software, run arbitrary native code, or load code dynamically other than the code provided by the Instant Apps runtime.

    Refers to APKs, libraries, or code that is sideloaded, not packaged within the original apk.

    unverified software

    • In other words, only the signed apk and its contents are allowed.

    arbitrary native code

    • Everything must run from your apk or be provided by the framework.

    load code dynamically

    • Such as use of DexClassLoader to retrieve stuff that’s not already packaged with the apk.

提交回复
热议问题