Google Play比Apple更宽松一些,尤其是当它涉及更新应用程序时。
更新通过Google Play分发的应用程序是一个棘手的任务,但很重要的是要遵循Google的指南以保持合规性。根据Google Play的指南,应用程序不得修改、替换或更新自己,除非使用Google Play自己的更新机制。这意味着从Google Play以外的来源下载可执行code,例如dex、JAR或.so文件,不被允许。
然而,这一限制并不适用于在虚拟机或提供间接访问Android API的解释器中运行的code,例如在webview或浏览器中运行的JavaScript。因此,您可以使用解释语言,如JavaScript、Python、Lua等,来更新应用程序而不需要通过Google Play的审查过程。有一个工具可以帮助这个过程,即Capgo Capacitor插件。这一插件允许开发者更新HTML、CSS和JavaScriptcode并将更新发送到应用程序而不需要审查。
Additionally, apps or third-party code that utilize interpreted languages, such as JavaScript, Python, Lua, etc., which are loaded at runtime, must not allow potential violations of Google Play’s policies. It is important to note that this interpreted code should not packaged with the app.
通过遵循这些指南并使用Capgo Capacitor插件,您可以确保您的应用更新符合Google Play的政策,并且您的应用始终可供用户在平台上使用。请记住,始终建议您检查Google政策的最新版本,以确保您遵循它们。
有关如何安装Capgo以绕过审查的更多信息,请参阅我的下一篇文章。
继续阅读《Google 是否允许在商店审查外进行实时更新?》。
如果您正在使用 《Google 是否允许在商店审查外进行实时更新?》 来规划商店审批和分发,请将其与 @capgo/capacitor-in-app-review for the implementation detail in @capgo/capacitor-in-app-review, 使用@capgo/capacitor-in-app-review for the native capability in Using @capgo/capacitor-in-app-review, @capgo/capacitor-in-app-review中的原生能力。 为 @capgo/capacitor-native-market 的实现细节 使用 @capgo/capacitor-native-market 为 @capgo/capacitor-native-market 的原生能力 Capacitor OTA 更新:App Store 审核指南 为 Capacitor OTA 更新:App Store 审核指南 的实际背景