代码推送反应本机未更改用户应用程序的库更新

code push react native not changed library updates on users App

当我在 package.json 上更改库(如 'react-native-image-crop-picker')版本并在用户应用程序中通过代码推送分发它时,版本未更改。 他们在应用程序中看到该库的旧版本。

我该怎么办?

代码推送仅适用于 JS 代码。它不允许推送本机二进制文件。在您的情况下,您必须更新商店中的应用程序包以更新您的本机依赖项。

The CodePush plugin helps get product improvements in front of your end users instantly, by keeping your JavaScript and images synchronized with updates you release to the CodePush server.

摘自 Code Push docs.